alan-turing-institute / AssurancePlatform

Project to facilitate creation of Assurance Cases
MIT License
17 stars 6 forks source link

[User Story]: Edit and Remove Notes in Assurance Case Editor #467

Open kallewesterling opened 1 month ago

kallewesterling commented 1 month ago

Role

As an assurance case editor

Desired Feature

I want the ability to edit and remove notes that I have created within the "notes" functionality of the assurance case editor

Benefit

so that I can correct errors or update the information as the case develops or my understanding changes

Acceptance Criteria

GIVEN I have previously added a note to an assurance case, AND I am currently viewing or editing the assurance case's notes, WHEN I select a note that I have contributed to the conversation, THEN I should have options to either edit or remove the note, AND if I choose to edit, I should be able to modify the content in-place and save changes, AND if I choose to remove, the note should be deleted immediately after confirmation.

Dependencies

No response

Technical Notes

Definition of Done

RichGriff commented 2 weeks ago

@cptanalatriste to check Comment endpoint if we can PUT and DELETE

RichGriff commented 1 week ago

I have now implemented the following

Please note: This assumes that any user with access to the case can therefore edit/delete the note.

@cptanalatriste Can you please review the PR https://github.com/alan-turing-institute/AssurancePlatform/pull/507