-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: adds the new default settings view to onboarding #24562
feat: adds the new default settings view to onboarding #24562
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Builds ready [a81133f]
Page Load Metrics (1002 ± 551 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [cf34cc7]
Page Load Metrics (803 ± 539 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
5150eeb
to
5ea6c3e
Compare
5ea6c3e
to
2e3bdcd
Compare
Quality Gate passedIssues Measures |
Builds ready [2e3bdcd]
Page Load Metrics (1904 ± 109 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left some comments but they are non-blocking
expect(onboardingPinExtensionMetricsEvent?.[0]).toBe( | ||
'trackMetaMetricsEvent', | ||
); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
await waitFor(() => {
const [requestType] = mockedBackgroundConnection.submitRequestToBackground.mock.calls.find(
([callType]) => callType === 'trackMetaMetricsEvent'
) || [];
expect(requestType).toBe('trackMetaMetricsEvent');
});
Maybe this would be a bit cleaner, what do you think?
setShowDetail(false); | ||
setTimeout(() => { | ||
setHiddenClass(true); | ||
}, 500); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it'd be good to move this 500
value to the top and share it between the handleItemSelected and the handleBack
/> | ||
</> | ||
) : null} | ||
{selectedItem && selectedItem.id === 2 ? ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it'd be good to split this return clause into smaller components for readability and maintanability.
bug.mp4Found this odd behaviour, please check out. "You're now using Linea Mainnet 2" toast is shown and automatically closed |
fixes: MetaMask/MetaMask-planning#2080
--
Description
Introduces the new Default Settings view and Congratulations views depending on the fact if user imported a wallet or created a new one.
User imported a wallet:
User created a new wallet and backed up the seed phrase:
User created a new wallet and didn’t back up the seed phrase:
Inside look on the Default Settings:
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist