Skip to content

fix: update token selector font sizing cp-7.69.0#27327

Merged
bfullam merged 1 commit into
mainfrom
swaps-fix-token-selector-fonts
Mar 11, 2026
Merged

fix: update token selector font sizing cp-7.69.0#27327
bfullam merged 1 commit into
mainfrom
swaps-fix-token-selector-fonts

Conversation

@bfullam

@bfullam bfullam commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

Description

This PR fixes the font sizing that was broken due to a design team update.

Changelog

CHANGELOG entry: Fix bug where token selector fonts were too big

Related issues

Fixes: #27328

Manual testing steps

Feature: my feature name

  Scenario: user [verb for user action]
    Given [describe expected initial app state]

    When user [verb for user action]
    Then [describe expected outcome]

Screenshots/Recordings

Before

After

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.

Note

Low Risk
Low risk visual-only changes to BridgeTokenSelector/TokenSelectorItem typography and icon sizing with no logic, data, or flow changes.

Overview
Updates the Bridge token selector UI to align with new sizing guidelines by reducing the info ButtonIcon from Md to Sm and dialing down token list text variants (e.g., balances and names from BodyMD to BodySM, and symbol/balance weights from BodyMDMedium to BodyMD).

Written by Cursor Bugbot for commit 684ccd6. This will update automatically on new commits. Configure here.

@bfullam bfullam requested a review from a team as a code owner March 11, 2026 09:03
@github-actions

Copy link
Copy Markdown
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-swaps-and-bridge Swaps and Bridge team label Mar 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Smart E2E Test Selection

  • Selected E2E tags: SmokeTrade, SmokeConfirmations
  • Selected Performance tags: @PerformanceSwaps
  • Risk Level: medium
  • AI Confidence: 85%
click to see 🤖 AI reasoning details

E2E Test Selection:
The changes are limited to Bridge UI components (BridgeTokenSelector and TokenSelectorItem), which are directly involved in the cross-chain bridge flow. Bridging is covered under SmokeTrade (cross-chain bridging between networks). Since bridge flows require on-chain transaction confirmations, SmokeConfirmations must also be selected as explicitly required when selecting SmokeTrade for swap/bridge flows. No evidence suggests impact to unrelated areas such as accounts, identity sync, network permissions, snaps, card, perps, or predictions. Therefore, test selection is scoped to Trade and Confirmations only.

Performance Test Selection:
Bridge token selection affects the swap/bridge flow token list rendering and user interaction during quote selection. UI changes in token selector components can impact rendering performance and interaction latency in swap/bridge flows. Running @PerformanceSwaps ensures no regression in quote fetching, token selection responsiveness, or swap execution timing. No broader asset loading or launch-level changes were introduced.

View GitHub Actions results

@github-actions

Copy link
Copy Markdown
Contributor

E2E Fixture Validation — Schema is up to date
11 value mismatches detected (expected — fixture represents an existing user).
View details

@bfullam bfullam enabled auto-merge March 11, 2026 09:25
@sonarqubecloud

Copy link
Copy Markdown

@bfullam bfullam added this pull request to the merge queue Mar 11, 2026
Merged via the queue into main with commit 6f10e3c Mar 11, 2026
113 checks passed
@bfullam bfullam deleted the swaps-fix-token-selector-fonts branch March 11, 2026 09:51
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 11, 2026
@metamaskbot metamaskbot added the release-7.70.0 Issue or pull request that will be included in release 7.70.0 label Mar 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-7.70.0 Issue or pull request that will be included in release 7.70.0 size-XS team-swaps-and-bridge Swaps and Bridge team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: token selector fonts are too big

3 participants