Skip to content

Fix mobile sign-in, sign-out and keyboard submission - #88

Merged
VictoriousWealth merged 7 commits into
stagingfrom
fix/mobile-auth-navigation
Nov 30, 2026
Merged

VictoriousWealth merged 7 commits into
stagingfrom
fix/mobile-auth-navigation

Conversation

@VictoriousWealth

Copy link
Copy Markdown
Member

Fixes the sign-in and sign-out issues found in the protected staging mobile and keyboard pass.

  • Provide a direct Log In link on the mobile homepage.
  • Reuse the desktop sign-out action in the mobile Profile account overview.
  • Submit login through the existing validation and CAPTCHA handling from both the keyboard and the button.

The browser regression covers the journey at 320 CSS pixels, including failed validation and denial of protected access after sign-out. This release does not require a database migration.

Updated the LoginClient component to improve form submission.

Added type annotations for better TypeScript support and prevented default form submission behavior.

This change enhances user experience by ensuring the form behaves correctly.
Changed the test case to reference the SignOutButton component instead of NavBar.

This ensures that the tests accurately reflect the current components in use.
This update introduces a SignOutButton component to the account overview section.

The button is conditionally rendered based on screen size to enhance user experience.
Removed the manual logout handling from the NavBar component.

Introduced a SignOutButton component to encapsulate the logout functionality.

This change improves code readability and maintainability.
This commit introduces a new SignOutButton component.

The component handles user sign-out functionality, including error handling.

It utilizes the useAuthState hook to manage authentication state.
Added a direct Log In link on the mobile homepage for easier access.

Clarified that signed-in learners can log out from Profile on mobile or desktop.
This update introduces a new test for mobile learners.

It verifies the login process, including error handling for invalid email.

Additionally, it checks the sign-out functionality from the profile page.
@railway-app

railway-app Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

🚅 Deployed to the study-buddy-v2-pr-88 environment in Study Buddy

Service Status Web Updated
security-operations-report ✅ Success (View Logs) Nov 30, 2026 at 7:11 am UTC
account-lifecycle-cron ✅ Success (View Logs) Nov 30, 2026 at 7:11 am UTC
2 services not affected by this PR
  • clamav
  • study-buddy-v2

@railway-app
railway-app Bot temporarily deployed to Study Buddy / study-buddy-v2-pr-88 November 30, 2026 07:01 Destroyed
@VictoriousWealth
VictoriousWealth merged commit 2c79cc1 into staging Nov 30, 2026
6 checks passed

This branch was successfully deployed

No deployments
Study Buddy / study-buddy-v2-pr-88 — 7b4fc7a3 Deployed Nov 30, 2026 by railway-app[bot]
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.

1 participant