Implement CE-WP-0010 Annotate & Attributes UX.
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 2s

Rename Review→Annotate; Capture keeps Evidence and adds Attributes column
(no bottom strip); evidence/attribute filters; card→citation connectors via
shared Overlay bridges; finish workplan T01–T07.
This commit is contained in:
tegwick 2026-07-30 19:41:42 +02:00
parent dc7d8f7ce8
commit e9f7676a1a
15 changed files with 241 additions and 437 deletions

View file

@ -51,9 +51,9 @@ describe("Capture — field value persistence (CE-WP-0008-T01)", () => {
const user = userEvent.setup();
await loadApp();
const summary = screen.getByLabelText("Summary of the matter");
const summary = screen.getByRole("textbox", { name: /Summary of the matter/ });
await user.type(summary, "Tenant owes arrears");
await user.click(screen.getByLabelText("Disputed amount"));
await user.click(screen.getByRole("textbox", { name: /Disputed amount/ }));
await user.click(summary);
expect((summary as HTMLTextAreaElement).value).toBe("Tenant owes arrears");
@ -63,10 +63,10 @@ describe("Capture — field value persistence (CE-WP-0008-T01)", () => {
const user = userEvent.setup();
await loadApp();
const deadline = screen.getByLabelText("Key deadline") as HTMLInputElement;
const deadline = document.querySelector("#field-deadline") as HTMLInputElement;
await user.clear(deadline);
await user.type(deadline, "2026-12-15");
await user.click(screen.getByLabelText("Disputed amount"));
await user.click(screen.getByRole("textbox", { name: /Disputed amount/ }));
expect(deadline.value).toBe("2026-12-15");
});