Skip to content

chore: promote dev to main#166

Merged
sallymoc merged 25 commits into
mainfrom
dev
May 13, 2026
Merged

chore: promote dev to main#166
sallymoc merged 25 commits into
mainfrom
dev

Conversation

@sallymoc
Copy link
Copy Markdown
Contributor

Summary

Promotes the current dev branch to main. Highlights since the last release:

Features

Fixes

sallymoc and others added 25 commits May 1, 2026 15:26
chore: merge main into dev
fix: update reveal seed icon to match the web wallet
Resize dApp approval window from 360x600 to 420x720 so the
transaction details and password input fit without scrolling.
The toolbar popup stays at 360x600.

- Add popup dimension and query-param constants to config/constants.ts
- Branch viewport sizing in main.tsx on ?dapp=1
- Remove hardcoded 360x600 from popup.html so JS is the single source of truth
- Migrate drawer to the new query-param constants
fix: remove the new password from import vault flow
…ault APIs

- Add validatePassphraseStrength helper in src/lib/passphrase.ts with
  private MIN_PASSPHRASE_LENGTH constant; both required and min-length
  checks evaluate on the trimmed value.
- Migrate all 6 onboarding call sites (create-wallet, import-seed,
  import-vault) to the helper.
- Remove .trim() mutations before vault encrypt/decrypt APIs so the
  raw passphrase reaches openBrowserVault, validateVaultPassphrase,
  rotatePassphrase, getSeedForSigning, importAndUnlock, and the dApp
  signer in the background. .trim() is now used only for emptiness
  checks and ternary discriminators.
- Drop the redundant MIN_PASSPHRASE_LENGTH export from constants.ts.
fix(dapp): enlarge approval popup so password input fits
fix: resolve onboarding unlock flow and UI issues
Add a subtle white overlay tint and brighter border in dark mode to
the shared Input, InputGroup, Textarea, and SelectTrigger components
so form controls read as distinct interactive surfaces against the
dark card background. Light mode is unchanged.
Add autoFocus to forms with a single editable input so users can
start typing immediately without an extra click. Applies to: rename
account, passphrase prompt, dApp approval, export vault, sign
message, and verify message. Drawer-based forms use a shared
useDrawerAutoFocus hook (manual focus via ref + onOpenAutoFocus
override) because Vaul/Radix portal focus management overrides
React's declarative autoFocus attribute.
The import seed Textarea was marked aria-invalid the moment the page
loaded (because an empty seed is not valid), which rendered a red
error border before the user had a chance to type anything. Only
flag invalid once the user has entered at least one character.
Replace raw <Input type="password"> with the shared PasswordInput
component so users get the show/hide eye toggle in: Change password
(current/new/confirm), Export vault, and the manage-accounts
passphrase prompt. Brings these flows in line with Unlock,
Onboarding, Import seed, Import vault, and dApp approval.

Closes #160
fix(ui): improve form input visibility and focus behavior
…-toggle

# Conflicts:
#	src/components/pages/manage-accounts/passphrase-prompt-drawer.tsx
#	src/pages/settings.tsx
@sallymoc sallymoc changed the title release: promote dev to main chore: promote dev to main May 13, 2026
@sallymoc sallymoc merged commit 01c51bf into main May 13, 2026
9 of 10 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants