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

feat(30706): show tooltip feedback when copying address #30708

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

Conversation

hsy822
Copy link
Contributor

@hsy822 hsy822 commented Mar 4, 2025

Description

This PR adds a tooltip feedback when copying the wallet address in the Account Details modal. Previously, clicking the "Copy address" button had no UI feedback, making it unclear whether the action was successful. Now, when the user clicks the button, a tooltip with "Address copied!" appears, improving UX.

Key Changes:

  • Added a Tooltip component to display feedback when copying the address
  • Ensured consistency with existing MetaMask UI design
  • Improved UX by providing immediate visual feedback

Open in GitHub Codespaces

Related issues

Fixes: #30706

Manual testing steps

  1. Open MetaMask Extension
  2. Navigate to Account Details
  3. Click the "Copy address" button
  4. Observe the tooltip feedback ("Address copied!") appearing
  5. Ensure the tooltip disappears after a short duration

Screenshots/Recordings

Before

before

After

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.

Copy link
Contributor

github-actions bot commented Mar 4, 2025

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.

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.

No UI feedback when clicking the "Copy Address" button
2 participants