From 7b61df8a65dff7722826f22b5e855c92e5f687cb Mon Sep 17 00:00:00 2001 From: abrichr Date: Sun, 18 Oct 2026 00:11:12 -0400 Subject: [PATCH] style: one sans face and 'workflow' as the noun everywhere - --font-heading flips to the sans (one revertible constant, with --fw-heading), matching OpenAdapt Cloud and the phone decision portal. Page titles 28px; cards drop their shadow. - User-facing copy says 'workflow' instead of 'task' (string literals and JSX text only; identifiers, routes, ids and test ids unchanged). The primary button reads 'Record a workflow'. - Tests updated to the new wording. --- src/App.firstWorkflowNavigation.test.tsx | 30 ++++++++++----------- src/App.tsx | 12 ++++----- src/lib/attention.ts | 2 +- src/lib/checkPlan.ts | 6 ++--- src/lib/outcomes.ts | 2 +- src/lib/parseItems.ts | 2 +- src/lib/tasks.ts | 2 +- src/screens/Advanced.tsx | 12 ++++----- src/screens/CheckIt.test.tsx | 18 ++++++------- src/screens/CheckIt.tsx | 28 +++++++++---------- src/screens/Login.tsx | 2 +- src/screens/Onboarding.test.tsx | 2 +- src/screens/Onboarding.tsx | 4 +-- src/screens/RecordReview.test.tsx | 26 +++++++++--------- src/screens/RecordReview.tsx | 34 ++++++++++++------------ src/screens/Results.tsx | 10 +++---- src/screens/RunIt.test.tsx | 4 +-- src/screens/RunIt.tsx | 10 +++---- src/screens/Runner.tsx | 4 +-- src/screens/Sample.tsx | 10 +++---- src/screens/Settings.tsx | 4 +-- src/screens/Tasks.tsx | 12 ++++----- src/screens/WatchRun.test.tsx | 2 +- src/screens/WatchRun.tsx | 2 +- src/screens/Welcome.tsx | 10 +++---- src/styles/app.css | 13 +++++---- src/styles/tokens.css | 10 ++++--- src/ui/ApprovalSwitch.tsx | 2 +- src/ui/ItemApproval.tsx | 2 +- src/ui/JudgmentCaseCapture.tsx | 2 +- src/ui/ShadowMode.tsx | 4 +-- 31 files changed, 142 insertions(+), 141 deletions(-) diff --git a/src/App.firstWorkflowNavigation.test.tsx b/src/App.firstWorkflowNavigation.test.tsx index e73c04a2..284e00b1 100644 --- a/src/App.firstWorkflowNavigation.test.tsx +++ b/src/App.firstWorkflowNavigation.test.tsx @@ -25,7 +25,7 @@ vi.mock("./screens/Welcome", () => ({ Welcome: ({ onShow, onSample }: { onShow: () => void; onSample: () => void }) => (