Skip to content

feat(wallets): refresh the add wallet sheet - #2935

Merged
CassioMG merged 7 commits into
masterfrom
feature/home-refresh-add-wallet
Aug 7, 2026
Merged

feat(wallets): refresh the add wallet sheet#2935
CassioMG merged 7 commits into
masterfrom
feature/home-refresh-add-wallet

Conversation

@CassioMG

@CassioMG CassioMG commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Part of the Home refresh project.

What changed

The Add wallet sheet, per Figma frame 9585-24653:

  • All three icons are now purple, replacing today's lime / pink / blue per-row colours.
  • Copy: "Create a new wallet" / "Create a wallet on your seed phrase", "Import a Stellar secret key" / "Add a wallet using a secret key", "Connect a hardware wallet" / "Add a wallet from a hardware wallet".
  • Header reads "Add wallet" with an X close (was "Add another wallet" with a back arrow). The X closes the overlay rather than navigating, since this is an in-place sheet, not a route.
  • General sizes, paddings and margins tweaked to match Figma design.
  • The full card is now clickable including the padding around content which was not clickable before.
Screenshot 2026-08-06 at 15 54 20

Verification

  • yarn test:ci — 196/202 suites, 1520/1571 tests, identical to baseline across 3 runs
  • yarn build:extension — clean
  • yarn test:e2e allowList.test.ts and loadAccount.test.ts — both pass, matching baseline

🤖 Generated with Claude Code

Restyle AddWallet to match frame 9585-24653: the icon badge moves above
the title, all three icons resolve to one purple treatment via SDS
tokens (--sds-clr-lilac-03/06/11), and the header becomes "Add wallet"
with an X close instead of a back arrow. Card copy follows the frame's
wording. The hardware-wallet card is not in the Figma frame -- built
from the same template per the owner's instruction, keeping the
existing shield glyph recoloured purple, since it is the only entry
point Ledger users have.

Each card is now a single Link instead of a div wrapping an inner
anchor, so the whole card (including its padding) is clickable and the
undefined .AddWallet__row-link class is no longer rendered.

Hand-added the new/changed copy keys to the en and pt locale files
since yarn build:extension:translations is broken on master
(pre-existing, unrelated to this change).

Updated the two e2e tests that click through this sheet by literal
copy ("Create new wallet") to match the new wording ("Create a new
wallet"): allowList.test.ts and loadAccount.test.ts.

Routes (ROUTES.addAccount / importAccount / connectWallet) and
analytics (none emitted) are unchanged.
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

PR Preview build is ready: https://github.com/stellar/freighter/releases/tag/untagged-854c93a5b9be99a4cb18 (SDF collaborators only — install instructions in the release description)

CassioMG and others added 2 commits August 6, 2026 16:46
Use lilac-09 (Brand/Foreground/Primary) for the glyph instead of
lilac-11, and size the svg to 16px to match the icon instance in
the 24px circle.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@CassioMG
CassioMG marked this pull request as ready for review August 6, 2026 22:57
Copilot AI balanced review requested due to automatic review settings August 6, 2026 22:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refreshes the Add Wallet sheet to match the updated home design.

Changes:

  • Updates wallet actions, icons, copy, and close control.
  • Makes entire wallet cards clickable and refreshes styling.
  • Updates translations and affected E2E selectors.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
extension/src/popup/locales/pt/translation.json Adds Portuguese copy.
extension/src/popup/locales/en/translation.json Adds English copy.
extension/src/popup/components/account/AddWallet/styles.scss Refreshes card styling.
extension/src/popup/components/account/AddWallet/index.tsx Updates actions and sheet header.
extension/e2e-tests/loadAccount.test.ts Updates action selector.
extension/e2e-tests/allowList.test.ts Updates action selector.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread extension/src/popup/components/account/AddWallet/index.tsx
@CassioMG

CassioMG commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

Code review

No issues found. Checked for bugs and CLAUDE.md compliance.

🤖 Generated with Claude Code

@CassioMG CassioMG self-assigned this Aug 6, 2026
@CassioMG
CassioMG requested a review from piyalbasu August 6, 2026 23:40
"Create a Password": "Create a Password",
"Create a wallet": "Create a wallet",
"Create a wallet from your seed phrase.": "Create a wallet from your seed phrase.",
"Create a wallet on your seed phrase": "Create a wallet on your seed phrase",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is so NIT: should this line be Create a wallet from your seed phrase? On your seed phrase sounds slightly awkward to me and it looks like we use the line Create a wallet from your seed phrase. elsewhere in the app

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@piyalbasu good point on the NIT. I copied it from mobile and also from Figma, but it I agree it does sound a little weird. I'll adjust to use "from your seed phrase" in both platforms for consistency 👍

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also updated on Figma

CassioMG and others added 3 commits August 7, 2026 11:08
Reword "Create a wallet on your seed phrase" to "from your seed
phrase", and drop the unused trailing-period variant of the string
that no longer had any callers.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Matches the term already used by every other recovery phrase string
in the pt locale; "frase seed" is now unused.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@CassioMG
CassioMG merged commit ad315fd into master Aug 7, 2026
10 of 11 checks passed
@CassioMG
CassioMG deleted the feature/home-refresh-add-wallet branch August 7, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants