Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
941fe19
fix(ui): design-review fixes for differentials, services, favourites
BigSimmo Jul 2, 2026
b60fd61
fix(ui): design-review fixes for service detail, search header, sideb…
BigSimmo Jul 2, 2026
f5cb693
feat(search): give services mode its own search/result kind
BigSimmo Jul 2, 2026
e0435a8
fix(build): avoid Node 24 WasmHash worker crash in webpack production…
BigSimmo Jul 2, 2026
d327732
chore: add llms.txt AI-crawler manifest
BigSimmo Jul 2, 2026
2cf4764
feat(mockups): add tools-page command-center/split-pane/workflow-boar…
BigSimmo Jul 2, 2026
d605e95
fix(db): cover storage_cleanup_jobs FK, tune embedding_fields autovac…
BigSimmo Jul 2, 2026
74ba909
refactor(ui): adopt type-scale tokens and design-review polish across…
BigSimmo Jul 2, 2026
46b433b
docs(redesign): add token-adoption audit and design-review prompt
BigSimmo Jul 2, 2026
6bbf3f2
feat(mockups): add favourites and task-directory concepts
BigSimmo Jul 2, 2026
dae41bb
fix(review): address tools mockup PR comments
BigSimmo Jul 3, 2026
55e0345
fix(review): address remaining tools mockup feedback
BigSimmo Jul 3, 2026
ca0c1d5
fix(review): address services and schema comments
BigSimmo Jul 3, 2026
21bfca1
Changes before error encountered
Copilot Jul 3, 2026
4e424de
Merge remote-tracking branch 'origin/main' into feature/tools-page-mo…
BigSimmo Jul 3, 2026
a90245b
merge: begin resolving conflicts with origin/main
Copilot Jul 3, 2026
c1e4944
Merge remote-tracking branch 'origin/feature/tools-page-mockups' into…
BigSimmo Jul 3, 2026
7498351
fix(merge): resolve conflict markers left in merge commit
Copilot Jul 3, 2026
de5c9fe
Merge remote-tracking branch 'origin/feature/tools-page-mockups' into…
BigSimmo Jul 3, 2026
952c2e7
style: apply prettier formatting
BigSimmo Jul 3, 2026
2ca4685
fix: restore ui smoke mode contracts
BigSimmo Jul 3, 2026
5b62320
fix(review): address latest PR 215 comments
BigSimmo Jul 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions docs/clinical-badge-system-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,22 @@ Static badges must not look clickable. Interactive chips must use proper button

Use six top-level tones only. Do not add more badge colours.

| Tone | Meaning | Examples | Do not use for |
| --------------- | -------------------------------------------- | --------------------------------------------------------------------------------- | ---------------------------------------- |
| Neutral / slate | Reference metadata and passive facts | `333 mg EC tablet`, `Item 8357W`, `Campral`, `p.4`, `PDF`, `Max 1,998 mg/day` | Urgent risks, actions, or trust state |
| Clinical / teal | Action to take | `666 mg TID`, `Monitor renal`, `Take with food`, `Check baseline` | Verified/current/source-backed state |
| Success / green | Confirmed, current, available, source-backed | `Reviewed`, `Current`, `Source-backed`, `PBS streamlined`, `Completed` | Clinical safety decisions |
| Warning / amber | Pause, check, adjust, uncertain, limited | `Reduce <60 kg`, `Review due`, `Partial support`, `Limited evidence`, `Avoid >65` | Hard stops or contraindications |
| Danger / red | Stop, avoid, failed, unsafe | `Cr >120 avoid`, `Contraindicated`, `Outdated`, `Failed`, `Do not use` | Routine adverse effects or mild cautions |
| Info / blue | System or process information | `Processing`, `Syncing`, `Pending`, `Importing` | Core clinical meaning |
| Tone | Meaning | Examples | Do not use for |
| ----------------- | -------------------------------------------- | --------------------------------------------------------------------------------- | ---------------------------------------- |
| Neutral / slate | Reference metadata and passive facts | `333 mg EC tablet`, `Item 8357W`, `Campral`, `p.4`, `PDF`, `Max 1,998 mg/day` | Urgent risks, actions, or trust state |
| Clinical / Aegean | Action to take | `666 mg TID`, `Monitor renal`, `Take with food`, `Check baseline` | Verified/current/source-backed state |
| Success / green | Confirmed, current, available, source-backed | `Reviewed`, `Current`, `Source-backed`, `PBS streamlined`, `Completed` | Clinical safety decisions |
| Warning / amber | Pause, check, adjust, uncertain, limited | `Reduce <60 kg`, `Review due`, `Partial support`, `Limited evidence`, `Avoid >65` | Hard stops or contraindications |
| Danger / red | Stop, avoid, failed, unsafe | `Cr >120 avoid`, `Contraindicated`, `Outdated`, `Failed`, `Do not use` | Routine adverse effects or mild cautions |
| Info / blue | System or process information | `Processing`, `Syncing`, `Pending`, `Importing` | Core clinical meaning |

