Bug 41363 - Don't hide patron category limitation warning behind icon
Summary: Don't hide patron category limitation warning behind icon
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Patrons (show other bugs)
Version: Main
Hardware: All All
: P5 - low minor
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on: 31422
Blocks:
  Show dependency treegraph
 
Reported: 2025-12-03 13:45 UTC by Owen Leonard
Modified: 2025-12-03 14:09 UTC (History)
2 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:
Version(s) released in:
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

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