prop/lib
Graham McInitre 49ade78766 fix: wire pending_edits_query as data_provider for contact edit review table
The LiveTable on /admin/contact-edits used the bare ContactEdit schema
as its data source, which caused three symptoms:
- '0 pending' counter but stale approved/rejected edits still visible
- Blank contact/submitted-by cells (select_columns stripped preloaded
  associations, cell renderers received flat maps with no :contact/:user)
- Approve/reject didn't remove the row from the table

Fix: assign {Radio, :pending_edits_query, []} as the data_provider in
mount so handle_params threads it to stream_resources. The query variant
of list_resources preserves preloaded associations and includes the
WHERE status = :pending filter.

Added two tests that verify the table rendering and edit removal.
2026-07-22 08:54:46 -05:00
..
microwaveprop fix: wire pending_edits_query as data_provider for contact edit review table 2026-07-22 08:54:46 -05:00
microwaveprop_web fix: wire pending_edits_query as data_provider for contact edit review table 2026-07-22 08:54:46 -05:00
mix/tasks fix: resolve 391 Credo issues across codebase 2026-06-12 13:51:32 -05:00
microwaveprop.ex initial 2026-03-28 11:28:47 -05:00
microwaveprop_web.ex fix web stuff 2026-05-31 16:47:11 -05:00