Bug 41363 - Don't hide patron category limitation warning behind icon
Summary: Don't hide patron category limitation warning behind icon
Status: Pushed to stable
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Owen Leonard
QA Contact: Laura Escamilla
URL:
Keywords:
Depends on: 31422
Blocks:
  Show dependency treegraph
 
Reported: 2025-12-03 13:45 UTC by Owen Leonard
Modified: 2026-01-16 16:18 UTC (History)
4 users (show)

See Also:
GIT URL:
Initiative type: ---
Sponsorship status: ---
Comma delimited list of Sponsors:
Crowdfunding goal: 0
Patch complexity: Trivial patch
Documentation contact:
Documentation submission:
Text to go in the release notes:
This moves the hint text for the warning on the Library management > Category field (when editing a patron record) from a tool tip on the warning icon to standard hint text under the input field, to make it more accessible Note: This warning only appears under certain circumstances (when a patron category is limited to a specific library, and you edit a patron when the library is set to another location).
Version(s) released in:
26.05.00,25.11.01
Circulation function:


Attachments
Screenshot showing the tooltip (58.43 KB, image/png)
2025-12-03 13:45 UTC, Owen Leonard
Details
Bug 41363: Don't hide patron category limitation warning behind icon (2.47 KB, patch)
2025-12-03 14:09 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 41363: Don't hide patron category limitation warning behind icon (2.51 KB, patch)
2025-12-07 19:09 UTC, David Nind
Details | Diff | Splinter Review
Bug 41363: (follow-up) Add full stop at the end of the hint text (1.42 KB, patch)
2025-12-07 19:09 UTC, David Nind
Details | Diff | Splinter Review
Bug 41363: (follow-up) Add full stop at the end of the hint text (1.49 KB, patch)
2025-12-22 16:24 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 Owen Leonard 2025-12-03 13:45:53 UTC
Created attachment 190115 [details]
Screenshot showing the tooltip

A small warning icon appears in the patron edit form under these circumstances:

1. In Administration -> Patron categories, limit
   a patron category to a single library.
2. Switch to that library and locate a patron in
   that category. Copy the card number.
3. Switch to different library and search for the
   patron by card number.
4. Edit the patron.
5. Scroll down to the "Library management" section.
   You should see a warning icon next to the
   category. Hovering your mouse over the icon
   should trigger a tooltip with some text. See
   attached screenshot.

We should use a standard "hint" to display this information so that the user doesn't have to interact with a small target to trigger a tooltip.
Comment 1 Owen Leonard 2025-12-03 14:09:55 UTC
Created attachment 190117 [details] [review]
Bug 41363: Don't hide patron category limitation warning behind icon

This patch takes the warning text hidden behind an icon and puts
it into a "hint" <div> in order to make the information more accessible.

To test, apply the patch and go to Administration -> Patron categories.

- Edit a patron category to lmit it to a single library.
- Switch to that library and locate a patron in that category. Copy the
  card number.
- Switch to different library and search for the patron by card number.
- Edit the patron.
- Scroll down to the "Library management" section. Under the category
  dropdown you should see a "hint" style div with the library limitation
  warning.

Sponsored-by: Athens County Public Libraries
Comment 2 David Nind 2025-12-07 19:09:33 UTC
Created attachment 190278 [details] [review]
Bug 41363: Don't hide patron category limitation warning behind icon

This patch takes the warning text hidden behind an icon and puts
it into a "hint" <div> in order to make the information more accessible.

To test, apply the patch and go to Administration -> Patron categories.

- Edit a patron category to lmit it to a single library.
- Switch to that library and locate a patron in that category. Copy the
  card number.
- Switch to different library and search for the patron by card number.
- Edit the patron.
- Scroll down to the "Library management" section. Under the category
  dropdown you should see a "hint" style div with the library limitation
  warning.

Sponsored-by: Athens County Public Libraries
Signed-off-by: David Nind <david@davidnind.com>
Comment 3 David Nind 2025-12-07 19:09:37 UTC
Created attachment 190279 [details] [review]
Bug 41363: (follow-up) Add full stop at the end of the hint text

Signed-off-by: David Nind <david@davidnind.com>
Comment 4 David Nind 2025-12-07 19:16:45 UTC
Please obsolete my follow-up if I'm not correct - most other hint text has a full stop at the end of the sentence.
Comment 5 Laura Escamilla 2025-12-22 16:24:00 UTC
Created attachment 190681 [details] [review]
Bug 41363: (follow-up) Add full stop at the end of the hint text

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Laura_Escamilla <laura.escamilla@bywatersolutions.com>
Comment 6 Lucas Gass (lukeg) 2025-12-29 17:00:28 UTC
Nice work everyone!

Pushed to main for 26.05
Comment 7 Jacob O'Mara 2026-01-16 16:18:17 UTC
Thanks all, pushed to 25.11.x