Skip to content

feat(mockups): clinician workflow features 07–15 design study - #1662

Closed
BigSimmo wants to merge 20 commits into
mainfrom
cursor/clinician-workflow-mockups-2b63
Closed

feat(mockups): clinician workflow features 07–15 design study#1662
BigSimmo wants to merge 20 commits into
mainfrom
cursor/clinician-workflow-mockups-2b63

Conversation

@BigSimmo

@BigSimmoBigSimmo commented Aug 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Interactive design-system mockups for clinician workflow features 07–15 (Continue strip, Split reading, Prefer local, Refer, Forms pathway, Prescribing source pack, Evidence preview, Phone Filter sheet, Ward handoff).
  • Route: /mockups/clinician-workflow-features (dev-only; production 404).
  • Uses live DS components: Chip, Button, Sheet, VerificationNotice, Clinical White tokens.
  • Shared mockup search chrome suppressed so study frames/sheets are unambiguous.
  • Sitemap + mockups/README.md updated.

Screenshots

07 Continue strip
08 Split reading
09 Prefer local
10 Refer action
11 Forms pathway
12 Prescribing pack
13 Evidence preview
14 Phone Filter sheet
15 Ward handoff pack

How to review

  1. npm run ensure
  2. Open the printed URL + /mockups/clinician-workflow-features
  3. Click each feature chip (07–15) and exercise Refer / Source pack / Filter / Handoff actions

Notes

  • Mockups only — no production mode wiring, no RAG ranking changes.
  • Prefer local is framed as UI scope only (explicitly not a ranking change).
  • Evidence preview copy states incomplete preview is discarded on verification failure.

Test plan

  • Mockup route loads in dev
  • Each of 9 feature studies renders
  • Sheet interactions (Source pack, Filter) open/close
  • Prefer local chip remove/restore works
  • Typecheck clean for new files

To show artifacts inline, enable in settings.

Open in WebOpen in Cursor

Interactive mockups for Continue strip, split reading, prefer-local,
Refer, forms pathway, prescribing source pack, evidence preview,
phone Filter sheet, and ward handoff — using DS Chip/Button/Sheet/
VerificationNotice. Route: /mockups/clinician-workflow-features.
@coderabbitai

coderabbitaiBot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 39af58b4-cdf9-4ce6-b337-fb53aee822c8

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

@supabase

supabaseBot commented Aug 6, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project sjrfecxgysukkwxsowpy because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

BigSimmoand others added 18 commits August 7, 2026 07:35
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Avoids ReferenceError: window is not defined when the clipboard
copy reset fires after jsdom tears down the test environment.
Co-authored-by: BigSimmo <BigSimmo@users.noreply.github.com>
Avoid showing a success status when navigator.clipboard.writeText fails in the ward handoff study.
Co-authored-by: Cursor <cursoragent@cursor.com>
@BigSimmo

Copy link
Copy Markdown
OwnerAuthor

Autopilot + Bugbot — PR #1662

Head:9b945feb1b7bb60d4f4c033db5e929bad2a641db (was 42ccad8ecc2889612e8f25ba79bb26a19e0a8baa)
Draft: true | MERGEABLE (GitHub may still show BEHIND briefly as main advances)

Snapshot (at review start / after unblock)

ItemResult
ConflictsNone (merge-tree clean vs origin/main)
Unresolved review threadsNone (including Bugbot)
Required CI (pre-fix tip)Green incl. PR required, Production UI, Build, Static PR
Behind/ahead after sync0 / 19 at push; main advanced +2 after push (left as-is — one late sync already done)

Actions

  1. Sync: tip was behind-but-clean; one git merge origin/main then push.
  2. Threads: none to triage.
  3. Fix (P2): ward handoff mockup only sets “copied” after a successful clipboard.writeText (was claiming success on failure).
  4. Also present on branch: production patient-safety-plan copy-timer cleanup (already on tip before this pass).
  5. Bugbot: could not run (usage limit); local high-confidence review of the mockup delta.

Verification

  • format:changed PASS
  • lint:internal PASS
  • typecheck:internal PASS
  • knip PASS
  • focused eslint on touched TSX PASS
  • Full verify:cheap / verify:pr-local hit heavy-run lock contention (EPERM / admission busy); not treated as a product failure

Blockers

  • Draft PR (cannot merge until marked ready)
  • CI re-running on post-fix tip — wait for PR required green
  • Not merged (by design)

@cursor

cursorBot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Closing as low-yield design-scratch: clinician workflow features 07–15 mockup study only.

The only production-worthy delta — fix(safety-plan): clear copy-feedback timer on unmount — was extracted to #1717 before close.

Branch left in place for recovery — not deleted.

@BigSimmoBigSimmo closed this Aug 8, 2026
Sign up for freeto 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

@BigSimmo@cursoragent