Bug 40367 - Improve display of messages on patron account
Summary: Improve display of messages on patron account
Status: Passed QA
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Emily Lamancusa (emlam)
QA Contact: Laura Escamilla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-14 18:47 UTC by Emily Lamancusa (emlam)
Modified: 2025-07-25 20:53 UTC (History)
4 users (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: String patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
This adjusts the way patron messages are displayed on a patron account, grouping messages together and labeling them based on whether they are internal staff notes or OPAC messages.
Version(s) released in:
Circulation function:


Attachments
Bug 40367: Improve display of messages on patron account (3.91 KB, patch)
2025-07-16 14:25 UTC, Emily Lamancusa (emlam)
Details | Diff | Splinter Review
Bug 40367: Improve display of messages on patron account (3.96 KB, patch)
2025-07-18 23:29 UTC, David Nind
Details | Diff | Splinter Review
Bug 40367: Improve display of messages on patron account (4.02 KB, patch)
2025-07-25 20:52 UTC, Laura Escamilla
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Emily Lamancusa (emlam) 2025-07-14 18:47:03 UTC
It would be nice if messages on a patron account were labeled to show whether the message is an OPAC note or an internal staff message. They have different formatting (internal staff messages are red and bold while OPAC messages are not), but it's not obvious that the different formatting indicates different types of messages, or which is which. Staff may want to know which messages are visible to the patron and which aren't, so it would be nice if it was easier to tell at a glance.
Comment 1 David Cook 2025-07-14 23:14:54 UTC
Sounds reasonable to me
Comment 2 Emily Lamancusa (emlam) 2025-07-16 14:25:35 UTC
Created attachment 184153 [details] [review]
Bug 40367: Improve display of messages on patron account

When displaying messages on a patron account, group the messages by
type and label which are OPAC messages and which are internal staff
messages.

To test:
1. Find a patron and add several messages to their account, alternating
   between internal staff messages and OPAC messages
--> Note that the messages display in the order that they are added and
    not explicitly labeled
2. Apply patch and refresh page
--> Confirm that all staff messages display first and all OPAC messages
    display underneath
--> Confirm that messages are now labeled "Staff note" or "OPAC"
3. Play around on the patron account and confirm that the message
   display is consistent after taking different actions:
   - On the Details page
   - On the Check out page
   - After adding a new staff message
   - After adding a new OPAC message
Comment 3 David Nind 2025-07-18 23:29:43 UTC
Created attachment 184419 [details] [review]
Bug 40367: Improve display of messages on patron account

When displaying messages on a patron account, group the messages by
type and label which are OPAC messages and which are internal staff
messages.

To test:
1. Find a patron and add several messages to their account, alternating
   between internal staff messages and OPAC messages
--> Note that the messages display in the order that they are added and
    not explicitly labeled
2. Apply patch and refresh page
--> Confirm that all staff messages display first and all OPAC messages
    display underneath
--> Confirm that messages are now labeled "Staff note" or "OPAC"
3. Play around on the patron account and confirm that the message
   display is consistent after taking different actions:
   - On the Details page
   - On the Check out page
   - After adding a new staff message
   - After adding a new OPAC message

Signed-off-by: David Nind <david@davidnind.com>
Comment 4 Laura Escamilla 2025-07-25 20:52:49 UTC
Created attachment 184673 [details] [review]
Bug 40367: Improve display of messages on patron account

QA tool is happy and this enhancement is very nice! Thanks for your work on this, Emily!

When displaying messages on a patron account, group the messages by
type and label which are OPAC messages and which are internal staff
messages.

To test:
1. Find a patron and add several messages to their account, alternating
   between internal staff messages and OPAC messages
--> Note that the messages display in the order that they are added and
    not explicitly labeled
2. Apply patch and refresh page
--> Confirm that all staff messages display first and all OPAC messages
    display underneath
--> Confirm that messages are now labeled "Staff note" or "OPAC"
3. Play around on the patron account and confirm that the message
   display is consistent after taking different actions:
   - On the Details page
   - On the Check out page
   - After adding a new staff message
   - After adding a new OPAC message

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>