Repository navigation
Conversation
…ing states, and component latency Model: gemini-4-neon-medium
…paces from usePlatform Model: gemini-4-neon-medium
…e creation Model: gemini-4-neon-medium
…g-qr Model: gemini-4-neon-medium
…ias imports Model: gemini-4-neon-medium
…ntPairing and mailbox updates Model: gemini-4-neon-medium
- Recovery reminder on the encrypted chat landing becomes a card in the no-machine hint's language: shield art, title + one line, pill action and a corner close. - Mobile console menu: header says "Encrypted workspace"; the workspace name moves to an identity row; Open workspace moves below the settings list. - Creation choice drops the "Who can see the content" heading (kept as the radiogroup's accessible name). - Recovery method rows show short verbs (Set up / Create) with the full name as aria-label and in overflow menus; titles wrap instead of truncating. - Restore progress is a titled card with one row per workspace: status mark, short label, and a next step for partial / waiting / not-backed-up rows. - Member join: "Signed in as" becomes a quiet footnote under the actions (emphasised on the wrong-account page); waiting states get a badge-and-clock art. - Automatic pairing: device-pair art on the awaiting-device card and the approval guide; key sync is a centred view with the key travelling between devices (static under reduced motion). - New e2ee/e2ee-illustrations.tsx with token-filled, theme-following SVGs and a Storybook board. Model: claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Both sides appended keys at the end of all 8 locale files; kept both sets. Main lowered the components comment baseline, so the branch condenses five added prose comments to stay at or under it. Model: claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Round 3 · Track 3A — First-time E2EE user guidance, error matrix cleanup, black-box loading state elimination, and component-layer latency reductions (strictly scoped to
packages/components/,locales/*.json, andpackages/e2ee-client/src/passkey-browser.ts).1. First-Time Guidance & Error Matrix Cleanup
E2eeRecoveryNoticeinchat-landing.tsx(composerNoticeNodeslot) jumping to/workspace/e2ee/$workspaceId?tab=recovery, plus a subtle "Not set" indicator on the narrow-screen Recovery menu row ine2ee-workspace-control-page.tsx.e2ee.browserUnlock.*across all 8 locales; converged the secondaryE2eeLostAccessEntryon!canStartwhenopenBrowserRecoveryis present to eliminate competing recovery buttons; updatedE2eeLostAccessEntrydefault copy whenprops.recoveryis present..vaultfile inrecovery-vault-section.tsx(mode === "none"), tightenedcreatedcopy whenunfinished.length > 0, expandede2ee.create.lossWarningto plain language, and reassured applicants ine2ee.team.waitingApprovalthat closing the page is safe.SecurityErrorinisLocalStorageFailureand distinguished Web browser storage guidance (*storageWeb).e2eeCreationErrorCode+i18n.exists+isLocalStorageFailureincreate.tsxandmobile-create-workspace-sheet.tsx(never leaking rawe2ee_*codes).AbortErrorandNotAllowedErrortoE2eePasskeyCancelledinpasskey-browser.ts.e2ee.recovery.failedneutral, correctede2ee.recovery.restorePartialfacts, and unified Chinese locales toPasskey.deniedvsunavailableinuseQrCameraand all callers.unauthorized/conflictoverretryOriginaline2ee-team-settings.tsxapproval errors.alreadyMemberdirect open-workspace action and separatedinviteExpiredvspinMismatchine2ee-member-join.tsx.workspace-admission-gate.tsx: encrypted access verification copy + 6s fade-in ghost "Back to workspaces".e2ee-automatic-pairing.tsx: 5s steppedkeepOpenguidance before the 15s sync timeout.e2ee-lost-all-recovery.tsx: wiredonResultcallback to stream per-workspace restore progress while busy.create.tsx&mobile-create-workspace-sheet.tsx: encrypted key-generation button label while creating.e2ee-member-join.tsx: surfacedwaitingKeySlowat 20s (keeping 120s fast polling) +SpinnerbesidewaitingTitle.2. Component-Layer Latency Optimizations
e2ee-instant-qr.tsx: wiredsubscribeAccountPairingApprovalfor instant wakeup, dropping interval to an 8s fallback + exact expiry timer.e2ee-automatic-pairing.tsx&e2ee-account-pairing.tsx: ran immediate check on mount/join and disabled high-frequency800ms/2000mssetIntervalwhen live Convex subscriptions are active (falling back only when unsubscribed/offline).cloud-e2ee-workspaces.ts&cloud-platform-provider.tsx: optimistically added validated created workspaces viaonWorkspaceCreatedand ranrefreshWorkspaces()non-blocking in the background.e2ee-workspace-console.tsx: skipped redundantrecordCreatedon already-bound opens and skipped redundant immediatedescribe+synchronizewhenpinmatches the freshopen()andsubscribeLedgerHeadis active.runtime-provider.tsx&desktop-e2ee-content.ts: removed immediate redundantrefreshNative()afternative.open, and preloaded./create-workspace-runtime+ prefetchedcontentStreamsTokenin parallel withnative.open(strictly gated behind verifiednative.open+bucketIdvalidation).Verification
node scripts/check-i18n.mjs&node scripts/check-comment-ratchet.mjs: PASS (all 8 locales synced)pnpm oxfmt --check&pnpm oxlint(all changed files): PASSpnpm --filter @lody/e2ee-client typecheck,@lody/components typecheck,@lody/electron typecheck: PASS@lody/e2ee-clientpasskey-unlock.test.ts(4/4 PASS) and all 13@lody/componentsE2EE suites (409/409 PASS)