Skip to content

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

Merged
BigSimmo merged 6 commits into
mainfrom
claude/project-thread-k6qadu
Nov 29, 2026
Merged

BigSimmo merged 6 commits into
mainfrom
claude/project-thread-k6qadu

Conversation

@BigSimmo

@BigSimmo BigSimmo commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

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

View guided diff

- Find on every login: rail and phone dock say Find; 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 (ward, ED, community, site) use the demo's page top:
  plain scoped title, figure row, one act card, Queue and History tabs.
  Rail, tab, title and rows count the same set on every desk. Community
  history rows show the day, not a repeated clock time.
- Scoped page tops lose the old uppercase label (community Movements,
  ward Waiting, site Capacity and Seclusion, desk Statistics); the
  programmatic focus ring on desk Statistics titles is hidden.
- Executive Capacity rebuilt to the demo's "Beds right now" hero and bed
  map, counts only. Stray "/" hint gone from its phone header.
- Transport officer hero shows the real count of pulled beds with no
  transport (count only, no patient data) and says the sender books.
- Admin Governance phone chips removed; Start a triage says its empty
  message once; the hero act box no longer crushes at 820.

Synthetic data only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GxPPxmLz5CoAKCKRjP9d9U
One owner-approved dead-code run (Josh, 29 Nov 2026): the old desk phone
hero files and seven exports knip lists as new unused items. No visible
change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GxPPxmLz5CoAKCKRjP9d9U
@BigSimmo BigSimmo self-assigned this Nov 29, 2026
@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 22d857f0-b5da-421f-b032-e9d7da023da6
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@gitar-bot

gitar-bot Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Gitar is working

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

Gitar

The officer screens moved a line or two; the reviewed behaviour is
unchanged. The Capacity printable guide follows the desk how-to text.
D-287 records Josh's approval of the role-login look.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GxPPxmLz5CoAKCKRjP9d9U
@BigSimmo
BigSimmo marked this pull request as ready for review November 29, 2026 10:08
@BigSimmo
BigSimmo enabled auto-merge November 29, 2026 10:08
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T10:10:08.391481Z 671eb92 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GxPPxmLz5CoAKCKRjP9d9U
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GxPPxmLz5CoAKCKRjP9d9U
…ue pill site

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GxPPxmLz5CoAKCKRjP9d9U
@BigSimmo
BigSimmo merged commit e9b38f6 into main Nov 29, 2026
23 checks passed
@BigSimmo
BigSimmo deleted the claude/project-thread-k6qadu branch November 29, 2026 11:18
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.

2 participants