Files
loki/scripts/test
GandClaude Opus 4.8 c0372977bd fix(ux): audit quick-wins + always-surface capacity banner (#31)
* fix(ux): quick-win batch from the action audit

Four honest/routing fixes surfaced by the full UX audit:
- proxy.ts: /privacy /terms /license /docs/quickstart were auth-gated (missing
  from the public matcher) — logged-out footer clicks bounced to sign-in. Now public.
- projects/[id] GET: the response omitted gitUrl, so the project detail DRAWER
  showed no repo link for GitHub-imported projects (the grid card worked). Added.
- DesktopDownload: macOS + Windows were marked status:'ready' but ship no asset
  (Linux-only) → the auto-detected Download CTA 404'd. Flipped to 'comingSoon'
  and added the ComingSoonPanel branch (watch-releases + use-web CTA) the config
  comment always promised but was never implemented.
- changelog.ts: added the real v0.8.9 entry (was stale at 0.8.8 vs the live
  release) so the footer version pill + /releases are current.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* fix(control): always surface the capacity banner when autopilot can't act

Chasing the auto-reroute banner gate (after the SSE/GET session fix made the
data correct) revealed a UX gap: shouldShowManualCapacityBanner returned false
under autopilot for 'tab-closed' — so a project that hit a rate-limit wall but
isn't running showed NO indicator and NO call to action. A capacity wall must
never be silently invisible.

Now surfaces the manual banner under autopilot whenever autopilot CANNOT act on
its own (all-tried / no-fallback / tab-closed). For a not-running project,
clicking Switch still persists the agent preference for the next launch. When
autopilot CAN act, the auto banner shows instead. Test asserts the tab-closed case.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 22:45:42 +02:00
..