Skip to content

feat: add MultichainAddressRow component#17328

Merged
PatrykLucka merged 2 commits into
mainfrom
MUL-401-mobile-develop-address-row-cell
Jul 22, 2025
Merged

feat: add MultichainAddressRow component#17328
PatrykLucka merged 2 commits into
mainfrom
MUL-401-mobile-develop-address-row-cell

Conversation

@PatrykLucka

Copy link
Copy Markdown
Contributor

Description

This PR introduces a new MultichainAddressRow component for displaying network information and addresses in MetaMask's multichain interface. The component provides a clean, consistent way to show network icons, names, truncated addresses, and action buttons (copy and QR code) across the application.

What is the reason for the change?
As part of the multichain accounts feature development, we need a reusable component to display network-address pairs in a standardized format throughout the UI.

What is the improvement/solution?
The new MultichainAddressRow component:

  • Displays network icon using AvatarNetwork component
  • Shows network name and truncated address in a two-line layout
  • Provides copy-to-clipboard functionality with visual feedback
  • Includes QR code button for address sharing
  • Integrates with the existing MultichainNetwork type system

Out of scope

  • QR code button click implementation

Changelog

CHANGELOG entry: Added MultichainAddressRow component for displaying network information and addresses in multichain interface

Related issues

Fixes:
Jira ticket: https://consensyssoftware.atlassian.net/browse/MUL-401

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Screenshot 2025-07-17 at 15 43 56 Screenshot 2025-07-17 at 15 44 04

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.

@PatrykLucka PatrykLucka self-assigned this Jul 17, 2025
@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-accounts-framework Accounts team label Jul 17, 2025
@PatrykLucka PatrykLucka added No QA Needed Apply this label when your PR does not need any QA effort. No E2E Smoke Needed team-accounts-framework Accounts team and removed team-accounts-framework Accounts team labels Jul 17, 2025
@PatrykLucka PatrykLucka marked this pull request as ready for review July 17, 2025 14:16
@PatrykLucka PatrykLucka requested a review from a team as a code owner July 17, 2025 14:16
@PatrykLucka PatrykLucka enabled auto-merge July 17, 2025 16:24
Comment thread .storybook/storybook.requires.js
montelaidev
montelaidev previously approved these changes Jul 21, 2025
@sonarqubecloud

Copy link
Copy Markdown

@PatrykLucka PatrykLucka added this pull request to the merge queue Jul 22, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 22, 2025
@PatrykLucka PatrykLucka added this pull request to the merge queue Jul 22, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jul 22, 2025
@PatrykLucka PatrykLucka added this pull request to the merge queue Jul 22, 2025
Merged via the queue into main with commit 058c052 Jul 22, 2025
44 checks passed
@PatrykLucka PatrykLucka deleted the MUL-401-mobile-develop-address-row-cell branch July 22, 2025 15:02
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 22, 2025
@metamaskbot metamaskbot added the release-7.53.0 Issue or pull request that will be included in release 7.53.0 label Jul 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

No QA Needed Apply this label when your PR does not need any QA effort. release-7.53.0 Issue or pull request that will be included in release 7.53.0 team-accounts-framework Accounts team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants