mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-28 01:31:36 +00:00
The ephemeral loopback server that finishes `fabro auth login` returned four raw HTML fragments (one literally `<p>Logged in. You can close this tab.</p>`, and two that weren't even wrapped in a document). Replace them with a self-contained dark-theme shell that mirrors the redesigned /auth/cli/resume page: inline Fabro logo SVG, dark panel over the atmosphere gradient, mint status dot for success, coral for failure, consistent typography. Shell is fully offline — this process doesn't have /logo.svg or the SPA CSS available, so everything is inlined. Also HTML-escape the oauth error_description before interpolation, and add `white-space: nowrap` to inline <code> in the resume shell so `fabro auth login` never wraps mid-command. Copy alignment: success eyebrow "Signed in" + headline "You're signed in to Fabro"; error eyebrow "Sign-in failed" + headline "CLI sign-in could not continue", with remediation pointing at the exact command. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| auth_harness.rs | ||
| mod.rs | ||