fix patch hub feat/phase-2g-bundle
AI Agent git-import/068377df · 115 days ago · Apr 2, 2026 · Diff

fix(hub): pre-warm gateway before OAuth; discard buttons on all list tabs

OAuth cold-start fix -------------------- Clicking "Continue with Google/GitHub" now fires a /api/v1/auth/providers fetch BEFORE doing window.location.href. This guarantees the Lambda is warm when the OAuth redirect arrives, eliminating the ERR_CONNECTION_CLOSED / 3-5 minute wait that happened when the Lambda cold-started during a direct browser navigation. Button shows "Connecting…" during the warm-up (≤22 s) so the user knows work is in progress.

Discard buttons — Suggested and Activity tabs ---------------------------------------------- • Suggested (proposed) rows: ✕ button appears on hover, same as notes list. Confirms then calls POST /api/v1/proposals/:id/discard without needing to open the detail panel — critical for proposals whose GET returns a JSON error. • Activity rows: ✕ button on hover for proposed and discarded rows (approved records have no inline discard since that would silently un-approve a live note). Reloads both Suggested and Activity after discard.

sha256:3731b21c6ff785dfe89e137b479756da9707a45be77d39fc849ba6277dfbd43e sha
sha256:8ecc8b94b3b4d95ff6868ab81f3a241685d1a06c451bc9590404a80edc39b109 snapshot
← Older Oldest on feat/phase-2g-bundle
All commits
Newer → Latest on feat/phase-2g-bundle

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:3731b21c6ff785dfe89e137b479756da9707a45be77d39fc849ba6277dfbd43e --body "your comment"