Commit Graph

2 Commits

Author SHA1 Message Date
Manoj Bajaj ae806a3116 feat(ui): redesign provider/connection detail pages and fix accent token
- Make entire provider card clickable via router.push; stopPropagation
  on the Connect button keeps the form action independent
- Fix --accent in dark mode: was emerald (#10B981), now neutral
  surface-container-high (#2a2a2c) — fixes green hover bleed on every
  shadcn component that uses bg-accent (sidebar items, dropdowns, cards)
- Align --sidebar-accent to match the corrected --accent token
- Remove Back button and title from DashboardDetailShell; shell now
  only owns the sidebar + topbar + scroll container
- Provider detail: logo/name/description in a borderline page header,
  "New connection" button pinned top-right; redundant Connect card removed
- Connection detail: provider label + connection h1 in page header;
  Set-as-default / View-provider / Logout actions inline top-right;
  Actions card removed; layout tightened to two flat content cards
- DashboardDetailShell gains h-svh / overflow-y-auto scroll containment
  matching the main dashboard shell (detail pages were the outlier)
- Document --accent token rules in DESIGN.md to prevent regression

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-10 01:00:37 +05:30
Manoj Bajaj 98a3351c56 feat: replace Python dashboard fallback with built Next.js static UI
- Build Next.js app and populate src/authsome/ui/web/ so GET / is served
  from the static bundle rather than a Python f-string page
- Apply DESIGN.md (Deep Emerald + Obsidian, dark-first) to the Next.js
  app: update globals.css tokens, switch fonts to Hanken Grotesk +
  JetBrains Mono, add dark class to <html>, replace all hardcoded
  bg-white/bg-slate-* with semantic CSS-variable classes
- Redesign Python interstitial pages (claim, device-code, OAuth input,
  error) using the same DESIGN.md tokens in web_theme.py
- Remove Python GET / route and dashboard_page() — Next.js AuthGate
  handles unauthenticated state; no Python fallback needed
- Remove the GET / special-case from _resolve_ui_auth
- Move DESIGN.md to ui/ (the Next.js root, the correct home)
- Delete test_ui_sessions.py and test_ui_dashboard.py; server-rendered
  dashboard UI no longer exists as Python code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-02 16:18:55 +05:30