Skip to content
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

chore: xchain tx details use short names #29413

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

infiniteflower
Copy link
Contributor

@infiniteflower infiniteflower commented Dec 20, 2024

Description

Open in GitHub Codespaces

This PR uses short names for networks to improve spacing.

Related issues

Fixes:

Manual testing steps

  1. Do a bridge tx
  2. Click on bridge tx in Activity
  3. Observe shorter names

Screenshots/Recordings

Before

Screenshot 2024-12-20 at 5 19 46 PM

Screenshot 2024-12-20 at 5 19 54 PM

After

Screenshot 2024-12-20 at 5 20 13 PM
Screenshot 2024-12-20 at 5 20 20 PM

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Copy link
Contributor

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.

@infiniteflower infiniteflower changed the title Mb1833 xchain tx details short names chore: xchain tx details use short names Dec 20, 2024
@infiniteflower infiniteflower marked this pull request as ready for review December 20, 2024 22:23
@infiniteflower infiniteflower requested a review from a team as a code owner December 20, 2024 22:23
@metamaskbot
Copy link
Collaborator

Builds ready [84d0af0]
Page Load Metrics (1684 ± 58 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint15631968168311153
domContentLoaded15111945165511555
load15602014168412058
domInteractive26175483517
backgroundConnect96425168
firstReactRender1776472311
getState561202010
initialActions01000
loadScripts11111491123810149
setupStore6491194
uiStartup17412243190013464
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 560 Bytes (0.01%)
  • common: 0 Bytes (0.00%)

ghgoodreau
ghgoodreau previously approved these changes Jan 7, 2025
<Text variant={TextVariant.bodyMd}>{title}</Text>
</Box>
<Box
display={Display.Flex}
width={BlockSize.ThreeFourths}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there going to be a follow-up to handle extra long network names? Some values don't overflow gracefully even when using the shortened network names
Screenshot 2025-01-06 at 5 01 06 PM

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot 2025-01-07 at 3 39 14 PM

how's this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that it still looks the same for the OP to Arb as before

@metamaskbot
Copy link
Collaborator

Builds ready [b6f5de7]
Page Load Metrics (1465 ± 39 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1295168914718742
domContentLoaded1255164214478038
load1305169214658239
domInteractive216433157
backgroundConnect75224168
firstReactRender1592332713
getState44710126
initialActions01000
loadScripts881127210817737
setupStore68413199
uiStartup14562044172916177

ghgoodreau
ghgoodreau previously approved these changes Jan 7, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [f5c879f]
Page Load Metrics (1677 ± 54 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint15171965169312058
domContentLoaded15001844165210148
load15091915167711354
domInteractive25180433517
backgroundConnect989312311
firstReactRender1699582914
getState578202211
initialActions01000
loadScripts1069141512259244
setupStore681172311
uiStartup16952457203820498

ghgoodreau
ghgoodreau previously approved these changes Jan 8, 2025
micaelae
micaelae previously approved these changes Jan 9, 2025
@infiniteflower infiniteflower dismissed stale reviews from micaelae and ghgoodreau via 9488886 January 9, 2025 19:54
@metamaskbot
Copy link
Collaborator

Builds ready [9488886]
Page Load Metrics (1889 ± 108 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint42226211804384184
domContentLoaded158026031853231111
load163026261889225108
domInteractive18116522914
backgroundConnect11147433316
firstReactRender17120553216
getState691232311
initialActions01000
loadScripts11531653134813062
setupStore784192211
uiStartup185029272251299143

@metamaskbot
Copy link
Collaborator

Builds ready [9488886]
Page Load Metrics (1889 ± 108 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint42226211804384184
domContentLoaded158026031853231111
load163026261889225108
domInteractive18116522914
backgroundConnect11147433316
firstReactRender17120553216
getState691232311
initialActions01000
loadScripts11531653134813062
setupStore784192211
uiStartup185029272251299143

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants