Repository navigation
F2: connect mock login, registration, verification and password-reset flows - #47
Merged
Merged
Conversation
…et (Refs #13) Replace the placeholder shell dialog with AuthDialog: sign-in, self-registration and password-reset views inside the required native modal, plus verification guidance with resend, explicit refresh and account switching for unverified users. Observed auth state remains the only unlock signal. Pending actions are single-flight, announced and aria-disabled; flow, account and unlock changes abort and ignore obsolete requests. Field and service errors are associated with inputs and recoverable. Mock demo guidance is supplied by the composition root so UI never imports mock modules. Adds component tests and Chromium/Firefox Playwright journeys. Co-Authored-By: Claude Opus 5.5 <[email protected]>
5 tasks
5 tasks
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.
Refs #13
Behavior
AuthDialogreplaces the placeholder login dialog: Sign in, Create an account and Reset your password views inside the required native modal (focus containment, inert shell, Escape/backdrop refusal, re-open if force-closed).aria-disabled/aria-busy/live progress; flow, account or unlock changes abort and ignore obsolete requests.aria-invalid,aria-describedby,role=alert), focus moves predictably, and every error can be retried.demoruntime field. UI never imports mocks.Checks (rootless workspace container)
./dev checkPASS;npm cifrozen (230 packages, lock unchanged)@smoke)Details:
docs/engineering/f2-auth-forms-verification.md.Limitations
The mock resolves instantly in the browser, so pending states are covered by component tests with injected deferred services. Safari wasn't available. This mock doesn't prove real Firebase/email/backend security. Session restoration/cache isolation is #14; consolidated F2 acceptance is #15. Independent QA still has to happen before merge.
🤖 Generated with Claude Code