fix(ui): one name per measure across the pilot's screens, and patient links under /patients (#648) - #724
Merged
Conversation
added 2 commits
September 28, 2026 17:43
…d for the deployment (#648) The compliance roster's "Scoped to" line printed the id twice ("MIPS 113 · CMS130 · cms130"), and the measure pickers offered plain names where the cards say "MIPS 113 · CMS130 · Colorectal Cancer Screening". Every picker (Cases, Orders, Campaigns, the hierarchy, groups, Admin waivers) and the roster line now use the card's label; a measure with no published identity keeps its name. Work list gap chips carry the short form ("MIPS 113 · CMS130") so a row of three still fits its cell; the full label, status and next action are the chip's tooltip and accessible name. Subject links are built by one helper from the deployment's term: /patients/<id> on a patient deployment. The /patients route serves the same page, and /employees/<id> still opens, so bookmarks and TWH are unaffected. The Maui e2e selectors follow the new links.
…'s label, the profile encodes its id, the route is documented
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.
Closes #648.
I rechecked every surface on the live Maui sandbox first (details on the issue). The Cases cards, case detail and the attributed-list report were already right. This PR fixes the rest.
One label per measure
MIPS 113 · CMS130 · cms130, with the id twice and no name. It now useslabelForId.MIPS 113 · CMS130 · Colorectal Cancer Screening:MIPS 113 · CMS130(newshortLabelFor), so a row of three still fits its cell. The full label, status and next action are the chip's tooltip and accessible name, and the visible text is where that name starts (WCAG 2.5.3).Patient links
subjectPath(id):/patients/<id>on a patient deployment,/employees/<id>otherwise. It is used at 10 link sites./patients/[externalId]route serves the same page./employees/<id>still opens, so bookmarks and TWH are unchanged./patients/; CI builds that stack withNEXT_PUBLIC_SUBJECT_TERM=patient.Left as they are
Tests
New or changed:
lib/subject-path.test.ts: both terms, plus encoding.13 mutations, all caught. Full frontend suite (585), lint and build pass locally; the build lists
/patients/[externalId].