content-explorer/workplans/CONTENT-WP-0002-ui-extraction.md
tegwick a6e360aaa5 Port the explorer shell: tokens, header, hero, and a generic table.
CONTENT-WP-0002-T01 adapts the pinned OnCo visual system under ui/ without the corpus, mark, or kind routes.

Assistant: grok
Assistant-Session: 01a1346c-fdff-7741-b1af-b7283661554b
2026-10-13 22:51:00 +02:00

3 KiB

id type title domain repo status flavor depends_on created updated state_hub_workstream_id
CONTENT-WP-0002 workplan UI extraction and experience skeleton infotech content-explorer active implementation
CONTENT-WP-0000
CONTENT-WP-0001
2026-10-12 2026-10-13 55c1d92f-fe1a-552a-998d-2d6905fb6b99

UI extraction and experience skeleton

Deliver the strongest OnCo-style interaction patterns on generic data. CONTENT-WP-0000 and CONTENT-WP-0001 are finished, so this plan is eligible. T01 has landed as a reduced shell under ui/: tokens, layout, header, hero, and a generic sortable table. The sample rows are the systems-thinking fixture. T02 is next. See workplans/evidence/CONTENT-WP-0002-ImplementationNotes.md.

Work packages

Extract or port UI tokens, layout, header, hero, and the reusable table from the pinned upstream.

id: CONTENT-WP-0002-T01
status: done
priority: high
state_hub_task_id: "12db582c-24d1-5a93-a70b-e944c3e88535"

Create a registry-based kind index and entity detail with no oncology imports.

id: CONTENT-WP-0002-T02
status: todo
priority: high
state_hub_task_id: "3a8dcdb5-f4b0-5a5d-99e6-7fd62ea7d002"

Adapt BrowserRow through a pure mapper and add configurable generic cell renderers.

id: CONTENT-WP-0002-T03
status: todo
priority: high
state_hub_task_id: "f3ccb974-153a-5dae-aa52-7a985175ca52"

Preserve shareable URL query, facets, and sorting, and test browser back and forward.

id: CONTENT-WP-0002-T04
status: todo
priority: high
state_hub_task_id: "bacd58df-4834-5157-834e-26da4c6ba470"

Implement keyboard search, empty, loading, and error states, and responsive layouts.

id: CONTENT-WP-0002-T05
status: todo
priority: high
state_hub_task_id: "bbbc39cd-c47f-541d-b43d-df9e7ff646c3"

Acceptance gates

Browse, search, filter, sort, and detail work for both dataspaces.

id: CONTENT-WP-0002-T06
status: todo
priority: high
state_hub_task_id: "3474ef62-53ae-59f5-8a19-55e21ade728a"

A component dependency check prohibits oncology, cancer, drug, and target domain imports in generic code.

id: CONTENT-WP-0002-T07
status: todo
priority: high
state_hub_task_id: "bd6b4dd8-e897-5c08-9e07-a0246def0faf"

Copied upstream components retain provenance headers and notices.

id: CONTENT-WP-0002-T08
status: todo
priority: high
state_hub_task_id: "16172ffd-23e0-5c4f-8cac-2991e589fcdb"

Keyboard and small-screen smoke tests pass.

id: CONTENT-WP-0002-T09
status: todo
priority: high
state_hub_task_id: "5694c902-f76a-5df2-a309-c0c6333f83cc"

Key risk

R4: extraction too expensive. Use a greenfield component where warranted. Log evidence and deviations in the workplan review before marking complete.

Evidence

Pull requests, test logs, pinned artifacts, screenshots, or a comparison report where applicable. Add ImplementationNotes.md and Review.md on completion. Do not mark a gate passed without a verifiable link.