Replaces the stream-backed static table for approved beacons with LiveTable.LiveResource, giving users column sorting and full-text search across callsign and grid. Custom renderers preserve the frequency/EIRP formatting, keying label, and on-air badge so the visual output matches the previous daisyUI cells. A new Beacons.approved_beacons_query/0 returns the base Ecto query (`where: approved == true`), assigned onto socket.assigns.data_provider in mount so live_table's handle_params uses it as the root query and applies sort/search/paginate on top. The leaflet map above the table keeps its existing phx-hook+phx-update=ignore setup, and the pending- approval admin section stays as a stream-backed `<.table>` — live_table is single-resource-per-liveview and the pending list is a distinct admin concern anyway. PubSub updates (beacon created/updated/deleted) now push_patch to the current path so live_table re-runs handle_params and the table refreshes in place. |
||
|---|---|---|
| .. | ||
| microwaveprop | ||
| microwaveprop_web | ||
| mix/tasks | ||
| microwaveprop.ex | ||
| microwaveprop_web.ex | ||