Do not add purple, pink, orange, cyan, or extra medication-specific badge colours. Orange collapses into amber. Purple should not be used for clinical badges because it reads as product or AI styling rather than clinical meaning.

## Tone Rules

Green means trusted, current, reviewed, available, or source-backed. It does not mean clinically safe.

Teal means a clinical action or instruction. It does not mean good, safe, or verified.
The clinical accent (Aegean blue-teal) means a clinical action or instruction. It does not mean good, safe, or verified.

Amber means pause, check, adjust, review, or interpret with caution.

Expand Down Expand Up @@ -402,14 +402,14 @@ Avoid code-facing colour names such as `green`, `red`, `amber`, or `slate` for n

Map semantic tones to existing tokens:

| Semantic tone | Existing style direction |
| ------------- | ----------------------------------- |
| `neutral` | `toneNeutral` / metadata pill |
| `clinical` | clinical teal token |
| `success` | `toneSuccess` |
| `warning` | `toneWarning` or `toneWarningQuiet` |
| `danger` | `toneDanger` |
| `info` | `toneInfo` |
| Semantic tone | Existing style direction |
| ------------- | ------------------------------------------- |
| `neutral` | `toneNeutral` / metadata pill |
| `clinical` | clinical accent token (`--clinical-accent`) |
| `success` | `toneSuccess` |
| `warning` | `toneWarning` or `toneWarningQuiet` |
| `danger` | `toneDanger` |
| `info` | `toneInfo` |

## Accessibility Requirements

Expand Down Expand Up @@ -476,7 +476,7 @@ Avoid:
- badge every answer bullet
- use green for "safe"
- use red for routine side effects
- use teal for verified/current
- use the clinical accent for verified/current
- use blue for clinical action
- add purple for AI
- add orange beside amber
Expand Down
2 changes: 2 additions & 0 deletions docs/clinical-chat-ui-component-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Date: 2026-06-24

> **Colour direction superseded (July 2026).** This Phase-2 mapping artifact is retained as history. Its colour aliases ("deep teal", "pale teal", "clinical sand", "document blue-grey") predate the **Clinical White / Aegean Graphite** role tokens now in `globals.css`; see [`redesign/02-design-direction.md`](redesign/02-design-direction.md) and [`redesign/permanent-colour-direction.md`](redesign/permanent-colour-direction.md). Read colour references as the role tokens `--command` (graphite), `--clinical-accent` (Aegean), and `--success` (green, success-only).

## Purpose

This document translates the approved clinical chat UI direction into a practical component-level implementation map. It identifies what each current UI area should become, which files are likely involved, what should be preserved, and what should be moved, collapsed, or restyled.
Expand Down
2 changes: 2 additions & 0 deletions docs/clinical-chat-ui-implementation-plan.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Date: 2026-06-23

> **Colour direction superseded (July 2026).** The layout, interaction, and answer-first plan below still stands, but its colour language predates the **Clinical White / Aegean Graphite** role-split; see [`redesign/02-design-direction.md`](redesign/02-design-direction.md) and [`redesign/permanent-colour-direction.md`](redesign/permanent-colour-direction.md). Where this doc says "teal", read the role tokens: `--command` (graphite) for primary actions and `--clinical-accent` (Aegean blue-teal) for evidence/selected/send/focus; green is success-only.

## Purpose

This document captures the agreed implementation plan for mapping the final ChatGPT-inspired clinical chatbot mockups into the application faithfully. It is intentionally written before code changes so implementation can proceed in controlled visual slices with clear acceptance criteria.
Expand Down
Loading
Loading