Design
Visit page redesign
A proposed minimalist look for the Visit workspace (/app/visits/:id). The page is split into widgets so staff can read the patient, the visit, and the bill at a glance. This is a mock only: nothing in platform/ has changed.
Preview
The mock is clickable: switch tabs, use the "Open SOAP" or "Manage" links, and press the primary button in the patient card to move the visit through its statuses.
Open the mock full screen to check the real size and the responsive layout (resize the window below 1100px and 720px).
Principles
- Warm, not gray. Bone canvas, white widgets, and navy ink from the logo instead of black. It should feel like a clinic, not a developer console.
- One accent, used sparingly. Sage marks the current step, active tab, and "in progress". Amber means needs attention, and red is only for patient alerts.
- One widget, one question. Who is the patient, what to watch out for, where the visit is, who to call, and what it costs.
- Patient first. A hero card holds identity, key stats, the visit progress, and the single primary action.
- Friendly shapes. 16–20px corners, icon tiles on every widget, sentence-case titles, and no uppercase gray labels.
Palette and type
#071927#F5F3EE#FFFFFF#FAF8F4#EBE6DC#3E8E7E#B9802A#C0533D| Role | Spec |
|---|---|
| Font | Plus Jakarta Sans, one family for everything |
| Patient name | 28px / 800 |
| Widget title | 15px / 700, sentence case, with a 32px icon tile |
| Body and values | 14px / 500–600 |
| Status pills | Soft tinted background, no border |
| Icons | Phosphor: duotone in tiles, regular in lists and tabs |
Tokens live in wiki/design/mocks/mock.css so later mocks (Whiteboard, Patient chart) can reuse them.
Widget layout
A full-width patient hero sits on top: photo, name, species, breed, visit code, the primary action, four stat tiles (age, sex, weight, last visit), and the visit progress. Below it, the page uses a wide main column and a 340px side column.
| Main column | Side column |
|---|---|
| Watch out: soft red banner with alerts and handling tags (hidden when empty) | Visit: room, type, veterinarian, arrived, time in clinic |
| Tabs: Overview, SOAP, Diagnostics, Treatments, Charges, History | Pet parent: name, phone, Call and Message |
| Overview: clinical note (S, O, A, P cards), diagnostics, treatments | Charges: line items and a navy total block with the unbilled note |
| Activity: icon timeline of status moves and orders |
Below 1100px both columns merge into one, in this order: alerts, visit, tabs, charges, pet parent, activity. Below 760px grids stack, and below 960px the sidebar is hidden.
Before and after
| Area | Today | Proposal |
|---|---|---|
| Header | One tall sticky card with identity, vitals, attention strip, visit facts, and stepper | Patient hero (identity, stat tiles, progress, action). Alerts and visit facts move to their own widgets. |
| Stepper | Numbered dots inside the header | Check marks for done steps, a sage ring for the current one, inside the hero |
| Primary action | Shown in the header and again near the total | Once, in the hero, next to Record |
| Tabs | 7 tabs (Services and Medications separate) | 6 icon tabs with a sage underline. Services become Charges and Medications join Treatments. |
| Overview | Items list and SOAP summary stacked | S, O, A, P cards in a 2×2 grid, Diagnostics and Treatments side by side. Charges always visible in the side column. |
| Pet parent | Text inside the vitals strip | Its own widget with Call and Message |
| Color | Tinted surfaces and colored chips | Warm neutrals and navy ink. Sage, amber, and red only as soft pills and tiles. |
| Logo | Iso mark | New reversed TaskPaws logo at the top of the navy sidebar |
| Sidebar | Collapse control in the header | Toggle next to the logo (or press [). Collapsed shows the isologo and icons only, 72px wide. |
Next steps
- Review the mock with clinic staff (vet, technician, front desk) and adjust widget order.
- If approved, map the tokens to the Tailwind theme in
platform/app/assets/tailwindand toAppUiconstants. - Rebuild
app/visits/_headerand_tab_overviewas widget partials. The drawer (cockpit) gets the one-column layout. - Mock the Whiteboard and Patient chart with the same tokens.
/app.