-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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: MMS-1872 destination account picker for sol-evm (standalone component and story) #30282
feat: MMS-1872 destination account picker for sol-evm (standalone component and story) #30282
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 [c10abf4]
Page Load Metrics (1698 ± 53 ms)
Bundle size diffs
|
Builds ready [d0e7d70]
Page Load Metrics (1836 ± 84 ms)
Bundle size diffs
|
</Text> | ||
<Box display={Display.Flex} gap={2}> | ||
{/* // TODO: not working - troubleshoot. */} | ||
{/* {chainAvatars.length > 0 && ( |
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.
Would getImageForChainId
work here? Just merged my PR for adding support for multichain images
ui/pages/bridge/prepare/components/destination-selected-account-list-item.tsx
Outdated
Show resolved
Hide resolved
|
||
type DestinationAccountPickerProps = { | ||
onAccountSelect: (account: InternalAccount | null) => void; | ||
selectedSwapToAccount: InternalAccount | null; |
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.
Minor: use a more generic prop name for flexibility
Builds ready [4397845]
Page Load Metrics (1611 ± 43 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [41e6c24]
Page Load Metrics (1775 ± 106 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
38c290d
to
41e6c24
Compare
Builds ready [41e6c24]
Page Load Metrics (1775 ± 106 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [4c86d20]
Page Load Metrics (1778 ± 73 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [d02fc73]
Page Load Metrics (1895 ± 75 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Builds ready [38fab12]
Page Load Metrics (1577 ± 54 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
? account.type === 'solana:data-account' | ||
: account.type !== 'solana:data-account'; |
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.
Is there some constant we can use instead?
Builds ready [366986a]
Page Load Metrics (1830 ± 133 ms)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
Description
new account picker component and child components for solana crosschain swaps
integration blocked by dependencies, separate integration PR will come in the future, probably next week, to add it to the prepare-bridge page.
Related issues
Fixes:
https://consensyssoftware.atlassian.net/browse/MMS-1872
Manual testing steps
Not relevant. Only on storybook for now. Component is not rendered anywhere in the app.
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist