Open kallewesterling opened 1 month ago
The schema that Carlos has put together should serve as our ground truth moving forward for any questions about what is considered "valid".
@cptanalatriste, please can we get this added to the repo (maybe as a separate branch for now) so everyone has access.
This is a big change requires further frontend and backend development @cptanalatriste
This is dependant on first addressing #439
Three suggestions for current implementation:
Still need to find out how to display existence of nested child elements when re-attaching a branch.
Role
As an assurance case editor
Desired Feature
I want to be able to reattach orphan elements to valid parent elements
Benefit
So that I can maintain the integrity and structure of assurance cases by ensuring all elements are properly connected and retain detached elements temporarily when their appropriate connection is uncertain
Acceptance Criteria
GIVEN an element is currently connected to a parent, AND the editor decides to detach this element without an immediate reconnection target, WHEN the editor detaches the element, THEN the system should allow the element to remain as an orphan within the project temporarily until a suitable parent is identified.
GIVEN an element has become orphaned, AND the editor identifies a valid new parent for this orphaned element, WHEN the editor attempts to reattach the orphaned element, THEN the system should allow the element to be reattached to a valid new parent, AND the updated structure should be reflected immediately in the assurance case editor.
GIVEN an orphan element exists, WHEN the editor wishes to keep the orphan element within the case structure for future reattachment, THEN the system should provide a temporary storage or visual/textual space where the orphan element can be accessed and managed until reattachment.
Dependencies
Technical Notes
Definition of Done