Pre-populate assessment justification on PQA submission#1143
Merged
Carl Sixsmith (carlsixsmith-moj) merged 2 commits intoJun 25, 2026
Conversation
Carl Sixsmith (carlsixsmith-moj)
requested changes
Jun 21, 2026
Carl Sixsmith (carlsixsmith-moj)
left a comment
Contributor
There was a problem hiding this comment.
The justification can be added to the summary dto and remove the need for a specific call to get it.
This data can then be used elsewhere (for example giving the case owner visibility of it as it disappears outside of QA process)
Add functionality to retrieve and pre-populate the previous assessment justification when submitting a case to Provider QA, allowing users to review and edit their previous justification rather than re-typing. Changes: - Add GetPreviousJustification query to retrieve participant assessment justification - Enhance ConfirmationWithNotesDialog to accept and display previous justification - Update SubmitToPqa workflow to fetch and pass previous justification when required - Improve code consistency (default! → null!, add @ prefixes, method visibility) Signed-off-by: Paul Cooper <Paul.Cooper5@Justice.gov.uk>
cd3e837 to
c2f90da
Compare
- Add AssessmentJustification to ParticipantSummaryDto and map from participant entity - Remove redundant GetPreviousJustification query and database roundtrip - Convert DTO properties from 'set' to 'init' for immutability - Update ParticipantActionMenu to use justification from summary DTO - Fix typos in XML documentation comments Signed-off-by: Paul Cooper <Paul.Cooper5@Justice.gov.uk>
80d72bf to
aacac8e
Compare
Contributor
Author
I've changed it so assessment justification is now on participantDTO as asked for |
Carl Sixsmith (carlsixsmith-moj)
approved these changes
Jun 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add functionality to retrieve and pre-populate the previous assessment justification when submitting a case to Provider QA, allowing users to review and edit their previous justification rather than re-typing.
Changes:
🔗 Related Work
📌 Summary
🎯 Purpose / Motivation
🧠 Approach
🔄 Changes
🧪 How to Test
Expected result:
📸 Screenshots / Output (if applicable)
Details:
🙋 Notes for Reviewers