Skip to content

feat(web): streamline login for returning users#1167

Merged
tyler-dane merged 11 commits intomainfrom
feat/451-signin
Oct 25, 2025
Merged

feat(web): streamline login for returning users#1167
tyler-dane merged 11 commits intomainfrom
feat/451-signin

Conversation

@tyler-dane
Copy link
Contributor

@tyler-dane tyler-dane commented Oct 25, 2025

Returning users will now be presented with the oauth screen immediately upon session expiration, rather than having to go through the onboarding flow again.

Closes #451

Copilot AI review requested due to automatic review settings October 25, 2025 03:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds signup tracking functionality by introducing a new localStorage flag (HAS_COMPLETED_SIGNUP) that is set when users complete authentication. The LoginView now checks this flag to bypass waitlist status checks for returning users who have already signed up.

Key changes:

  • Added HAS_COMPLETED_SIGNUP storage key constant
  • Modified login flows to set the signup completion flag in localStorage
  • Updated LoginView to check for prior signup completion before performing waitlist checks

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/web/src/common/constants/storage.constants.ts Added new HAS_COMPLETED_SIGNUP key constant
packages/web/src/views/Onboarding/steps/oauth/SignInWithGoogle.tsx Sets signup completion flag after successful Google OAuth
packages/web/src/views/Onboarding/steps/mobile/MobileSignIn.tsx Sets signup completion flag after successful mobile Google sign-in
packages/web/src/views/Login/Login.tsx Checks signup completion flag to bypass waitlist checks for returning users
packages/web/src/views/Login/Login.test.tsx Added localStorage cleanup and fixed test type assertion

@tyler-dane tyler-dane changed the title feat(web): add HAS_COMPLETED_SIGNUP key to localStorage and update LoginView for signup tracking feat(web): streamline login for returning users Oct 25, 2025
Copilot AI review requested due to automatic review settings October 25, 2025 05:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 22 out of 22 changed files in this pull request and generated 1 comment.

Copilot AI review requested due to automatic review settings October 25, 2025 06:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 22 out of 22 changed files in this pull request and generated 2 comments.

Copilot AI review requested due to automatic review settings October 25, 2025 06:22
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 24 out of 24 changed files in this pull request and generated 4 comments.

@tyler-dane tyler-dane merged commit 5e8139e into main Oct 25, 2025
5 checks passed
@tyler-dane tyler-dane deleted the feat/451-signin branch October 25, 2025 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sign in flow is too long for returning users

2 participants