Logged-out home stays the product page #120

Merged
westfarn merged 1 commits from feat/public-home-particles into master 2026-10-19 01:09:44 -07:00
Owner

Summary

  • Closes #118 and #119.
  • Logged-out / is the product page. Sign In is a link. After sign-in, / is still the chat dashboard.
  • A 401 from a public API call (for example a stale token on /public/usage/) no longer sends visitors from / to Sign In. Protected routes such as /account/ still redirect.
  • Product, pricing, changelog, and privacy use the same floating-dot background as Sign In and the dashboard. Text follows the light and dark theme so it stays readable.

Test plan

  • authRedirect tests: public API calls and public paths do not redirect; /account/ and /document_storage still do.
  • Landing, pricing, privacy, changelog, HomeRoute, and Sign In tests pass.
  • Logged out, open / and confirm the product page, then Sign In, then / is the dashboard.
  • With an expired access token still in storage, open / and confirm you stay on the product page.
  • Check product, pricing, changelog, and privacy in light and dark mode. Dots visible, text readable.
## Summary - Closes #118 and #119. - Logged-out `/` is the product page. Sign In is a link. After sign-in, `/` is still the chat dashboard. - A 401 from a public API call (for example a stale token on `/public/usage/`) no longer sends visitors from `/` to Sign In. Protected routes such as `/account/` still redirect. - Product, pricing, changelog, and privacy use the same floating-dot background as Sign In and the dashboard. Text follows the light and dark theme so it stays readable. ## Test plan - [x] `authRedirect` tests: public API calls and public paths do not redirect; `/account/` and `/document_storage` still do. - [x] Landing, pricing, privacy, changelog, HomeRoute, and Sign In tests pass. - [ ] Logged out, open `/` and confirm the product page, then Sign In, then `/` is the dashboard. - [ ] With an expired access token still in storage, open `/` and confirm you stay on the product page. - [ ] Check product, pricing, changelog, and privacy in light and dark mode. Dots visible, text readable.
westfarn added 1 commit 2026-10-18 19:30:06 -07:00
Keep logged-out visitors on the product page.
Unit Tests / test (pull_request) Successful in 37s
6133e0dce8
A stale token on a public API call was sending anonymous visitors from / to sign-in. Public routes stay put. Public pages use the same particle background as sign-in and the dashboard, with theme-aware text.

Closes #118
Closes #119
westfarn merged commit 4a5b05f421 into master 2026-10-19 01:09:44 -07:00
westfarn deleted branch feat/public-home-particles 2026-10-19 01:09:44 -07:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ai_ml_operations/chat_web_app#120