- 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 |
||
|---|---|---|
| .. | ||
| src | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||
| vite.config.ts | ||