From 7bc90b350c010ade66885df1254a5bde2c29e61a Mon Sep 17 00:00:00 2001 From: abrichr Date: Wed, 18 Nov 2026 22:57:24 -0500 Subject: [PATCH 1/2] fix(desktop): describe OpenAdapt for any app on the welcome screen The first screen said OpenAdapt enters information into EMRs, payer portals and Citrix apps, and described only a person doing the workflow. It now says what OpenAdapt does for any app: a person or an AI agent does a workflow once, and OpenAdapt turns it into a program that repeats it with new inputs and checks each save by reading it back. Medical records and insurance appear as examples of highly regulated work. The same change is made to the other strings that named a clinic, a patient or a claim as the audience: the Workflows empty state, the approval requirements, two Settings lines, and four examples and placeholders. --- packages/desktop/src/lib/approvalMode.ts | 6 ++-- packages/desktop/src/screens/CheckIt.tsx | 2 +- .../desktop/src/screens/Qualification.tsx | 2 +- packages/desktop/src/screens/RecordReview.tsx | 6 ++-- packages/desktop/src/screens/Sample.tsx | 4 +-- packages/desktop/src/screens/Settings.tsx | 4 +-- packages/desktop/src/screens/Tasks.tsx | 8 ++--- packages/desktop/src/screens/Welcome.test.tsx | 30 +++++++++++++++++++ packages/desktop/src/screens/Welcome.tsx | 18 ++++++----- .../desktop/src/ui/ApprovalSwitch.test.tsx | 2 +- packages/desktop/src/ui/ApprovalSwitch.tsx | 2 +- .../desktop/src/ui/ExecutionTargetForm.tsx | 2 +- 12 files changed, 59 insertions(+), 27 deletions(-) create mode 100644 packages/desktop/src/screens/Welcome.test.tsx diff --git a/packages/desktop/src/lib/approvalMode.ts b/packages/desktop/src/lib/approvalMode.ts index f3e8515275..45639e346a 100644 --- a/packages/desktop/src/lib/approvalMode.ts +++ b/packages/desktop/src/lib/approvalMode.ts @@ -101,7 +101,7 @@ const DEFAULT_NEXT: Record = { E1: "Check this task and approve this version, then admit it in OpenAdapt Cloud.", E2: "Set up a record check that reads back every value from your records system.", E3: "Make sure every save has a record check and nothing deletes, sends, signs or orders.", - E4: "Run the readiness test on this computer, then a person at the clinic signs it off.", + E4: "Run the readiness test on this computer, then a person at your organization signs it off.", E5: "Run recent items with a person approving each one.", E6: "Your IT sets up this computer as a runner with a dedicated OpenAdapt user.", E7: "Record in OpenAdapt Cloud where the values in your lists come from.", @@ -123,9 +123,9 @@ const NEXT: Record = { irreversible_write: "The task deletes, sends, signs or orders something. That always needs a person.", production_write_authorization_missing: - "Record the clinic's written permission for test writes in the application.", + "Record your organization's written permission for test writes in the application.", runner_setup_not_current: "Your IT sets up this computer as a runner with a dedicated OpenAdapt user.", - privacy_contact_not_named: "Name the clinic's privacy contact in OpenAdapt Cloud.", + privacy_contact_not_named: "Name your organization's privacy contact in OpenAdapt Cloud.", }; export function requirementTitle(code: RequirementResult["code"]): string { diff --git a/packages/desktop/src/screens/CheckIt.tsx b/packages/desktop/src/screens/CheckIt.tsx index e758f54fde..1f32be7a20 100644 --- a/packages/desktop/src/screens/CheckIt.tsx +++ b/packages/desktop/src/screens/CheckIt.tsx @@ -1347,7 +1347,7 @@ export function CheckIt({ id={`${idPrefix}-app`} className="input" value={appName} - placeholder="Your EMR or portal" + placeholder="The app's name" onChange={(event) => setAppName(event.target.value)} /> diff --git a/packages/desktop/src/screens/Qualification.tsx b/packages/desktop/src/screens/Qualification.tsx index 313efd92d3..d77dd6d43b 100644 --- a/packages/desktop/src/screens/Qualification.tsx +++ b/packages/desktop/src/screens/Qualification.tsx @@ -877,7 +877,7 @@ export function Qualification({ className="input" value={environmentLabel} onChange={(event) => setEnvironmentLabel(event.target.value)} - placeholder="clinic-test-citrix-vda" + placeholder="test-citrix-vda" /> SHA-256 of the trimmed UTF-8 identifier. Configure the diff --git a/packages/desktop/src/screens/RecordReview.tsx b/packages/desktop/src/screens/RecordReview.tsx index 8d53c5d153..8fffa79c6e 100644 --- a/packages/desktop/src/screens/RecordReview.tsx +++ b/packages/desktop/src/screens/RecordReview.tsx @@ -406,7 +406,7 @@ export function RecordReview({ label={firstWorkflow ? "What does this workflow do?" : "Workflow description"} hint={ firstWorkflow - ? "For example: Add a claim status note. This name shows on the workflow's card." + ? "For example: Add a note to a customer record. This name shows on the workflow's card." : "Optional. Saved with the recording. OpenAdapt doesn't send it anywhere unless you choose to upload the recording." } htmlFor={`${fieldPrefix}-record-task`} @@ -421,7 +421,7 @@ export function RecordReview({ onChange={(event) => setTask(event.target.value)} placeholder={ firstWorkflow - ? "Add a claim status note" + ? "Add a note to a customer record" : undefined } /> @@ -584,7 +584,7 @@ export function RecordReview({ engineInvoke(CMD.SCRUB_CAPTURE, { capture_id: lastCapture }) } > - Remove patient data and review + Remove personal data and review {presentationStatus?.ready && (