feat(api): M3 — editable place validation (exclude/relevance/confirm) #9

Merged
charles merged 1 commit from feat/m3-validation into main 2026-06-17 13:48:03 +00:00
Owner

Roadmap M3 (validation). The import view becomes the real validate screen (FR-IMP-14/17). Plain forms → works without JS (the a11y baseline; htmx polish in M7).

Changes

  • domain: Tree.confirmed (#[serde(default)]) + Tree::place_mut.
  • api: POST /tree/:id/place/:pid/toggle (exclude/réintégrer), /place/:pid/relevance (haute/moyenne/faible), /tree/:id/confirm. Any edit clears confirmed (FR-IMP-17). View shows kept/excluded counts, "exclu" badge, dimmed excluded cards, per-place controls, "Arbre validé" banner.

Verify

just dev → upload → exclude a place / change relevance / Valider l'arbre. Live-tested: all actions work; confirming then editing re-opens validation.
just qa green.

Traces: FR-IMP-12/14/17 · tech-spec 03 §3.6.

Roadmap **M3** (validation). The import view becomes the real **validate screen** (FR-IMP-14/17). Plain forms → works without JS (the a11y baseline; htmx polish in M7). ## Changes - **domain**: `Tree.confirmed` (`#[serde(default)]`) + `Tree::place_mut`. - **api**: `POST /tree/:id/place/:pid/toggle` (exclude/réintégrer), `/place/:pid/relevance` (haute/moyenne/faible), `/tree/:id/confirm`. **Any edit clears `confirmed`** (FR-IMP-17). View shows kept/excluded counts, "exclu" badge, dimmed excluded cards, per-place controls, "Arbre validé" banner. ## Verify `just dev` → upload → exclude a place / change relevance / Valider l'arbre. Live-tested: all actions work; confirming then editing re-opens validation. `just qa` green. Traces: FR-IMP-12/14/17 · tech-spec 03 §3.6.
feat(api): M3 — editable place validation (exclude / relevance / confirm)
All checks were successful
qa / qa-1 (push) Successful in 1m0s
qa / qa (push) Successful in 0s
qa / qa-1 (pull_request) Successful in 3m58s
qa / qa (pull_request) Successful in 0s
99bfed7ded
The import view becomes the real validation screen (FR-IMP-14/17), plain forms
(works without JS — a11y baseline; htmx polish in M7):
- domain: Tree.confirmed flag (#[serde(default)]), Tree::place_mut
- api: POST /tree/:id/place/:pid/toggle (exclude/réintégrer),
  /place/:pid/relevance (haute/moyenne/faible), /tree/:id/confirm. Any edit
  clears confirmed. View shows kept/excluded counts, exclu badge, dim excluded
  cards, per-place controls, "Arbre validé" banner.

Verified live: exclude, relevance change, confirm, and edit-resets-confirm all
work. just qa green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/geneatrip!9
No description provided.