citation-evidence/workplans/CE-WP-0011-attributes-guide-nm.md
codex 40a876db99
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s
fix(workplans): adopt ADR-007 derived identifiers for unregistered records
These workplans exist only in the retired local hub. Their random pre-ADR-007
identifiers are refused by C-06 as stale references, so they cannot be
registered. Deriving from the canonical record id takes no identity from
anything: central does not hold them and the old ids die with the cache.

Records central already holds were deliberately left untouched.

Refs CUST-WP-0068-T06

Assistant: claude-code
Assistant-Model: opus
Assistant-Process: 2583210@bnt-lap001
Assistant-Session: f2bff2d5-e9b2-4338-92ca-10282a927006
2026-08-25 20:07:52 +02:00

87 lines
2.4 KiB
Markdown

---
id: CE-WP-0011
type: workplan
title: "Attributes guide n:m lines, title migration, Add attribute placement"
domain: infotech
repo: citation-evidence
repo_id: a677c189-b4e2-4f2a-9e48-faa482c277e6
topic_slug: citation_evidence_mvp
topic_id: cee7bedf-2b48-46ef-8601-006474f2ad7a
status: finished
owner: codex
created: "2026-07-30"
updated: "2026-07-30"
depends_on_workplan: CE-WP-0010
planning_order: 11
planning_priority: high
spec_refs:
- workplans/CE-WP-0010-annotate-attributes-ux.md
- workplans/CE-WP-0003-form-binding-visual-guide.md
state_hub_workstream_id: "dad1cd8d-713f-5705-bc3c-0363aacf7281"
---
# CE-WP-0011 — Attributes guide polish
Follow-on after CE-WP-0010 manual review. CE-WP-0010 shipped layout/filters;
this workplan covers residual UX and n:m visual guide behaviour.
## User requirements (locked)
1. **Caption is always Attributes** — including sessions that still have the
legacy persisted title `"Demo evidence-backed form"` in capture-state.
2. **Optical links** run from the **right edge of evidence cards** to the
**left edge of attribute rows** (side-by-side Capture columns).
3. **n:m visualisation** — evidence ↔ attributes is many-to-many:
- Selected **evidence** → draw lines to **all** linked attributes.
- Selected **attribute** → draw lines to **all** linked evidence cards.
- Evidence → citation highlight remains as in CE-WP-0010.
4. **Add attribute** control sits **below** the list of captured attributes
(not in the header next to the title).
## Tasks
## T01 — Migrate legacy Capture titles on load
```task
id: CE-WP-0011-T01
status: done
priority: high
state_hub_task_id: "b7d0237d-3f03-50a5-8a03-c667fa877c77"
```
Normalize `formSchema.title` when loading capture-state from localStorage.
## T02 — Overlay n:m + edge anchors
```task
id: CE-WP-0011-T02
status: done
priority: high
state_hub_task_id: "0c17c153-5975-5f0b-a0b5-c4fa03676eb8"
```
Update `Overlay` to resolve all links via binding service; card right →
field left.
## T03 — Move Add attribute below list
```task
id: CE-WP-0011-T03
status: done
priority: medium
state_hub_task_id: "41333ee3-06a6-575b-b587-50398f3ac26b"
```
`FormRenderer` header keeps title + filter; add button and add form at bottom.
## T04 — Tests + finish
```task
id: CE-WP-0011-T04
status: done
priority: medium
depends_on: [T01, T02, T03]
state_hub_task_id: "2e9f3b4c-782b-507b-aa70-a4ead3296926"
```
Unit/DOM coverage; mark workplan finished.