-
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
fix: Issue 20485 #25518
fix: Issue 20485 #25518
Conversation
Signed-off-by: Ethan Wessel <[email protected]>
Signed-off-by: Ethan Wessel <[email protected]>
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. |
Signed-off-by: Ethan Wessel <[email protected]>
Signed-off-by: Ethan Wessel <[email protected]>
Signed-off-by: Ethan Wessel <[email protected]>
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.
Looking great! We may want to add before/after screenshots to ensure no visual regressions. Made one suggestion that should fix the failing e2e tests
Co-authored-by: George Marshall <[email protected]>
Signed-off-by: Ethan Wessel <[email protected]>
label={currentNetwork?.nickname} | ||
labelProps={{ 'data-testid': 'network-display' }} | ||
src={currentNetwork?.rpcPrefs?.imageUrl} | ||
iconProps={{ display: 'none' }} // do not show the dropdown icon |
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.
Thoughts on making the icon smaller? It seems to be too close to the container's borders
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.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #25518 +/- ##
===========================================
- Coverage 69.70% 69.67% -0.03%
===========================================
Files 1349 1349
Lines 47864 47850 -14
Branches 13205 13195 -10
===========================================
- Hits 33359 33337 -22
- Misses 14505 14513 +8 ☔ View full report in Codecov by Sentry. |
Builds ready [0b1c367]
Page Load Metrics (128 ± 168 ms)
Bundle size diffs [🚀 Bundle size reduced!]
|
labelProps={{ 'data-testid': 'network-display' }} | ||
src={currentNetwork?.rpcPrefs?.imageUrl} | ||
iconProps={{ display: 'none' }} // do not show the dropdown icon | ||
avatarNetworkProps={{ size: AvatarNetworkSize.Xs }} |
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.
non-blocking: not sure why this is required it's this size by default 🤔
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.
LGTM! 🚀
- Checked NetworkDisplay in send flow ✅
- Checked NetworkDisplay in storybook ✅
Description
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist