Skip to content

feat(ui): real per-section routes for the account area#13

Merged
matthew-demidoff merged 1 commit into
masterfrom
feat/account-routes
Jun 19, 2026
Merged

feat(ui): real per-section routes for the account area#13
matthew-demidoff merged 1 commit into
masterfrom
feat/account-routes

Conversation

@matthew-demidoff

Copy link
Copy Markdown
Collaborator

Summary

Fixes the tabbing: sidebar items were anchor links (/#profile, /#sessions, …) that just scrolled one giant page. Each now has its own route, and the home page becomes a real overview dashboard.

Routing

  • Account: Account home /, Profile /profile, Subscriptions /subscriptions, Connected apps /apps, API bearers /bearers
  • Security: Sessions /sessions, Password & 2FA /security (refocused), Recent events /events
  • OAuth grants fold into Connected apps; sessions/events moved out of the old security center.
  • Each sub-page fetches only its slice (overview uses the full dashboard service). Server actions revalidatePath("/", "layout") so revokes/cancels refresh everywhere.

Account home overview

/ is now a Cloudflare-style card grid: Account / Security / Access summary cards (with "View →" links), plus Recent activity and Next steps — instead of one long scroll.

Verification

  • tsc clean, next build green (50 routes, all new pages compile).
  • Previewed the overview (cards, elevated headers, status tags) and the collapsible shell.

No server, API, or schema changes.

Replace the single-page account dashboard (sidebar items were anchor links that just scrolled) with a real route per nav item: /profile, /subscriptions, /apps, /bearers, /sessions, /events, and a refocused /security (password, Telegram 2FA, passkeys). The home route becomes an Account home overview - a card grid (Account, Security, Access summaries) plus Recent activity and Next steps. Each sub-page fetches only its slice; server actions revalidate across the new routes.
@matthew-demidoff matthew-demidoff merged commit ac4f83a into master Jun 19, 2026
2 checks passed
@matthew-demidoff matthew-demidoff deleted the feat/account-routes branch June 19, 2026 23:28
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