Repository navigation
Refine first-run auth flow and pairing timing - #87
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (14)
📝 WalkthroughWalkthroughThe PR refactors Aurora visuals onto Continuum styling, adds journey progress UI, refreshes iOS and tvOS onboarding screens, improves authentication and setup interactions, and makes companion pairing re-evaluate discovered devices when authentication state changes. ChangesContinuum onboarding experience
Companion pairing authentication
Estimated code review effort: 4 (Complex) | ~60 minutes Possibly related PRs
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 55994b903b
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| } else if case .error = newValue { | ||
| focusedField = .retryPhone |
There was a problem hiding this comment.
Guard retry focus while the password form is visible
When a viewer switches to password sign-in, the QR session still runs in the background; if it expires or otherwise moves to .error, this handler assigns focus to .retryPhone, but that focus target only exists in the phone/QR panel, not in passwordContent. On tvOS this can leave the visible username/password form without a valid focused control, so only move focus to retry when the QR panel is currently shown, or cancel/pause the QR flow while the fallback form is visible.
Useful? React with 👍 / 👎.
| if viewModel.signupEnabled { | ||
| Button("Create an account") { router.navigate(to: .signup) } | ||
| .buttonStyle(AuroraGhostButtonStyle()) | ||
| .frame(maxWidth: .infinity) |
There was a problem hiding this comment.
Disable signup navigation while sign-in is pending
The secondary actions used to be disabled together while viewModel.isLoading was true, but after splitting the buttons this signup button remains enabled while a login request is in flight. If signup is enabled, a user can tap Sign in and then Create an account before the request completes; the background login task can later call router.showProfileSelection() or update errors from behind the pushed signup screen. Apply the loading disabled state to this button as well.
Useful? React with 👍 / 👎.
Summary
Testing
Summary by CodeRabbit
New Features
Improvements
Bug Fixes