Some checks failed
synthetic / suite (push) Has been cancelled
Assistant: grok Assistant-Session: 01a1531b-6698-7732-8587-f28ea604bcdf
3.7 KiB
3.7 KiB
OnCo → Content Explorer UX parity matrix
| Pattern | Reference | v0.1 target | Reuse path | Test |
|---|---|---|---|---|
| Editorial landing and global search | onco.cc home | Adapt | Header/home shell; dynamic title/category cards | Switch domain and labels update |
| Kind directory | /[kind]/ |
Adapt | Dynamic kind route from manifest | Both manifests render |
| Faceted table | EntityBrowser.tsx |
Strong reuse | Extract BrowserRow / facets/columns |
URL filtering, sorting |
| Deep-linked view state | EntityBrowser.tsx |
Strong reuse | URL q/facets/sort | Reload retains state |
| Object detail | EntityDetail.tsx |
Adapt | Generic tabs and property renderers | Same component for 2 domains |
| Backlinks | graph.ts |
Reimplement core | Canonical typed edges and reverse index | All inbound/outbound visible |
| Source evidence | schema.ts / detail |
Extend | Claim/source lineage display | Every cited display links to origin |
| Glossary tooltip | Tip.tsx |
Later | Term-kind annotation | Graceful absence |
| Graph Explorer | public site | P1 | Neighbor-based generic viewer | Bounded graph, focus change |
| Collections/reading paths | public site | P2 | Manifest collection | Guided route |
| Timelines/comparisons | public site | P2 | Optional widget capabilities | Not rendered when unsupported |
| Static API | build-api |
P1 | snapshot.json then versioned endpoint |
Contract validation |
| Ask / MCP | upstream packages | P3 | Common read contract | Explicitly deferred |
| Cancer anatomy/clinical actions | public site | Excluded | No generic analogue | No medical specificity leaked |
Disposition after CONTENT-WP-0005
Each row is reused, generalized, omitted, or deferred. Pixel equality with OnCo is not a target.
| Pattern | Disposition | What shipped |
|---|---|---|
| Editorial landing and global search | generalized | Dataspace home, header, and record search. The command palette is not included. |
| Kind directory | generalized | /{dataspace}/{kind}/ from the snapshot registry. |
| Faceted table | reused | ResultsTable and tag facets, reduced from the pinned table. |
| Deep-linked view state | reused | q, repeated facet keys, and sort with a leading -. |
| Object detail | generalized | Title, summary, sources, claims, and relation blocks. EntityDetail.tsx was not copied. |
| Backlinks | generalized | Incoming relations use the manifest inverse label. |
| Source evidence | generalized | Source title and license on the record. No separate citation browser. |
| Glossary tooltip | generalized | Optional glossary and link preview. Absent data leaves the link in place. |
| Graph explorer | generalized | One-hop and two-hop neighborhood, adjacency export, focus in the URL. |
| Collections and reading paths | generalized | Declared on entity properties, rendered as member links and breadcrumbs. |
| Timelines and comparisons | omitted | No timeline or comparison widget. |
| Static API | deferred | Snapshots are files. There is no versioned HTTP snapshot endpoint. |
| Ask / MCP | deferred | Not in this suite. |
| Cancer anatomy and clinical actions | omitted | No medical widgets and no oncology corpus. |
| OnCo mark, garden art, and logos | omitted | Not copied. ui/NOTICE keeps the MIT attribution and the pin. |
Visual acceptance
At WP-00 capture desktop and narrow-screen reference views of homepage, directory, entity page, filtered table, related-items view. Use these screenshots as inspiration/benchmark, not redistribute without review. Compare spacing, hierarchy, readable density, color tokens, accessible contrast, empty states, keyboard paths, tooltip behavior and URL/history semantics. Record intentional deviations (branding, medical tools, sources).