prop/lib/microwaveprop_web/live
Graham McIntire 250709a1b2 Add more caching to make the map feel instant
- ScoreCache stores {band, valid_time} as %{{lat, lon} => score} map so
  point lookups are O(1); adds fetch_point/4 and valid_times/1
- available_valid_times/1 reads directly from ScoreCache when warm,
  falls back to DB on cold start
- point_forecast/3 iterates cached valid_times and uses fetch_point/4
  instead of hitting the DB per click
- NexradCache: node-local ETS cache of decoded n0q PNG pixel buffers
  keyed by 5-minute rounded timestamp; skips ~1-5s HTTP+decode on
  concurrent/repeat clicks within the same window
- MapLive: start_async the rain_scatter fetch so point_detail renders
  immediately with a pending marker; push rain_scatter_update when
  NEXRAD resolves
- MapLive: preload all 18 remaining forecast hours for the current
  viewport after mount/band change/propagation_updated; client caches
  them and renders timeline scrubs instantly without a server roundtrip.
  Adds set_selected_time event for fast-path state sync.
- Propagation map JS: forecastCache map + drawScatterMarkers helper,
  timeline click uses preloaded cache when available
2026-04-12 12:26:25 -05:00
..
admin Add contact edit approval system with admin review queue 2026-04-11 16:15:49 -05:00
beacon_live Use daisyUI components for stats, alerts, cards, and tabs 2026-04-12 09:20:20 -05:00
contact_live Fix three security issues 2026-04-12 10:31:23 -05:00
user_management_live Add /beacons CRUD and /users admin page 2026-04-08 12:01:45 -05:00
about_live.ex Fix donate link contrast on dark mode info alert 2026-04-12 10:27:40 -05:00
algo_live.ex Merge auth links into main nav and lower password min to 8 2026-04-08 10:39:51 -05:00
backfill_live.ex Fix all remaining credo --strict issues (0 issues) 2026-04-12 10:26:53 -05:00
contact_map_live.ex Fix all remaining credo --strict issues (0 issues) 2026-04-12 10:26:53 -05:00
map_live.ex Add more caching to make the map feel instant 2026-04-12 12:26:25 -05:00
path_live.ex Improve light mode contrast for score colors and map controls 2026-04-11 14:55:21 -05:00
privacy_live.ex Trim footer and privacy copy 2026-04-09 12:30:10 -05:00
rover_live.ex Remove grid squares toggle from rover planner page 2026-04-10 17:31:23 -05:00
submit_live.ex Fix three security issues 2026-04-12 10:31:23 -05:00
weather_map_live.ex Map UX polish and populated About page 2026-04-08 17:06:53 -05:00