AssurancePlatform icon indicating copy to clipboard operation
AssurancePlatform copied to clipboard

[User Story]: Implement Commenting Feature for Enhanced Collaboration on Assurance Case Elements

Open kallewesterling opened this issue 1 year ago • 0 comments

Role

As an assurance case editor

Desired Feature

I want to be able to comment on individual assurance case elements

Benefit

So that I can collaborate more effectively with team members by discussing specific aspects directly within the platform

Acceptance Criteria

GIVEN I am viewing an assurance case, WHEN I select an assurance case element, THEN I should have the option to add a comment to that element. AND comments should be visible to all users with access to the assurance case.

GIVEN comments have been added to an element, WHEN another user views the element, THEN they should be able to see existing comments and add their own. AND users should have the ability to reply to comments, creating threaded discussions.

Dependencies

  • [ ] Backend support for storing and retrieving comments.
  • [ ] Add to user permissions a setting that ensures users can only comment if they have view or edit access to the assurance case.

Technical Notes

  • Implement comments as a linked list attached to each assurance case element to allow for scalability and real-time updates.
  • Consider using a framework or library that supports real-time collaboration features.
  • Ensure that the UI for comments is intuitive and integrates seamlessly with the current design of the assurance case editor.
  • Comments should be timestamped and should display the name of the commenter for clarity.
  • Ensure the commenting interface is designed with accessibility in mind, using high-contrast colors, scalable fonts, and keyboard navigability to comply with WCAG 2.1 guidelines.

Definition of Done

  • [X] The feature fulfills all acceptance criteria.
  • [X] The code is reviewed and meets team coding standards.
  • [X] All unit, integration, and end-to-end tests are passed.
  • [X] The feature meets accessibility standards set for the project.
  • [X] The code passes the CI/CD pipeline quality controls (style and linting).
  • [X] The feature is merged into the main branch.
  • [X] The feature is deployed and functional in the QA environment.
  • [X] The feature was demonstrated to the team and accepted by the product owner.

kallewesterling avatar May 08 '24 09:05 kallewesterling