Skip to content

OV-449 audit update of visit comments changes.#146

Merged
Matt Crowson (matt-crowson-moj) merged 1 commit intomainfrom
task/OV-449-audit-visit-changes-p2
Mar 19, 2026
Merged

OV-449 audit update of visit comments changes.#146
Matt Crowson (matt-crowson-moj) merged 1 commit intomainfrom
task/OV-449-audit-visit-changes-p2

Conversation

@matt-crowson-moj
Copy link
Contributor

@matt-crowson-moj Matt Crowson (matt-crowson-moj) commented Mar 19, 2026

Audit changes to staff and prisoner notes.

I also realised the initial length of the details column would not be long enough to support these two fields as they alone are 400 characters each.

@matt-crowson-moj Matt Crowson (matt-crowson-moj) force-pushed the task/OV-449-audit-visit-changes-p2 branch 2 times, most recently from c0fb513 to 36b8401 Compare March 19, 2026 15:45
@matt-crowson-moj Matt Crowson (matt-crowson-moj) force-pushed the task/OV-449-audit-visit-changes-p2 branch from 36b8401 to 0bd42fd Compare March 19, 2026 15:51
}

override fun detailsText(): String = run {
if (changes.changes().isEmpty()) return@run "No recorded changes."
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this even a thing? Should we record an audit change event if there is no actual change?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably? They submitted it..

Copy link
Contributor

@timharrison-moj timharrison-moj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@matt-crowson-moj Matt Crowson (matt-crowson-moj) merged commit 4e8b8cc into main Mar 19, 2026
10 checks passed
@matt-crowson-moj Matt Crowson (matt-crowson-moj) deleted the task/OV-449-audit-visit-changes-p2 branch March 19, 2026 18:12
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.

3 participants