Bug 36611 - Allow definition of local tooltips
Summary: Allow definition of local tooltips
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-16 15:59 UTC by Andrew Fuerste-Henry
Modified: 2024-04-18 14:39 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Fuerste-Henry 2024-04-16 15:59:25 UTC
On my system, I've used jQuery to insert an icon with a title attribute so that when the icon is moused-over it gives a bit of explanatory text. For example:

$('#navmenulist ul li a:contains("View dictionary")').append(' <i class="fa fa-info-circle" title="No one knows what this is for"></i>');

It could be helpful to have an interface for this, something along the lines of how we define audio alerts:

- provide a jquery selector
- select a font awesome icon
- provide text
- when a page loads containing your selector, your icon is appended to it with your text appearing on mouseover
Comment 1 Steve, OSLRI, USA 2024-04-17 21:47:53 UTC
Many thanks to Andrew for adding to Bugzilla!  Yes, something like this would allow us to add "local practice" notes to help guide our staff as they're using the system... putting info where they need it.  We don't have super JS skills on staff, so an interface to add tool tips easily would be lovely.