NewsAtlas/frontend
Amir Alexander Abdelbaki c3a266f6d9 Backfill a week of market history on first startup; UI polish
Backend: backfill_market_history() fetches 7 days of hourly price bars per
instrument on first container start (skipped once an instrument has more
than a day of real history, so restarts don't re-run it) and runs the same
spike-detection logic retroactively, so the Economic Incident History view
is already populated instead of empty for a week. Runs as a genuine
one-time APScheduler job, separate from the recurring polls.

Also: FROZEN/ERROR overlay badges on market ticker items (MOEX's known-stale
Yahoo feed, and any instrument whose last poll actually failed), each
labeled with the instrument name; a big magenta date/time heading per
economic incident; and the incident article list is now a collapsed
fold-out (some incidents merge to 60 stories) instead of always fully
expanded.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Um48tTvZDrEgDeweFyhPYC
2026-07-20 15:44:53 +02:00
..
css Backfill a week of market history on first startup; UI polish 2026-07-20 15:44:53 +02:00
js Backfill a week of market history on first startup; UI polish 2026-07-20 15:44:53 +02:00
index.html Add flights overlay, globe icon sprites, and economic incident history 2026-07-20 14:31:21 +02:00