Skip to content

feat(auth): add user onboarding screen and relocate AuthController - #204

Merged
trtajim merged 4 commits into
mainfrom
feat/auth-onboarding-screen
Aug 28, 2026
Merged

feat(auth): add user onboarding screen and relocate AuthController#204
trtajim merged 4 commits into
mainfrom
feat/auth-onboarding-screen

Conversation

@trtajim

@trtajim trtajim commented Aug 28, 2026

Copy link
Copy Markdown
Member

Description

This PR introduces a guided onboarding screen for first-time Google sign-ups and refactors AuthController to root controllers directory.

Key Changes

  1. AuthController Namespace Relocation:
    • Moved app/Http/Controllers/Admin/AuthController.php -> app/Http/Controllers/AuthController.php with namespace App\Http\Controllers.
    • Updated routes and imports in routes/web.php.
  2. Onboarding Flow:
    • Added resources/js/pages/auth/Onboarding.vue where new Google sign-ups can specify their name, unique username, and school/institution.
    • Updated AuthController to preserve temporary Google profile data in session until onboarding completion, queuing welcome email upon account creation.
    • Updated resources/js/pages/auth/Login.vue with updated guide copy.
  3. Tests:
    • Added comprehensive feature tests in tests/Feature/AuthenticationTest.php for onboarding access, required fields validation, username format/uniqueness, and redirection flow.

Verification

  • php artisan test: 105 passed, 543 assertions.
  • npm run build: Assets compiled successfully.

@trtajim
trtajim merged commit b719a6a into main Aug 28, 2026
5 checks passed
@trtajim
trtajim deleted the feat/auth-onboarding-screen branch August 28, 2026 08:05
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