Skip to content

LAB-WORK-QUEUE-PAGINATION-UI-001Z: wire paged laboratory queue UI - #406

Merged
NckNA merged 2 commits into
mainfrom
feature/lab-work-queue-pagination-ui-001z
Aug 22, 2026
Merged

LAB-WORK-QUEUE-PAGINATION-UI-001Z: wire paged laboratory queue UI#406
NckNA merged 2 commits into
mainfrom
feature/lab-work-queue-pagination-ui-001z

Conversation

@NckNA

@NckNA NckNA commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Summary

Wires LaboratoryPage to the frozen 001Y paged queue data layer. Filters/search/paging are server-driven, whole-tenant summary stays independent, search is debounced, page identity resets after query changes and successful mutations, and unsupported roles fail closed before laboratory data hooks mount. Local prototype mode does not fall back to the legacy broad queue.

Checks

  • Fresh local Supabase reset + QA seed PASS
  • Targeted LaboratoryPage tests: 10/10 PASS
  • Full Vitest: 132 files / 1336 tests PASS
  • ESLint PASS
  • Build PASS
  • Real localhost admin paging smoke: 55 rows -> page 2 shows 51–55 of 55, cleanup 0 rows
  • Real localhost server-search smoke: one exact result, cleanup 0 rows
  • Doctor and cashier role smoke PASS with 0 console errors / failed requests after role-gate fix
  • MacDent passive read-only recon performed; no separate lab-queue surface found to copy

Limitations

  • Offset pagination retains the frozen 001X concurrent-write limitation; UI returns to page 0 after query identity changes and successful mutations.
  • Filter dictionaries remain whole-tenant minimal label reads by frozen 001W/001Y design.
  • No speculative DB indexes or migration changes were added.

@NckNA
NckNA merged commit 213d708 into main Aug 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant