Skip to content

Update login redirect behavior so sers land on /community after authe…#647

Open
Minhnimum wants to merge 1 commit intodevelopfrom
auth-redirect-to-community
Open

Update login redirect behavior so sers land on /community after authe…#647
Minhnimum wants to merge 1 commit intodevelopfrom
auth-redirect-to-community

Conversation

@Minhnimum
Copy link
Copy Markdown

Updated login redirect behavior so users land on /community after authentication, instead of /get-started.

Fixed hydration mixmatch in header profile/session UI by adding mount-safe rendering guards.

Fixes #632

…ntication, instead of /get-started.

Fixed hydration mixmatch in header profile/session UI by adding mount-safe rendring guards.
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clubs Ready Ready Preview, Comment Mar 3, 2026 7:56pm

Request Review

@TyHil
Copy link
Copy Markdown
Member

TyHil commented Mar 10, 2026

I believe this works only one time when an existing user logs in whereas the proposal was:

When a logged-in user visits clubs.utdnebula.com for the first time (per session), redirect to the community page.

where session I'd guess referred to sessionStorage which is unique to a tab. So we'd want to check something like if (sessionStorage.getItem('newTab') == null) then sessionStorage.setItem('newTab', false) and redirect.

Also, the hydration mixmatch fix is causing the linting check to fail. Run npm run lint to see why but that would probably be a change better suited for a separate PR.

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.

For logged-in users, redirect to the /my-community page on first load

2 participants