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

style: update the focus outline in the menu item component #29753

Merged
merged 5 commits into from
Jan 30, 2025

Conversation

matteoscurati
Copy link
Contributor

@matteoscurati matteoscurati commented Jan 16, 2025

Description

This PR updates the outline style when the user navigates menu items using the TAB key. This ensures the user can clearly identify which item is currently focused.

Open in GitHub Codespaces

Related issues

#26728

Manual testing steps

  1. Open the menu
  2. Navigate through the items using the TAB key
  3. Verify that the outline is displayed correctly on the focused item

Screenshots/Recordings

Before

After

https://www.loom.com/share/25a3748a1a8b49e6b3cf617ccf791240?sid=cbe7a8d6-46d9-431a-a0dd-682c6cf209a2

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.

@matteoscurati matteoscurati self-assigned this Jan 16, 2025
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.

@metamaskbot metamaskbot added the team-notifications Notifications team label Jan 16, 2025
@metamaskbot
Copy link
Collaborator

Builds ready [7fdc4f0]
Page Load Metrics (1715 ± 67 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint28519841566422203
domContentLoaded14572035169014369
load15122046171514067
domInteractive26141563215
backgroundConnect585282211
firstReactRender16101533115
getState495142110
initialActions01000
loadScripts10401591125512962
setupStore676172210
uiStartup167624872058239115
Bundle size diffs [🚀 Bundle size reduced!]
  • background: -3 Bytes (-0.00%)
  • ui: -1 Bytes (-0.00%)
  • common: -1 Bytes (-0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [9dea288]
Page Load Metrics (1804 ± 160 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint143429251804314151
domContentLoaded142828081762298143
load143230101804333160
domInteractive267738168
backgroundConnect6200434522
firstReactRender1693493014
getState45516126
initialActions01000
loadScripts10201646127615173
setupStore67216199
uiStartup169435292154396190
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [ef08de1]
Page Load Metrics (1961 ± 253 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint45323221612478230
domContentLoaded142236621925527253
load147037031961526253
domInteractive24170644321
backgroundConnect9125403316
firstReactRender16127392814
getState55716147
initialActions01000
loadScripts100026711428427205
setupStore683242411
uiStartup175643822270613294
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@metamaskbot
Copy link
Collaborator

Builds ready [cb9d34e]
Page Load Metrics (1664 ± 62 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint14781962166412560
domContentLoaded14711944163512058
load14771967166413062
domInteractive237835178
backgroundConnect992332211
firstReactRender15106332613
getState45216168
initialActions01000
loadScripts10211445119110953
setupStore78316199
uiStartup16552485191020197
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@matteoscurati matteoscurati marked this pull request as ready for review January 27, 2025 15:42
@metamaskbot
Copy link
Collaborator

Builds ready [4cd9527]
Page Load Metrics (1725 ± 97 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint14042160172820096
domContentLoaded13962153170919895
load14042158172520297
domInteractive24105432411
backgroundConnect96619168
firstReactRender16105602713
getState46712157
initialActions01000
loadScripts9811514123716378
setupStore87117189
uiStartup159727692037291140
Bundle size diffs
  • background: 0 Bytes (0.00%)
  • ui: 0 Bytes (0.00%)
  • common: 0 Bytes (0.00%)

@darkwing darkwing added this pull request to the merge queue Jan 29, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 29, 2025
@matteoscurati matteoscurati added this pull request to the merge queue Jan 29, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 29, 2025
@matteoscurati matteoscurati added this pull request to the merge queue Jan 30, 2025
Merged via the queue into main with commit e6eec06 Jan 30, 2025
70 checks passed
@matteoscurati matteoscurati deleted the fix/update-focus-outline-menu-item branch January 30, 2025 14:27
@github-actions github-actions bot locked and limited conversation to collaborators Jan 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
team-notifications Notifications team
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants