prop/test
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
..
fixtures NarrClient.extract_profile_from_file/3 + fetch_profile_at/2 2026-04-15 18:54:02 -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 chore: bump deps, fix doctests, fix credo issues 2026-07-01 17:46:03 -05:00
support fix: resolve 391 Credo issues across codebase 2026-06-12 13:51:32 -05:00
test_helper.exs test: silence Postgrex sandbox disconnect noise 2026-05-08 10:43:51 -05:00