Closed kallewesterling closed 1 week ago
I have managed to get Evidence
and Property Claims
to move based on a item selected (a valid parent).
@chrisdburr can a property claim be moved to another property claim?
Moving elements seems to work, however there is an issue when attempting to move say a P1.1
or P2.1
- I'm getting an Internal Error back from the API. I'm assuming its something to do with the identifier stuff.
@cptanalatriste I have pushed up my latest changes to the branch, is this something you'd be able to look at?
I have managed to get
Evidence
andProperty Claims
to move based on a item selected (a valid parent).@chrisdburr can a property claim be moved to another property claim?
Yes.
I believe this now resolved - we can move Property Claims to other claims and strategies. As well as moving evidence to any property claim.
Thanks, @RichGriff.
Just flagging that we will also need to decide what happens to numbering when this occurs. Just had a user in our workshop highlight that they moved a child element (e.g. 1.2.1
of 1.2
) to a different parent (e.g. 1.4
) and the numbering didn't update. This is the expected behaviour presently, but I wonder whether we can find somewhere between triggering a whole refresh of the case, and just having specific events trigger ones. To discuss in our next sprint.
One bug pending, on moving an identifier updates
@kallewesterling @chrisdburr shall we consider this one fixed? The bug on identifier update was addressed in PR: https://github.com/alan-turing-institute/AssurancePlatform/pull/505
Let's discuss this today, @cptanalatriste, following your ways of working discussion. I'm not sure it's fully satisfied but I'm aware other issues are open to address the more specific issues that remain.
Closing this, as outstanding fixes have separate issues (see #482)
Role
As an assurance case editor
Desired Feature
I want to have the ability to move one or more elements between valid parents
Benefit
So that I can adjust the structure of assurance cases dynamically, ensuring that each element aligns with the most appropriate parent as the case evolves
Acceptance Criteria
GIVEN one or more elements are currently attached to a parent element, AND another valid parent element is available for attachment, WHEN I decide to reorganise by moving these elements to a different parent, THEN the system should allow me to select these elements and assign them to a new valid parent.
GIVEN elements have been reassigned to a new parent, WHEN the change is applied, THEN the system should update the assurance case structure to reflect these new relationships, AND ensure that all moved elements maintain their existing child elements unless explicitly removed.
GIVEN a complex assurance case with multiple nested elements, WHEN I need to restructure significant portions of the case, THEN the system should provide a clear and intuitive interface to select multiple elements, AND facilitate their reassignment to new parents with minimal disruption to the overall case integrity.
Dependencies
Technical Notes
Definition of Done