You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ bun run dev # Start web server (logs to logs/server.log)
39
39
bun run dev # Start server with hot reload
40
40
bun run stop # Stop the server
41
41
bun run logs # Tail server logs
42
-
bun run mllp # Start MLLP server (port 2575)
42
+
bun run mllp # Start MLLP server (port 2575). Separate process from `bun run dev`; no hot-reload. Restart it after changes to src/mllp/mllp-server.ts.
43
43
bun scripts/load-test-data.ts # Load 5 test patients with related resources
44
44
bun scripts/import-batch.ts <zip|dir> [--tag <name>] # Bulk-import HL7v2 messages under a batchTag
45
45
bun run typecheck # TypeScript type checking
@@ -71,7 +71,8 @@ Read `docs/developer-guide/how-to/development-guide.md` for test infrastructure,
71
71
72
72
Env flags:
73
73
-`DISABLE_POLLING=1` — do not start any workers (useful for tests or when running the standalone `bun src/v2-to-fhir/processor-service.ts` scripts).
74
-
-`POLL_INTERVAL_MS` — override poll interval. Default 5000ms (demo-friendly). The standalone scripts still use their own 60000ms default.
74
+
-`POLL_INTERVAL_MS` — override poll interval. Default 1000ms. The standalone scripts still use their own 60000ms default.
75
+
-`DEMO_MODE` — default-on. Controls the Dashboard's "Run demo now" endpoint (`POST /demo/run-scenario`). Unset, empty, or any non-`"off"` value enables it; only `DEMO_MODE=off` disables (returns 403).
75
76
76
77
The per-service standalone entrypoints (`bun src/bar/sender-service.ts` etc.) are unchanged and still work — they share the same factories.
77
78
@@ -81,7 +82,8 @@ The per-service standalone entrypoints (`bun src/bar/sender-service.ts` etc.) ar
81
82
82
83
Env flags:
83
84
-`DISABLE_POLLING=1` — do not start any workers (useful for tests or when running the standalone `bun src/v2-to-fhir/processor-service.ts` scripts).
84
-
-`POLL_INTERVAL_MS` — override poll interval. Default 5000ms (demo-friendly). The standalone scripts still use their own 60000ms default.
85
+
-`POLL_INTERVAL_MS` — override poll interval. Default 1000ms. The standalone scripts still use their own 60000ms default.
86
+
-`DEMO_MODE` — default-on. Controls the Dashboard's "Run demo now" endpoint (`POST /demo/run-scenario`). Unset, empty, or any non-`"off"` value enables it; only `DEMO_MODE=off` disables (returns 403).
85
87
86
88
The per-service standalone entrypoints (`bun src/bar/sender-service.ts` etc.) are unchanged and still work — they share the same factories.
87
89
@@ -119,12 +121,19 @@ For anything beyond this file, read `docs/developer-guide/`:
| Design tokens, class vocabulary, color palette |`ui-design-tokens.md`|
126
+
| End-to-end recipe for adding a new UI page |`how-to/add-ui-page.md`|
122
127
| VXU ORDER OBX hard error decision |`adr/001-unknown-order-obx-hard-error.md`|
123
128
124
129
## Code Style
125
130
126
131
IMPORTANT: Read `.claude/code-style.md` before writing or modifying code.
127
132
133
+
UI conventions: see `docs/developer-guide/ui-architecture.md`.
134
+
135
+
Tailwind v4 gotcha: Tailwind utilities are emitted inside cascade layers, while `DESIGN_SYSTEM_CSS` is plain unlayered CSS. Broad unlayered resets override utilities even when the utility selector looks more specific; e.g. `a { color: inherit; }` breaks legacy anchor tabs using `text-white` / `text-gray-*`. Scope resets to unclassed elements (`a:not([class])`) or put them in Tailwind's base layer.
136
+
128
137
## Bun, not Node
129
138
130
139
This project uses Bun. Use `bun`/`bun install`/`bun run` instead of `node`/`npm`/`yarn`/`pnpm`. Unit tests use `bun test` (not jest/vitest). Bun auto-loads `.env` (no `dotenv`). HTTP: `Bun.serve()`. File I/O: `Bun.file`.
Copy file name to clipboardExpand all lines: ai/tickets/2026-04-22-demo-ready-ui-tier1.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,8 @@
1
1
# Plan: Demo-Ready UI (Tier 1)
2
2
3
+
> **Status: tasks 3–7 superseded by [`2026-04-23-ui-design-system-refactor.md`](./2026-04-23-ui-design-system-refactor.md)** (completed 2026-04-23).
4
+
> Tasks 1 and 2 shipped as planned; tasks 3–7 were folded into the warm-paper redesign and are no longer actionable here. See the superseding plan for the final implementation.
5
+
3
6
## Overview
4
7
5
8
Transform the admin-grade UI into a customer-demo-ready UI without a rewrite. Biggest unlock: auto-start the three polling services inside the web server so the pipeline is genuinely live on screen. Everything else (dashboard, nav regrouping, severity-graded status colors, auto-refresh, demo scenario button) builds on that foundation.
0 commit comments