The pending-edits list on the admin review page now sorts through live_table. Columns for contact, submitted-by user, changed-fields summary, and submitted timestamp are rendered via 2-arity custom renderers so the Ecto-preloaded :contact and :user associations stay accessible — live_table's data_provider path skips select_columns so the full struct (with preloads) reaches the renderer. The review drawer, diff table, approve/reject flow, and note textarea all stay as-is; after approve/reject the page push_patches back to its current path so live_table re-runs handle_params and the list refreshes. Pending count in the header now reads Radio.pending_edit_count/0 instead of length(@edits) since we no longer hold the full list in socket state. |
||
|---|---|---|
| .. | ||
| microwaveprop | ||
| microwaveprop_web | ||
| mix/tasks | ||
| microwaveprop.ex | ||
| microwaveprop_web.ex | ||