What this changes
Adds Move to another app to the Share screen: a Show QR code button that opens an overlay with the account's otpauth:// QR, so the account can be scanned into Google Authenticator, Aegis or any other authenticator. The existing link form stays and now sits under a Temporary access by link heading; the screen's title becomes Share (it no longer shares only codes). Closes #4.
src/components/QrOverlay.tsx — a dialog over the current screen that shows one or more QR "frames" (black on white in both themes, Escape closes only the overlay, focus starts on Done and returns to the opener). Written for more than one frame because a follow-up PR uses it for a Google Authenticator export.
src/utils/transfer.ts — nonStandardParams(account): period, digits and algorithm that differ from 30 / 6 / SHA1, read the way generation and buildOTPAuthURL read them, so the warning describes exactly what the QR carries.
ShareModal.tsx — the new section; the otpauth URL is built on click and held only while the overlay is open.
- To keep the screen within the popup's 600px without a scrollbar, the intro line (it repeated the heading and the duration chips) is gone and the password hint is one sentence.
- 12 new strings in all 20 locales,
share.intro removed; README feature bullet.
Why
A site shows its QR once. Without this, an account scanned into the extension cannot be added to a second device later — Share's link carries codes for at most an hour, which is a different job. The secret is already visible in Edit, so this adds a convenience, not an exposure.
Checks
-
npm run verify passes (typecheck, tests, live dependency probe)
- No new permission in
manifest.json
- No new outbound endpoint
- No telemetry or analytics of any kind (no new
track() events)
- Nothing here can lose a user's accounts: no storage, vault or backup path is touched
Tests: test/transfer.test.ts (non-standard settings, incl. records missing fields), e2e/share.spec.ts (the QR opens, Escape closes only it; a 60 s / 8-digit / SHA256 account gets the warning naming exactly those). Scanned on a phone with Google Authenticator — codes match.
Translations other than en/ru are mine and would benefit from a native read.
🤖 Generated with Claude Code