Skip to content

[RELEASE] fix(wallet): restore Tangle-branded connect-wallet design#3209

Merged
drewstone merged 1 commit into
developfrom
fix/restore-wallet-modal-tangle-design
May 14, 2026
Merged

[RELEASE] fix(wallet): restore Tangle-branded connect-wallet design#3209
drewstone merged 1 commit into
developfrom
fix/restore-wallet-modal-tangle-design

Conversation

@tangletools
Copy link
Copy Markdown
Contributor

Reverts the wallet UI redesign from #3161 (Apr 25, 2026 — "Redesign Tangle Cloud blueprint registration flow"). #3161 was scoped to the cloud blueprint flow but swept in three shared wallet components in libs/tangle-shared-ui that both tangle-cloud AND tangle-dapp consume, swapping our Tangle Modal/Button/Dropdown primitives for sandbox-ui's Dialog/Button/DropdownMenu. The sandbox-ui tokens are tuned for the sandboxed iframe blueprint apps; using them in the dashboard chrome produced a generic-looking modal inconsistent with the rest of the Tangle surface. This restores the pre-#3161 versions verbatim. Verified: typecheck, lint, build (cloud + dapp), Playwright modal smoke (zero pageerrors). If tangle-cloud wants its own sandbox-flavored modal later, the right move is per-app components, not redesigning the shared one.

Reverts the wallet UI redesign that landed in #3161 (April 25, 2026,
"Redesign Tangle Cloud blueprint registration flow"). That PR was
scoped to the cloud blueprint flow but swept in three shared wallet
components that both tangle-cloud AND tangle-dapp depend on:

- libs/tangle-shared-ui/.../EvmWalletModal/EvmWalletModal.tsx
- libs/tangle-shared-ui/.../ConnectWalletButton/ConnectWalletButton.tsx
- libs/tangle-shared-ui/.../ConnectWalletButton/WalletDropdown.tsx

The redesign replaced our Tangle `Modal`/`Button`/`Dropdown` primitives
from `@tangle-network/ui-components` with sandbox-ui's `Dialog`/`Button`/
`DropdownMenu` (shadcn-flavored). The sandbox-ui tokens
(`bg-muted/30`, `border-border`, `text-foreground`, etc.) belong inside
sandboxed iframe blueprint apps; pulling them into the dashboard
chrome produced a modal that looks generic and inconsistent with the
rest of the Tangle dashboard surface.

This commit restores the pre-#3161 versions verbatim:
- `Modal` / `ModalContent` / `ModalHeader` from ui-components
- `Typography` for the wallet name
- Tangle `mono-*` color scale on the wallet rows
- Native Button + Tangle `Dropdown` / `DropdownBody` for the connected
  account dropdown

Verified:
- yarn typecheck ✓
- yarn lint ✓
- yarn build:tangle-cloud + yarn build:tangle-dapp ✓
- Playwright opens the modal locally; "Connect Wallet" header +
  "Connect your EVM wallet" description + wallet rows render with zero
  pageerrors.

If we want a different look for tangle-cloud specifically later, the
right move is per-app modal components — not redesigning the shared
one to favour one app's design system.
@tangletools tangletools requested a review from AtelyPham as a code owner May 14, 2026 13:16
@drewstone drewstone merged commit 25b739d into develop May 14, 2026
8 checks passed
@drewstone drewstone deleted the fix/restore-wallet-modal-tangle-design branch May 14, 2026 13:18
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.

2 participants