Skip to content

fix(web): preserve authenticated navigation destinations - #6

Merged
AmzBG merged 1 commit into
mainfrom
fix/project-preview-auth-redirects
Aug 5, 2026
Merged

fix(web): preserve authenticated navigation destinations#6
AmzBG merged 1 commit into
mainfrom
fix/project-preview-auth-redirects

Conversation

@AmzBG

@AmzBG AmzBG commented Aug 5, 2026

Copy link
Copy Markdown
Owner

Description

  • Preserve the requested protected destination after login by performing a full browser navigation once authentication succeeds.
  • Open draft project previews in the current authenticated tab instead of a new tab.
  • Prevent project preview navigation from unexpectedly landing on the dashboard.

Link to issue or ticket

N/A

Steps to QA

  1. Log out of the application.

  2. Open a published project.

  3. Select a linked developer profile.

  4. Confirm the application redirects to login because developer profiles are protected.

  5. Log in and confirm the browser continues to the originally requested developer profile.

  6. Open an owned draft project for editing.

  7. Select Preview.

  8. Confirm the preview opens in the current tab at /projects/preview/<project-id>.

  9. Confirm the draft preview renders using the public-project presentation without redirecting to the dashboard.

  10. Run the automated checks:

    npx turbo run lint
    npx turbo run check-types
    npm run format:check
    npx turbo run build --filter=web

Screenshots

N/A

@AmzBG AmzBG self-assigned this Aug 5, 2026
@AmzBG AmzBG added enhancement New feature or request prod labels Aug 5, 2026
@AmzBG
AmzBG merged commit b1b30db into main Aug 5, 2026
1 check passed
@AmzBG
AmzBG deleted the fix/project-preview-auth-redirects branch August 5, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request prod

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant