[Bug 29222] New: OMNIBUS: Replace the use of jQueryUI
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 Bug ID: 29222 Summary: OMNIBUS: Replace the use of jQueryUI Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org 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. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- (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. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |29224 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29224 [Bug 29224] OMNIBUS: Replace the use of jQueryUI Accordion -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |29226 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29226 [Bug 29226] OMNIBUS: Replace the use of jQueryUI tabs -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #2 from David Cook <dcook@prosentient.com.au> --- (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...) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart+koha@gmail. | |com --- Comment #3 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- (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. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 --- Comment #4 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- I've also tried https://tarekraafat.github.io/autoComplete.js but there was too much existing styling and I gave up quickly. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 Bug 29222 depends on bug 29224, which changed state. Bug 29224 Summary: OMNIBUS: Replace the use of jQueryUI Accordion https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29224 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |32969 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32969 [Bug 32969] Remove references to jQueryUI assets and style 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=29222 Bug 29222 depends on bug 32969, which changed state. Bug 32969 Summary: Remove references to jQueryUI assets and style in the OPAC https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32969 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to stable |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 Bug 29222 depends on bug 29226, which changed state. Bug 29226 Summary: OMNIBUS: Replace the use of jQueryUI tabs https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29226 What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |34113 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34113 [Bug 34113] OMNIBUS: Replace the use of jQueryUI autocomplete -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |34114 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34114 [Bug 34114] OMNIBUS: Replace the use of jQueryUI sortable -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|34113 | Depends on| |34113 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34113 [Bug 34113] OMNIBUS: Replace the use of jQueryUI autocomplete -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |34270 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34270 [Bug 34270] Upgrade and prune jQueryUI assets in the staff interface -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 Bug 29222 depends on bug 34114, which changed state. Bug 34114 Summary: Replace the use of jQueryUI sortable https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34114 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m --- Comment #5 from Fridolin Somers <fridolin.somers@biblibre.com> --- I found some JS from-scratch : https://www.w3schools.com/howto/howto_js_autocomplete.asp Maybe this could be a base. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 --- Comment #6 from David Cook <dcook@prosentient.com.au> --- (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. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29222 --- Comment #7 from David Cook <dcook@prosentient.com.au> --- (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 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org