[Bug 36651] New: Add hint text in the search bar in the OPAC
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 Bug ID: 36651 Summary: Add hint text in the search bar in the OPAC Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: caroline.cyr-la-rose@inlibro.com QA Contact: testopia@bugs.koha-community.org I had this suggestion during a training yesterday. Some people were saying it was not obvious what the search bar was meant for, and it was suggested that maybe putting a hint text in the search bar would help understand. (Similar to the wiki search box https://wiki.koha-community.org/wiki/Main_Page, it says "Search Koha wiki" and when you start typing this text disappears.) It could be customizable, but the default could be something like "Search the library catalog". -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Add hint text in the search |Add placeholder text to the |bar in the OPAC |search bar in the OPAC -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Small patch Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 167628 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167628&action=edit Bug 36651: Add placeholder text to the search bar in the OPAC This patch adds placeholder text to the OPAC search bar, with JavaScript to change the placeholder based on the user's search type selection. To test, apply the patch and go to the OPAC. - The search bar should by default have the placeholder "Search the catalog by keyword" - Change the search type (Author, Title, etc). The placeholder text should change accordingly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |Main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 Pedro Amorim <pedro.amorim@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 Pedro Amorim <pedro.amorim@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167628|0 |1 is obsolete| | --- Comment #2 from Pedro Amorim <pedro.amorim@ptfs-europe.com> --- Created attachment 167653 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167653&action=edit Bug 36651: Add placeholder text to the search bar in the OPAC This patch adds placeholder text to the OPAC search bar, with JavaScript to change the placeholder based on the user's search type selection. To test, apply the patch and go to the OPAC. - The search bar should by default have the placeholder "Search the catalog by keyword" - Change the search type (Author, Title, etc). The placeholder text should change accordingly. Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #167653|0 |1 is obsolete| | --- Comment #3 from Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> --- Created attachment 167661 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=167661&action=edit Bug 36651: Add placeholder text to the search bar in the OPAC This patch adds placeholder text to the OPAC search bar, with JavaScript to change the placeholder based on the user's search type selection. To test, apply the patch and go to the OPAC. - The search bar should by default have the placeholder "Search the catalog by keyword" - Change the search type (Author, Title, etc). The placeholder text should change accordingly. Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 --- Comment #4 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- That's one of these changes I am not totally sure about. For me the difference between the typed in search terms and the placeholder text are visually not very strong. It might be related to not having the best screen, but that might make it a good test too. :) I am happy to push as is to get some more eyes/opinions maybe. We got plenty of time now. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)| |24.11.00 released in| | Status|Passed QA |Pushed to main -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 --- Comment #5 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Pushed for 24.11! Well done everyone, thank you! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 --- Comment #6 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 168010 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=168010&action=edit Screenshot showing possible re-styling of placeholder text (In reply to Katrin Fischer from comment #4)
For me the difference between the typed in search terms and the placeholder text are visually not very strong.
We do have the capability of styling the placeholder differently than the normal text. That might make a good visual hint that the text isn't actually filling the input. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 --- Comment #7 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Comment on attachment 168010 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=168010 Screenshot showing possible re-styling of placeholder text I like this, can I have it? :) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|Pushed to main |RESOLVED CC| |lucas@bywatersolutions.com --- Comment #8 from Lucas Gass <lucas@bywatersolutions.com> --- Enhancement will not be backported to 24.05.x series -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |37412 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37412 [Bug 37412] Style placeholder text in the OPAC -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 --- Comment #9 from Owen Leonard <oleonard@myacpl.org> --- (In reply to Katrin Fischer from comment #7)
I like this, can I have it? :)
See Bug 37412 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 Martin Renvoize (ashimema) <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |release-notes-needed -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36651 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|release-notes-needed | Text to go in the| |This enhancement updates release notes| |the style of the OPAC | |search bar's placeholder | |text, the text which is | |shown in the text field | |when the user has not | |entered any text. | |Previously the style of the | |placeholder made it look | |very much like text the | |user had typed. Now the | |placeholder is | |right-aligned and italic in | |order to distinguish it | |from regular text, while | |keeping a color which has | |accessible contrast. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org