Skip to content

fix: recipient list display in send flow cp-7.68.0#26771

Merged
jpuri merged 2 commits into
mainfrom
send_recipient_fix
Mar 2, 2026
Merged

fix: recipient list display in send flow cp-7.68.0#26771
jpuri merged 2 commits into
mainfrom
send_recipient_fix

Conversation

@jpuri

@jpuri jpuri commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

Description

Fix recipient list display in send flow.

Changelog

CHANGELOG entry:

Related issues

Fixes: #26684

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

Screenshot 2026-03-02 at 5 04 59 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.

Note

Low Risk
Low risk UI-only change that swaps the row wrapper component and tweaks padding/accessibility; main risk is minor touch/spacing regressions in the recipient list.

Overview
Fixes the recipient list row rendering in the send/confirmation flow by replacing the design-system ButtonBase wrapper with React Native Pressable.

Updates the row styling to include horizontal padding (px-4) and explicitly sets accessibilityRole="button" while preserving the existing pressed/selected background behavior.

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

@jpuri jpuri requested a review from a team as a code owner March 2, 2026 12:11
@jpuri jpuri added team-confirmations Push issues to confirmations team no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed labels Mar 2, 2026
@github-actions

github-actions Bot commented Mar 2, 2026

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.

@github-actions

github-actions Bot commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

🔍 Smart E2E Test Selection

  • Selected E2E tags: SmokeConfirmations
  • Selected Performance tags: None (no tests recommended)
  • Risk Level: medium
  • AI Confidence: 85%
click to see 🤖 AI reasoning details

E2E Test Selection:
The change modifies the Recipient component in the confirmations UI, replacing ButtonBase from the design system with React Native's native Pressable component. This component is used in the send flow for displaying and selecting recipients in the recipient list.

Key changes:

  1. Replaced ButtonBase with Pressable from react-native
  2. Added px-4 padding to the style
  3. Added accessibilityRole="button" for accessibility

The component is used in:

  • recipient-list.tsx - for displaying recipient lists in send flow
  • send/recipient/recipient.tsx - for the send recipient screen

The send flow tests (e.g., send-native-token.spec.ts, send-erc20-token.spec.ts) are tagged with SmokeConfirmations and test the complete send flow including recipient selection. While the E2E tests primarily interact with the recipient address input field rather than the recipient list items directly, the visual and interaction behavior of the recipient selection could be affected by this change.

This is a medium-risk change because:

  • It's a UI component swap that could affect visual appearance and interaction behavior
  • The testIDs are preserved, so existing tests should still work
  • The styling change is minor (added padding)
  • The functionality should remain the same

SmokeConfirmations is the appropriate tag as it covers send flows and transaction confirmations.

Performance Test Selection:
This change is a simple UI component swap (ButtonBase to Pressable) with minor styling adjustments. It does not affect rendering performance, data loading, state management, or any critical performance paths. The change is localized to a single component and does not impact list rendering, app startup, or any performance-sensitive flows.

View GitHub Actions results

@jpuri jpuri enabled auto-merge March 2, 2026 12:17
@jpuri jpuri changed the title fix: recipient list display in send flow fix: recipient list display in send flow cp-7.68.0 Mar 2, 2026
@jpuri jpuri added this pull request to the merge queue Mar 2, 2026
Merged via the queue into main with commit c859ce0 Mar 2, 2026
96 checks passed
@jpuri jpuri deleted the send_recipient_fix branch March 2, 2026 14:14
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 2, 2026
@metamaskbot metamaskbot added the release-7.69.0 Issue or pull request that will be included in release 7.69.0 label Mar 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

no-changelog no-changelog Indicates no external facing user changes, therefore no changelog documentation needed release-7.69.0 Issue or pull request that will be included in release 7.69.0 size-XS team-confirmations Push issues to confirmations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Send Recipient page broken

3 participants