Icon glyph refinements: services → Route, medication risk/contra/safe differentiated#523
Merged
Merged
Conversation
…afety Follow-up to #519, applying the icon-gallery review items: - Services mode: ShieldCheck → Route. The mode is "service records + referral pathways"; ShieldCheck read as safety/trust. Changed at the single source (app-mode-icons.ts, so nav/search/favourites follow) plus the matching documentFacetIcons "Service" entry. - Medication record sections differentiated (risk/contra/safe all shared ShieldCheck): risk → TriangleAlert, contra → Ban, safe → ShieldCheck. Aligned with the app's semantic-tone safety icons (warning/danger); "contra" already carries a danger tone (medications.ts), which Ban matches. - Differentials kept as BrainCircuit: evaluated GitCompare (reads as a dev/git glyph in a clinical app) and Stethoscope (already used for "Clinical role" in settings) — neither beats BrainCircuit for distinctiveness + clinical legibility. Verified: prettier, lint --max-warnings 0, typecheck, check:icon-scale, brand:check green; no snapshot tests reference these maps (CI runs the full vitest + build gate). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
Contributor
📝 WalkthroughWalkthroughUpdated Lucide icon mappings for service-related facets and app modes, plus medication risk and contraindication sections. No search logic, state handling, or public component APIs changed. ChangesIcon Mapping Updates
Estimated code review effort: 1 (Trivial) | ~5 minutes Caution Pre-merge checks failedPlease resolve all errors before merging. Addressing warnings is optional.
❌ Failed checks (1 error)
✅ Passed checks (10 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
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.
Follow-up to #519, resolving the three open icon-gallery review items.
ShieldCheck→Route. The mode is "service records + referral pathways"; ShieldCheck read as safety/trust. Changed at the single source (app-mode-icons.ts, so nav/search/favourites follow) plus the matchingdocumentFacetIcons"Service" entry.risk/contra/safeall sharedShieldCheck): risk →TriangleAlert, contra →Ban, safe →ShieldCheck. Aligned with the app's semantic-tone safety icons (warning/danger);contraalready carries adangertone (medications.ts), whichBanmatches.BrainCircuit— evaluatedGitCompare(reads as a dev/git glyph in a clinical app) andStethoscope(already used for "Clinical role" in settings); neither beats BrainCircuit for distinctiveness + clinical legibility.Clinical governance: N/A — presentation-only icon swaps. No changes to ingestion, answer generation, search/ranking, source governance, document access, or clinical content.
Verified: prettier,
npm run lint -- --max-warnings 0, typecheck,check:icon-scale,brand:checkall green; no snapshot tests reference these maps (CI runs the full vitest + build gate).🤖 Generated with Claude Code