jQueryUI is no longer being developed: https://blog.jqueryui.com/2021/10/jquery-ui-1-13-0-released/ "our goal is to move it more to a maintenance state: we’ll make sure the library is compatible with new jQuery releases and that security issues are fixed but no new significant feature work is planned." I would like to start replacing jQueryUI dependencies, especially where there is a Bootstrap component which matches. - Accordion - Administration -> Table settings - Patrons -> Patrons requesting modifications - OPAC Can be replaced with Bootstrap "Collapse" component. - Autocomplete - Checkout and patron header searches - Article request patron search - Course reserve instructor search - Holds patron search - UNIMARC 210c plugin - UNIMARC 225a plugin No Bootstrap option. Possible candidate: https://tarekraafat.github.io/autoComplete.js/. - Tabs - (Lots) Can be replaced with Bootstrap tabs. - Sortable - Administration -> MARC frameworks -> Subfield structure -> Tab reordering. - Administration -> Authority types -> Subfield structure -> Tab reordering. - Administration -> System preferences -> Language and OPACLanguage reordering - Cataloging -> Basic MARC editor -> Subfield reordering. - Tools -> Stock rotation -> Stage reordering. No Bootstrap option.
(In reply to Owen Leonard from comment #0) > - Accordion .. > - OPAC Sorry this was incomplete. The OPAC doesn't use jQueryUI accordion. The other instance is Tools -> Notices.
(In reply to Owen Leonard from comment #0) > jQueryUI is no longer being developed: > https://blog.jqueryui.com/2021/10/jquery-ui-1-13-0-released/ > > "our goal is to move it more to a maintenance state: we’ll make sure the > library is compatible with new jQuery releases and that security issues are > fixed but no new significant feature work is planned." > That's a bit of a let down after Michal previously made it seem like he was going to resurrect it, but good to know the outcome at least. +1 to replacing jQuery UI. (jQuery in general seems to have fallen out of favour in the tech world, so sometimes I wonder how long until we're replacing that too...)
(In reply to Owen Leonard from comment #0) > No Bootstrap option. Possible candidate: > https://tarekraafat.github.io/autoComplete.js/. [Adding this here, to keep track of it] I've tried https://github.com/xcash/bootstrap-autocomplete, which seems to work well, but it does not with bootstrap 3 (no longer supported by the author) I've almost managed to deal with the different problem, but we will certainly need to build our own js file. First I had to pick the this fix: https://github.com/xcash/bootstrap-autocomplete/pull/129 or the drodown is empty with bootstrap 3 Then I faced https://github.com/xcash/bootstrap-autocomplete/issues/103 which appears to be fixed, but it's not (or not for bootstrap 3, I don't know). It's sad because I am almost there, but I lost confidence in this lib. Can be tested on https://gitlab.com/joubu/Koha/-/commits/bootstrap-autocomplete using the patron search autocomplete in the header.
I've also tried https://tarekraafat.github.io/autoComplete.js but there was too much existing styling and I gave up quickly.
I found some JS from-scratch : https://www.w3schools.com/howto/howto_js_autocomplete.asp Maybe this could be a base.
(In reply to Fridolin Somers from comment #5) > I found some JS from-scratch : > https://www.w3schools.com/howto/howto_js_autocomplete.asp > > Maybe this could be a base. That's true. We don't have to use a third-party for everything. We can always do our own.
(In reply to Fridolin Somers from comment #5) > I found some JS from-scratch : > https://www.w3schools.com/howto/howto_js_autocomplete.asp > > Maybe this could be a base. It looks like there's another recommendation on bug 34113 as well