WORKFLOW-APP/app
Ysterbaard 7f0337a39c Fix list page modal not refetching after save
When the edit modal was opened from /companies or /directors (the
list pages) and the user saved, the modal called
onAfterSave={() => {}} — an empty handler. The modal also fired
qc.invalidateQueries(['pb-list', collection]), but the list
page's queryKey is ['companies', ...] (or ['directors', ...]),
not ['pb-list', ...]. So the list page never re-fetched.

Result: stale row data persisted in the list state. Re-opening
the modal showed the original values, making it look like the
save hadn't taken effect (it had — the data was in PB; the list
just didn't know about it).

Fix: wire onAfterSave to the existing refreshAll() helper in
both list pages so the list refetches from PB and the local
editingCompany/editingDirector state stays in sync.
2026-08-19 11:42:02 +02:00
..
(public) feat: initialize full ysterbaard frontend application 2026-07-23 19:10:47 +02:00
(public-register) wip: registration wizard, address splits, document panel, appointments 2026-08-17 18:33:56 +02:00
api Fix structured-address + onboarding fields not persisting from edit modal 2026-08-19 10:20:11 +02:00
bizportal feat: BizPortal 2.0 — Python Playwright sidecar 2026-08-17 18:33:36 +02:00
bizportal-2 feat: Task Kanban UI + Python task worker 2026-08-17 18:57:02 +02:00
companies Fix list page modal not refetching after save 2026-08-19 11:42:02 +02:00
directors Fix list page modal not refetching after save 2026-08-19 11:42:02 +02:00
groups feat: Check Mail button on Step 2 + check-cipc-mail API route 2026-08-11 18:33:03 +02:00
onboarding Add native Share button to registration link dialog 2026-07-30 16:38:05 +02:00
registrations wip: registration wizard, address splits, document panel, appointments 2026-08-17 18:33:56 +02:00
resolutions wip: registration wizard, address splits, document panel, appointments 2026-08-17 18:33:56 +02:00
sign/[token] Fix signature canvas: preventDefault on touch events, scale coords to canvas pixels 2026-08-17 22:03:07 +02:00
step2/[id] wip: registration wizard, address splits, document panel, appointments 2026-08-17 18:33:56 +02:00
tasks fix: handle unknown/empty task statuses without crashing 2026-08-17 19:00:42 +02:00
voice-demo feat: Check Mail button on Step 2 + check-cipc-mail API route 2026-08-11 18:33:03 +02:00
error.tsx feat: initialize full ysterbaard frontend application 2026-07-23 19:10:47 +02:00
global-error.tsx feat: Check Mail button on Step 2 + check-cipc-mail API route 2026-08-11 18:33:03 +02:00
globals.css feat: print to PDF button on registration detail view 2026-08-14 19:51:59 +02:00
icon.png Add native Share button to registration link dialog 2026-07-30 16:38:05 +02:00
layout.tsx Director appointment acceptance — full feature 2026-08-17 18:39:14 +02:00
not-found.tsx feat: initialize full ysterbaard frontend application 2026-07-23 19:10:47 +02:00
page.tsx feat: add BizPortal tab + name-already-approved flow + registrations improvements 2026-08-14 18:08:51 +02:00
providers.tsx Add native Share button to registration link dialog 2026-07-30 16:38:05 +02:00