feature: Refinements as versioned specs (UI for backend#12) #8
No reviewers
Labels
No labels
breaking
bug
ci
dependencies
documentation
feature
security
skip-changelog
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thierryade/frontend!8
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/refinement-specs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #7
Frontend half of thierryade/backend#12 — merge together with thierryade/backend#13 (the API changes shape on both sides).
Changes
api/specs.ts:Spec.refines/code_aliases,SpecVersion.is_absence/refines_versions/pending_decision/refinement_versions/missing_refinement_places,createSpec(place, title, {refines, isAbsence, content}),decideRefinement().Refinement,listRefinements,setRefinementremoved;loadProjectTreeno longer needs one request per spec version.refinementTree.ts,SpecFrameNode.vue): real tree fromSpec.refines(no more "voir plus haut" references), absences as dashed lines, child places nothing refines flagged in red, "décision en attente" chip.SpecDetailPanel.vue: "Raffine" link, former-R-codes, decision box on a cascaded draft (Conserver la vN / Faire une nouvelle version / absence with reason), per child place: refining specs (with coverage hint), "Aucun raffinement pour cette version.", new refinement and documented absence inputs. Emitsselect/changedso both trees follow and reload.PlaceSpecNode.vue: below the root, "+ Nouvelle spec" requires choosing the refined spec (draft specs of the parent place only).exists_in_refinementsgone).decide.Tests
vitest: 57 passed (new: nesting, missing place, refinement/absence creation, cascade + keep decision, refines picker).vue-tsc -bandvite buildclean.🤖 Generated with Claude Code
https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA
📊 Rapports Argus pour cette PR
WIP: Refinements as versioned specs (UI for backend#12)to feature: Refinements as versioned specs (UI for backend#12)