feat(editor): findings tree picker + scope disclaimer + PDF render
Replaces the flat PathologyPicker with FindingsTreePicker — breadcrumb navigation, drill into intermediate categories, toggle leaves, optional vet-referral badge, optional description rendering. One picker per zone that has a catalog entry; zones without a tree fall back to the free-text input (renamed FreeTextFindingInput to match the new vocabulary). EditorRoute now loads SpeciesFindings instead of a Pathology[] and shows the scope_disclaimer once per session via a sessionStorage flag so the practitioner is reminded of the legal perimeter the first time. PDF observationPage renders findings via the snapshotted FR label and prefixes ⚠ on vet-referral items, keeping the existing layout pipeline intact (LRN-007/008/009 still apply). Also drops the unused Toast and ZoneTooltip stubs, refreshes the CLAUDE.md folder map, and adds a FindingsTreePicker test covering navigation, leaf toggle, vet-referral flag, and back-out. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
d08d773d74
commit
b67f4cd82b
12 files changed
+473
-186
No files matched your search
@@ -1,3 +0,0 @@
|
||||
export default function Toast() {
|
||||
return <div>Toast placeholder</div>
|
||||
}
|
||||
Reference in new issue
Block a user