Skip to content

[PRMP-1409] Add Document Version History feature#1123

Draft
lillie-dae wants to merge 8 commits intomainfrom
PRMP-1409
Draft

[PRMP-1409] Add Document Version History feature#1123
lillie-dae wants to merge 8 commits intomainfrom
PRMP-1409

Conversation

@lillie-dae
Copy link
Contributor

Overview

Jira ticket: PRMP-1409

Description

Context

Checklist

Tasks for all changes:

  • 1. I have linked this PR to its Jira ticket.
  • 2. I have run git pre-commits. (WIP)
  • 3. I have added and/or updated relevant tests.
  • 4. I have updated relevant documentation.
  • 5. I have considered the cross-team impact (and have PR approval from both Core & Demographics if necessary).
  • 6. I have successfully deployed this change to a sandbox and witnessed unit and e2e tests passing:

Additional tasks for UI changes (delete if not applicable):

  • 1. I have run the UI Smoke Tests against the deployed sandbox and witnessed it passing:
  • 2. I have added evidence (to this PR) e.g. screenshots/gifs of all visual changes.

- Implemented DocumentVersionHistoryPage to display version history of documents.
- Created Timeline component to visualize document versions with active/inactive states.
- Added getDocumentVersionHistory function to fetch version history from API.
- Introduced mock data for testing document version history responses.
- Developed styles for TestToggle component to enhance UI.
- Added unit tests for getDocumentVersionHistoryResponse to ensure correct API interaction and response structure.
Implemented DocumentVersionHistoryPage to display version history of documents.

Created Timeline component to visualize document versions with active/inactive states.

Added getDocumentVersionHistory function to fetch version history from API.

Introduced mock data for testing document version history responses.

Developed styles for TestToggle component to enhance UI.

Added unit tests for getDocumentVersionHistoryResponse to ensure correct API interaction and response structure.
@github-actions
Copy link

Code security issues found

View full details here.

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant