grabowski
af1909db73
fix: restore history chart initialization after flood bands change
2026-08-10 09:46:34 +07:00
grabowski
32e455783a
fix: harden loadHistory against race conditions and canvas reuse
2026-08-09 18:03:41 +07:00
grabowski
b3ea340bbd
fix: fix chart reuse error and harden flood-bands plugin
2026-08-09 17:56:30 +07:00
grabowski
ba0348b580
feat: add flood-zone bands (normal/warning/danger) to history chart
2026-08-09 17:54:11 +07:00
grabowski
21ca84444d
perf: downsample history to daily averages and fix chart overflow
2026-08-09 17:48:31 +07:00
grabowski
ef106fce8d
fix: include year in history chart labels
2026-08-09 17:21:20 +07:00
grabowski
33f2dd45f4
fix: render history chart timestamps in ICT (Asia/Bangkok)
2026-08-09 17:19:28 +07:00
grabowski
abfac1d3bb
fix: correct all-time hours value and update backend limit
2026-08-09 17:12:22 +07:00
grabowski
9ef7798e00
feat: load history when clicking station markers on map
2026-08-09 17:04:21 +07:00
grabowski
ae5d0a13d7
[verified] feat: add live river dashboard
...
Add mapped river and ThaiWater sensor layers, PostgreSQL history charts, API endpoints, and dashboard tests.
2026-08-09 16:59:25 +07:00
grabowski
e5936d5717
Move dashboard HTML out of web_api into a static file
...
Extract the inline root() dashboard markup into src/static/dashboard.html,
loaded once at import. Keeps HTML out of the Python module (web_api 616 -> 576
lines) with a defensive fallback if the file is missing.
Full <500 compliance for web_api still needs the endpoints split into
APIRouter modules; tracked as remaining #4 work.
2026-07-22 14:28:34 +07:00