MetaMask / MetaMask/metamask-extension

Add copy button on "Export private key" modal

Open
#14,342 0 comments 0 reactions 0 assignees View on GitHub
needs-design type-enhancement ux-enhancement ux-papercuts
Dominant language
TypeScript
Stars
13.2k
Forks
5.6k
Avg merge
2d 5h
Merged PRs (30d)
451

Description

We should add a "copy" button next to the private key on the "Export private key" modal. Currently the key can be copied by clicking on the private key, but this deviates from the pattern we use elsewhere in the extension and is not keyboard accessible.

We should also consider placing a copy button alongside the account address. I am unsure whether that is necessary here though.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Export private key modal and the existing copy-button pattern elsewhere in the extension. Add a keyboard-accessible copy button beside the private key, then verify whether the account address also needs one based on the surrounding UI pattern.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.