scholarr/frontend
Justin Visser 2c591a0ca3 fix(ingestion,frontend): show live counter immediately on run start
Two issues with the initial implementation:
- Counter only appeared after the first SSE event arrived (scholarProgress null
  kept the v-else static template showing until a scholar completed)
- First events were often dropped because the EventSource hadn't subscribed yet

Fix:
- Backend: emit an initial scholar_progress kickoff event (0/0/N) at the
  start of run_scholar_iteration so the frontend receives total early
- Frontend: gate on isLikelyRunning alone (not scholarProgress); use optional
  chaining with fallbacks so "0 / … visited · 0 finished" shows immediately
  when a run starts, before any SSE events arrive

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 18:37:53 +01:00
..
public release prep 2026-02-21 18:36:27 +01:00
scripts release prep 2026-02-21 18:36:27 +01:00
src fix(ingestion,frontend): show live counter immediately on run start 2026-03-03 18:37:53 +01:00
.gitignore test 2026-02-17 20:24:12 +01:00
index.html Big changes 2026-02-21 17:33:05 +01:00
package-lock.json after audit 2026-03-01 18:14:22 +01:00
package.json after audit 2026-03-01 18:14:22 +01:00
postcss.config.cjs test 2026-02-17 20:24:12 +01:00
tailwind.config.js feat: production-harden app and finalize merge-ready UX/theme baseline 2026-02-19 15:43:20 +01:00
tsconfig.json test 2026-02-17 20:24:12 +01:00
vite.config.ts test 2026-02-17 20:24:12 +01:00
vitest.config.ts test 2026-02-17 20:24:12 +01:00