A new request with request id 16588 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is :

Title : Koha-devel Digest, Vol 189, Issue 5
Category :
Description :
Send Koha-devel mailing list submissions to
    koha-devel@lists.koha-community.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
or, via email, send a message with subject or body 'help' to
    koha-devel-request@lists.koha-community.org

You can reach the person managing the list at
    koha-devel-owner@lists.koha-community.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Koha-devel digest..."


Today's Topics:

1. Replacing jQueryUI autocomplete (Owen Leonard)
2. Re: Replacing jQueryUI autocomplete (dcook@prosentient.com.au)
3. Previewing editor content in "News" (dcook@prosentient.com.au)


----------------------------------------------------------------------

Message: 1
Date: Wed, 11 Aug 2021 13:40:47 -0400
From: Owen Leonard <oleonard@myacpl.org>
To: Koha Devel <koha-devel@lists.koha-community.org>
Subject: [Koha-devel] Replacing jQueryUI autocomplete
Message-ID:
    <CAO4qe2PLWAjTfi9dTxpr_uoygPfyO8rfCY4O5==LdaBqziGNyA@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

We're making progress towards a replacement for the jQueryUI
datepicker component: Bug 28376, "Replace obsolete
jquery-ui-timepicker-addon"
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28376

I think it would be a good idea to look at replacing the rest of the
jQueryUI components we use, since jQueryUI appears to be a dead
project. I've been looking at this as a replacement for jQueryUI's
autocomplete:

https://tarekraafat.github.io/autoComplete.js/

It's small, seems fast, and has been around for several years, with
its last release happening last month. I'm still testing whether it's
missing any functionality we need, but I thought before I get too far
I would ask:

Does anyone have any experience with this project?

Does anyone have any other autocomplete libraries they've used and
would recommend?

Thanks,

Owen

--
Web Developer
Athens County Public Libraries
(740) 737-6006
https://www.myacpl.org


------------------------------

Message: 2
Date: Thu, 12 Aug 2021 10:12:14 +1000
From: <dcook@prosentient.com.au>
To: "'Owen Leonard'" <oleonard@myacpl.org>, "'Koha Devel'"
    <koha-devel@lists.koha-community.org>
Subject: Re: [Koha-devel] Replacing jQueryUI autocomplete
Message-ID: <004901d78f0e$b45b85d0$1d129170$@prosentient.com.au>
Content-Type: text/plain;    charset="utf-8"

Sadly, I don't have anything useful to add about autocomplete libraries, but you've sent me down an interesting rabbit hole about jQuery UI!

I won't bore you with my journey, but after reading through a few big conversations I wound up at the jQuery UI Github and I was surprised that there's been a lot of activity: https://github.com/jquery/jquery-ui/commits/main. There's even a new alpha release: https://github.com/jquery/jquery-ui/releases.

Everything was done by Michał Gołębiowski-Owczarek and looking into him led me to this really interesting write up: https://github.com/readme/stories/michal-golebiowski-owczarek

Probably still a good idea to move away from jquery-ui as it probably is dead, but interesting to see him breathing some life into the project after 5 years of dormancy.

I'm tempted to shoot him a Twitter DM to see what his plans are.

David Cook
Senior Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia

Office: 02 9212 0899
Online: 02 8005 0595

-----Original Message-----
From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of Owen Leonard
Sent: Thursday, 12 August 2021 3:41 AM
To: Koha Devel <koha-devel@lists.koha-community.org>
Subject: [Koha-devel] Replacing jQueryUI autocomplete

We're making progress towards a replacement for the jQueryUI datepicker component: Bug 28376, "Replace obsolete jquery-ui-timepicker-addon"
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28376

I think it would be a good idea to look at replacing the rest of the jQueryUI components we use, since jQueryUI appears to be a dead project. I've been looking at this as a replacement for jQueryUI's
autocomplete:

https://tarekraafat.github.io/autoComplete.js/

It's small, seems fast, and has been around for several years, with its last release happening last month. I'm still testing whether it's missing any functionality we need, but I thought before I get too far I would ask:

Does anyone have any experience with this project?

Does anyone have any other autocomplete libraries they've used and would recommend?

Thanks,

Owen

--
Web Developer
Athens County Public Libraries
(740) 737-6006
https://www.myacpl.org
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/




------------------------------

Message: 3
Date: Thu, 12 Aug 2021 16:45:14 +1000
From: <dcook@prosentient.com.au>
To: "'Koha Devel'" <koha-devel@lists.koha-community.org>
Subject: [Koha-devel] Previewing editor content in "News"
Message-ID: <00a601d78f45$9ae519e0$d0af4da0$@prosentient.com.au>
Content-Type: text/plain; charset="utf-8"

Hi all,



Lately, I've been thinking that it would be great if we could preview
content from WYSIWYG editors in context before saving and showing it live.



Content Management Systems and Wikis usually let you do that, and I think it
would be really useful. I know that I've had at least a few librarians
complain about how their News content looks different in the OPAC than it
does in the News function, and I don't really have an answer except "sorry"
at the moment.



This would actually be useful for OpacUserCSS and OpacUserJS as well.



Looking at Media Wiki, it looks like it uses a "wpEditToken" value, so the
data must be saved, and then fetched using the token.



I think it would be harder for Koha than Media Wiki (especially for system
preferences and News for specific libraries), but I think it would be
useful.



Unfortunately, I don't have the resources to work on this, but maybe someone
else does.



David Cook

Senior Software Engineer

Prosentient Systems

Suite 7.03

6a Glen St

Milsons Point NSW 2061

Australia



Office: 02 9212 0899

Online: 02 8005 0595



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20210812/a42cc9d4/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


------------------------------

End of Koha-devel Digest, Vol 189, Issue 5
******************************************


NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.