13113b8c
web: AuthGate consolidates three "not authenticated" cards
Create AuthGate component as the single source of truth for the unauthenticated UI. Cold renders show a manual sign-in button (IV7); mid-session expiry auto-redirects via useEffect (IV7); auth_error shows the distinct error card with a "Try again" button and never auto-retries (IV6). Swap the inline AuthError cards at index, projects, and SavedSearchesSection call sites.
Eugene Blikh <bigbes@gmail.com> — 2026-04-26 15:00:57 UTC
Commit 13113b8c4674cd767c94798875471f64b11e656d —
view raw patch
Parent(s):
f2376137
| File | Status | + | − |
|---|---|---|---|
internal/server/web/dist/index.html
|
M | +1 | -1 |
web/src/features/settings/SavedSearchesSection.tsx
|
M | +22 | -32 |
web/src/routes/index.tsx
|
M | +15 | -22 |
web/src/routes/projects.tsx
|
M | +13 | -20 |
web/src/shell/AuthGate.tsx
|
A | +110 |