Bring every role login up to the full-access demo standard

Merged
BI
8h ago
+1804-2109

Requested by josh · project thread

Hold: Josh has not yet approved the look in the mock-up, so auto-merge stays off until he does.

What

Audit four covered the coordinator's screens. This brings the role-only screens (ward, ED, community, site bed manager, executive, transport officer and access admin) up to the full-access demo, the visual standard. Owner rulings: D-285 (Find everywhere, fix all) and D-286 (one owner-approved dead-code run).

Wrong facts

  • Desk Referrals: the side menu, tab, title and rows count the same set on every desk (ward offers, ED raised journeys, site offers, community team-page referrals).
  • Community Referrals history shows the day, not a repeated clock time.
  • Transport officer: the top shows the real number of pulled beds with no transport booked (a count only, with no patient data added to the officer's scope) and says the sender books them.

Look and structure

  • Every login calls its finder "Find" in the side menu, phone dock and page title. The site bed manager's "Wards" becomes Find. The coordinator's More no longer repeats Patients. The ward dock label fits one line.
  • Desk Referrals use the demo's page top: a plain title that names the scope, the figure row, one action card, and Queue and History tabs. The keyboard hint row is gone from desks.
  • The old uppercase label is gone from the scoped page tops: community Movements, ward Waiting, site Capacity and Seclusion, and desk Statistics.
  • Executive Capacity is rebuilt as the demo's "Beds right now" top and bed map, still counts only.
  • Small fixes: the stray "/" hint on the executive phone header, the focus box on desk Statistics titles, the admin's phone chips, the doubled Start a triage message, and the top-section action box crushed at 820.

Evidence

  • Mock-up (before, after and demo side by side, every desk at 1440 and 390 light; home pages at all widths, light and dark): /mnt/project-files/role-desk-check-29-nov/ in the project files.
  • tsc is clean, and eslint, prettier and knip are clean.
  • Focused vitest passes (about 725 tests across rail, nav, referrals, executive, officer, statistics, movements, seclusion and quick bar). The full suite runs here on CI.
  • Not run locally: the phone script budget check, which needs a production build. CI covers it.

Synthetic data only.


Generated by Claude Code