content-explorer/workplans/CONTENT-WP-0002-ui-extraction.md
tegwick 5f8c2d0dae Register content-explorer workplans for State Hub projection.
Give the seed plans canonical CONTENT-WP frontmatter and task blocks, and classify the repo as infotech research so repo-onboard can project it.

Assistant: grok
Assistant-Session: 01a130f1-abfb-7d71-9cd6-a8b75ec7f95a
2026-10-12 18:35:28 +02:00

102 lines
2.1 KiB
Markdown

---
id: CONTENT-WP-0002
type: workplan
title: "UI extraction and experience skeleton"
domain: infotech
repo: content-explorer
status: proposed
flavor: implementation
depends_on:
- CONTENT-WP-0000
- CONTENT-WP-0001
created: "2026-10-12"
updated: "2026-10-12"
---
# UI extraction and experience skeleton
Deliver the strongest OnCo-style interaction patterns on generic data.
## Work packages
### Extract or port UI tokens, layout, header, hero, and the reusable table from the pinned upstream.
```task
id: CONTENT-WP-0002-T01
status: todo
priority: high
```
### Create a registry-based kind index and entity detail with no oncology imports.
```task
id: CONTENT-WP-0002-T02
status: todo
priority: high
```
### Adapt BrowserRow through a pure mapper and add configurable generic cell renderers.
```task
id: CONTENT-WP-0002-T03
status: todo
priority: high
```
### Preserve shareable URL query, facets, and sorting, and test browser back and forward.
```task
id: CONTENT-WP-0002-T04
status: todo
priority: high
```
### Implement keyboard search, empty, loading, and error states, and responsive layouts.
```task
id: CONTENT-WP-0002-T05
status: todo
priority: high
```
## Acceptance gates
### Browse, search, filter, sort, and detail work for both dataspaces.
```task
id: CONTENT-WP-0002-T06
status: todo
priority: high
```
### A component dependency check prohibits oncology, cancer, drug, and target domain imports in generic code.
```task
id: CONTENT-WP-0002-T07
status: todo
priority: high
```
### Copied upstream components retain provenance headers and notices.
```task
id: CONTENT-WP-0002-T08
status: todo
priority: high
```
### Keyboard and small-screen smoke tests pass.
```task
id: CONTENT-WP-0002-T09
status: todo
priority: high
```
## 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.