magpie/frontend
Alan Weinstock f90124dabe feat(ui): session status widget + SPA API proxy (#12)
- Add SessionWidget.vue: sidebar widget showing Reddit session status
  (dot color: green/yellow/red by age), age in hours, and a refresh
  button that triggers the Playwright re-login (~30s, blocking POST)
- Add SessionStatus + RefreshResult types and api.reddit.* methods to
  api.ts (sessionStatus, refreshSession)
- Mount widget at bottom of sidebar in App.vue via margin-top:auto
- Fix spa_server.py: add reverse proxy for /api/* → FastAPI :8532
  (without this, all API calls returned index.html in production mode)
- Guard ageText/dotClass computeds against undefined age_hours with
  typeof check + == null (catches both null and undefined from stale
  browser-cached HTML responses)

Closes: #12
2026-06-13 18:57:35 -07:00
..
src feat(ui): session status widget + SPA API proxy (#12) 2026-06-13 18:57:35 -07:00
index.html feat(#7,#10): signal crawler -- Reddit + Lemmy community monitoring 2026-04-22 11:00:14 -07:00
package-lock.json feat: scaffold Magpie — campaign scheduler + social posting platform 2026-04-21 16:51:33 -07:00
package.json feat: scaffold Magpie — campaign scheduler + social posting platform 2026-04-21 16:51:33 -07:00
tsconfig.json feat: scaffold Magpie — campaign scheduler + social posting platform 2026-04-21 16:51:33 -07:00
vite.config.ts feat: scaffold Magpie — campaign scheduler + social posting platform 2026-04-21 16:51:33 -07:00