prop/lib/microwaveprop_web/live
Graham McIntire 6c334d6e18 Cache /contacts, fix map blink, make mode optional
- Add contacts_inserted_at_desc_id_desc_idx so /contacts list runs as an
  Index Scan (~0.4ms) instead of a Seq Scan + top-N heapsort (~77ms on
  58k rows)
- Add Microwaveprop.Cache: tiny ETS-backed TTL cache for memoizing
  expensive-but-stale-tolerant values
- Cache total_entries for unsearched /contacts page loads (30s TTL,
  invalidated on insert)
- Cache the entire /contacts/map payload (pre-encoded JSON + band list),
  moving load_contacts into Radio.contact_map_payload; invalidated on
  new contact insert. Mount goes from ~150-300ms to ~5ms.
- Fix /map overlay blinking on load: reuse the Leaflet GridLayer across
  renderScores calls and just redraw() against the updated ScoreGrid,
  instead of removeLayer + new layer which flashed between tile regens
- Make mode optional on submission: schema change (null: true),
  submission_changeset no longer requires it, blank strings normalise to
  nil, CSV import accepts 6-column (no mode) or 7-column layouts
- core_components .input adds a red asterisk to labels when required,
  giving users a visual cue for which fields must be filled on /submit
2026-04-12 12:47: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 Cache /contacts, fix map blink, make mode optional 2026-04-12 12:47:25 -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 Cache /contacts, fix map blink, make mode optional 2026-04-12 12:47:25 -05:00
weather_map_live.ex Map UX polish and populated About page 2026-04-08 17:06:53 -05:00