Repository navigation
[docs] Workspaces for 3.1 - #108
Draft
rithviknishad wants to merge 9 commits into
Draft
rithviknishad wants to merge 9 commits into
rithviknishad wants to merge 9 commits into
Conversation
New concept page (concepts/platform/workspace.mdx) and ten flow pages (flows/platform/workspace/), with captioned videos and step screenshots, and a Workspace group in the 3.1 flow sidebar under Platform. Written from facts verified against care@ddfd840 and care_fe@e1e1f17, and confirmed by recording each flow as a non-superuser on a local stack built from those commits. Only 3.1: Workspaces does not exist on the 3.0 branches. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Recording kit: the pointer no longer scrolls horizontally, which shifted right-anchored side sheets sideways in videos. - New assets/verify_facts.py checks every code fact's quote against its cited lines; research.md asks for it and warns that a passing quote does not prove the claim. - media.md: running Care natively (own database, Redis index and ports), replacing the fixture facility's real-looking contact details, recording against a production build, REACT_CARE_URL_MAP must be JSON, copy-on-write node_modules when lockfiles match. - SKILL.md: a subagent can be refused when writing report.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Deploying coredocs with
|
| Latest commit: |
5b69d62
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b176254c.coredocs.pages.dev |
| Branch Preview URL: | https://claude-ezhuthachan-workspace.coredocs.pages.dev |
Each of the ten flow videos now has a voice reading one line per step: the step and a sentence or two of context from its page. The captions track shows what the voice says. Where a line runs longer than its step, the video holds a settled frame and the subtitles are timed to match. AI-generated with ElevenLabs (eleven_v4) in the cloned voices Bill-eng and Gauri-eng, alternating flow by flow in sidebar order. Pages are unchanged: the narrated files replace the recordings under the same names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Re-record all ten flows and their screenshots with realistic, globally understandable names instead of demo markers: City General Hospital, patient Ravi Kumar, and sign-ins arun.mathew and lakshmi.menon. The narration is re-fitted to the new recordings (same voices and lines), and the screenshot alt text names what is now on screen. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The product team asked for authentic, globally understandable names everywhere on screen, including usernames and fixture addresses, and had the Workspaces videos re-recorded for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"Design what a workspace shows on encounters" and "Set what a section shows and when" are one continuous task, so they are now one flow: "Set up the encounter screen with a workspace" (12 steps). It is re-recorded as one flow on one workspace and narrated in Gauri-eng. Links, the sidebar and the page positions are updated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Steps that only continue one goal stay in its flow, and a flow is never split into two pages to shorten its video. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rithviknishad
marked this pull request as ready for review
November 27, 2026 08:20
rithviknishad
marked this pull request as draft
November 27, 2026 08:20
The concept said each person's workspace choice is their own, but not what that means for an administrator who expects to set a default for a role or a department. Care keeps only per-user choices: the default record is keyed by user, and the endpoints that save and read it use only the signed-in user (care emr/models/workspace.py:93-107, api/viewsets/workspace.py:194-234; care_fe workspacePreferences.ts:24-45). The workspace itself has no default field. Pinned care ddfd840, care_fe 5e02f9a. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
billjohnc
added a commit
that referenced
this pull request
Nov 28, 2026
The Workspace concept in #108 also takes position 3 under Platform concepts, and the concepts sidebar is autogenerated, so the order of the two pages was undefined. Workspace keeps 3; Action moves to 4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 28, 2026
billjohnc
added a commit
that referenced
this pull request
Nov 30, 2026
… PRs. The cleanup check found four lessons the open PRs named that this update had not kept: record anyway when the tool refuses the terminology-server check (#121), a database-renamed user's profile returns 404 (#111), a role held only in the facility's root organization does not reach department checks (#116), and REACT_CARE_URL_MAP must be valid JSON (#108). The code facts go in the dated list of seeding traps. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
New documentation for Workspaces in Care 3.1 (no existing page mentioned workspaces):
concepts/platform/workspace.mdx(Workspace), next to Report Template.flows/platform/workspace/, added to the 3.1 flow sidebar under Platform → Workspace:static/media/platform/workspace/. Each flow has one narrated, subtitled video (30–139 s) and screenshots of its steps, with the relevant control outlined.Only 3.1: Workspaces does not exist on the
3.0branch ofcareorcare_fe, so no 3.0 pages were written (this departs from the "keep versions identical" convention on purpose).What it was verified against
care@ddfd840dbe314b4e53d2a719d2138324d970634b(develop, 2026-11-23)care_fe@e1e1f17f8a5c1bfd49020d02da2cc2ed4c4e650d(develop, 2026-11-24)Every statement in the pages was written from a recorded fact: a cited, quote-checked line of the pinned code (505 facts, machine-checked), a runtime probe, or a product decision. Two fresh-context reviews checked each sentence against its fact.
Runtime: a disposable local stack built from exactly those commits (empty database plus Care's own fixtures, invented but realistic names: City General Hospital, patient Ravi Kumar, staff Arun Mathew and Dr. Lakshmi Menon). Permission probes run as non-superusers confirmed:
Every flow was then recorded on that stack as a non-superuser: a Facility Admin in Administration for the admin flows, and a Doctor in a department for the encounter flows. Each recording's API log matched the traced permission path, with no 403. The recordings found one call the code tracing had missed: opening the editor also loads the department lists for "Departments with access". It was added to the paths; if it is refused, only that section is hidden.
Deliberate differences from the house style
## Permissionsand## Where to find it. They are not in the concept template, and the review checklist treats extra sections as findings. But the concept skill asks for Permissions, and 39 of 52 existing concepts have it.enandml.### Choosing a workspaceis an explanatory subsection under Key Attributes, not an attribute.Left out
/admin/workspacesarea: only a superuser can create, edit or share them. The concept only notes that one can appear in your picker when it is shared with your organization.Product findings (not filed)
What the skill learned
Moved to the consolidated Ezhuthachan skill update, #141. This PR no longer changes
.claude/skills/.🤖 Generated with Claude Code