<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>A new request with request id 10882 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is : <br><br>Title : Koha-devel Digest, Vol 197, Issue 11<br>Category : <br>Description : <div>Send Koha-devel mailing list submissions to<br>    koha-devel@lists.koha-community.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>or, via email, send a message with subject or body 'help' to<br>    koha-devel-request@lists.koha-community.org<br><br>You can reach the person managing the list at<br>    koha-devel-owner@lists.koha-community.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Koha-devel digest..."<br><br><br>Today's Topics:<br><br>   1. Re: shelf-browser replacement for koha (Katrin Fischer)<br>   2. Re: shelf-browser replacement for koha (Paul Derscheid)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Thu, 21 Apr 2022 17:13:18 +0200<br>From: Katrin Fischer <katrin.fischer.83@web.de><br>To: koha-devel@lists.koha-community.org<br>Subject: Re: [Koha-devel] shelf-browser replacement for koha<br>Message-ID: <d2f734bb-4d15-b7df-3be4-f9fe1071f180@web.de><br>Content-Type: text/plain; charset="utf-8"; Format="flowed"<br><br>Hi Paul,<br><br>welcome to the list :)<br><br>I tried to take a look at the feature, but when I try to load the shelf<br>browser, it remains empty or takes a long while to load. There are some<br>errors in the console (mostly CORS Missing Allow Origin) that could<br>relate to the problem.<br><br>Maybe adding a visual indicator about the content still loading could be<br>a nice addition.<br><br>I quite like the idea of generating a nice replacement picture for<br>missing covers.<br><br>Hope this helps,<br><br>Katrin<br><br><br>On 12.04.22 17:47, Paul Derscheid wrote:<br>> Hi everyone,<br>><br>> I developed a replacement for the koha shelf-browser realised as a<br>> JavaScript library which is already in production with one of our clients.<br>> tcohen asked me to provide necessary infos and resources so others can<br>> take a look.<br>><br>>   * The most important part is LMSCoverFlow.js<br>>     <https://github.com/LMSCloud/Koha-LMSCloud/blob/master/koha-tmpl/opac-tmpl/bootstrap/js/LMSCoverFlow.js> which<br>>     is the library itself.<br>>   * For the actual function calls take a look at opac-detail.tt<br>>     <https://github.com/LMSCloud/Koha-LMSCloud/blob/master/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt> starting<br>>     at line 1710.<br>>   * The shelf-browser functionality depends on some scripts, namely<br>>     coverflowbyshelfitem<br>>     <https://github.com/LMSCloud/Koha-LMSCloud/blob/master/opac/svc/coverflowbyshelfitem> and<br>>     covergen<br>>     <https://github.com/LMSCloud/Koha-LMSCloud/blob/master/opac/svc/covergen><br>>   * The corresponding modules are CoverFlowData.pm<br>>     <https://github.com/LMSCloud/Koha-LMSCloud/blob/master/C4/CoverFlowData.pm> and<br>>     CoverGen.pm<br>>     <https://github.com/LMSCloud/Koha-LMSCloud/blob/master/C4/CoverGen.pm>.<br>><br>> I already got lectured on not putting stuff in C4. Next goal is to<br>> move everything data related to an API endpoint.<br>> The js is actually written in TypeScript using ES6 modules and I will<br>> change the visibility of the corresponding repo soon and notify you<br>> accordingly.<br>><br>> Since the shelf browser is based on itemcallnumbers, it is necessary<br>> to assign such to a sufficient amount of titles (9 when I tested on<br>> koha-testing-docker).<br>><br>> To see how it looks in prod take a look at this OPAC<br>> <https://sb-heilbronn.lmscloud.net/>.<br>><br>> If my explanation is not sufficient or I should have forgotten<br>> something, you can send me a mail or write to me on IRC. My nick is<br>> paulderscheid.<br>><br>> I’d love to get feedback and I’m open to criticism.<br>><br>> Kind Regards.<br>><br>> Paul<br>><br>> --<br>> LMSCloud GmbH<br>> Paul Derscheid - Software Engineer<br>> Konrad-Zuse-Platz 8 - D-81829 München<br>> e paul.derscheid@lmscloud.de<br>> w www.lmscloud.de <http://www.lmscloud.de><br>><br>><br>> _______________________________________________<br>> Koha-devel mailing list<br>> Koha-devel@lists.koha-community.org<br>> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>> website :https://www.koha-community.org/<br>> git :https://git.koha-community.org/<br>> bugs :https://bugs.koha-community.org/<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220421/9cdc7913/attachment-0001.htm><br><br>------------------------------<br><br>Message: 2<br>Date: Thu, 21 Apr 2022 17:57:15 +0200<br>From: Paul Derscheid <paul.derscheid@lmscloud.de><br>To: koha-devel <koha-devel@lists.koha-community.org><br>Subject: Re: [Koha-devel] shelf-browser replacement for koha<br>Message-ID: <2249634.iZASKD2KPV@moon><br>Content-Type: text/plain; charset="utf-8"<br><br>On Donnerstag, 21. April 2022 17:13:18 CEST Katrin Fischer wrote:<br>> Hi Paul,<br>> <br>> welcome to the list :)<br>> <br>> I tried to take a look at the feature, but when I try to load the shelf<br>> browser, it remains empty or takes a long while to load. There are some<br>> errors in the console (mostly CORS Missing Allow Origin) that could<br>> relate to the problem.<br>> <br>> Maybe adding a visual indicator about the content still loading could be<br>> a nice addition.<br>> <br>> I quite like the idea of generating a nice replacement picture for<br>> missing covers.<br>> <br>> Hope this helps,<br>> <br>> Katrin<br>> <br>> On 12.04.22 17:47, Paul Derscheid wrote:<br>> > Hi everyone,<br>> > <br>> > I developed a replacement for the koha shelf-browser realised as a<br>> > JavaScript library which is already in production with one of our clients.<br>> > tcohen asked me to provide necessary infos and resources so others can<br>> > take a look.<br>> > <br>> >   * The most important part is LMSCoverFlow.js<br>> >   <br>> >     <https://github.com/LMSCloud/Koha-LMSCloud/blob/master/koha-tmpl/opac-> >     tmpl/bootstrap/js/LMSCoverFlow.js> which is the library itself.<br>> >   <br>> >   * For the actual function calls take a look at opac-detail.tt<br>> >   <br>> >     <https://github.com/LMSCloud/Koha-LMSCloud/blob/master/koha-tmpl/opac-> >     tmpl/bootstrap/en/modules/opac-detail.tt> starting at line 1710.<br>> >   <br>> >   * The shelf-browser functionality depends on some scripts, namely<br>> >   <br>> >     coverflowbyshelfitem<br>> >     <https://github.com/LMSCloud/Koha-LMSCloud/blob/master/opac/svc/coverf<br>> >     lowbyshelfitem> and covergen<br>> >     <https://github.com/LMSCloud/Koha-LMSCloud/blob/master/opac/svc/coverg<br>> >     en><br>> >   <br>> >   * The corresponding modules are CoverFlowData.pm<br>> >   <br>> >     <https://github.com/LMSCloud/Koha-LMSCloud/blob/master/C4/CoverFlowDat<br>> >     a.pm> and CoverGen.pm<br>> >     <https://github.com/LMSCloud/Koha-LMSCloud/blob/master/C4/CoverGen.pm><br>> >     .<br>> > <br>> > I already got lectured on not putting stuff in C4. Next goal is to<br>> > move everything data related to an API endpoint.<br>> > The js is actually written in TypeScript using ES6 modules and I will<br>> > change the visibility of the corresponding repo soon and notify you<br>> > accordingly.<br>> > <br>> > Since the shelf browser is based on itemcallnumbers, it is necessary<br>> > to assign such to a sufficient amount of titles (9 when I tested on<br>> > koha-testing-docker).<br>> > <br>> > To see how it looks in prod take a look at this OPAC<br>> > <https://sb-heilbronn.lmscloud.net/>.<br>> > <br>> > If my explanation is not sufficient or I should have forgotten<br>> > something, you can send me a mail or write to me on IRC. My nick is<br>> > paulderscheid.<br>> > <br>> > I’d love to get feedback and I’m open to criticism.<br>> > <br>> > Kind Regards.<br>> > <br>> > Paul<br>> > <br>> > --<br>> > LMSCloud GmbH<br>> > Paul Derscheid - Software Engineer<br>> > Konrad-Zuse-Platz 8 - D-81829 München<br>> > e paul.derscheid@lmscloud.de<br>> > w www.lmscloud.de <http://www.lmscloud.de><br>> > <br>> > <br>> > _______________________________________________<br>> > Koha-devel mailing list<br>> > Koha-devel@lists.koha-community.org<br>> > https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>> > website :https://www.koha-community.org/<br>> > git :https://git.koha-community.org/<br>> > bugs :https://bugs.koha-community.org/<br><br>Hello Katrin,<br><br>thanks for trying it out. I'm currently moving everything data-related<br>to an API-endpoint as well as fixing some bugs and I will provide a better <br>solution for testing the feature than just listing the necessary files as<br>soon as I'm done.<br><br>I forgot to mention that you have to enable a provider for cover images.<br>Google works reasonably well. <br><br>If I'm not mistaken the CORS issue stems from EKZ being the default<br>cover image provider in my configuration and there's maybe some mishap<br>there because they face some problems atm (don't know if I'm allowed<br>to go into specifics, so I won't).<br><br>A visual indicator for bridging the loading process is already <br>implemented but apparently gets called too late to be of significance so<br>thanks for mentioning that.<br><br>The CoverGen script I mentioned in my first mail is intended to<br>generate cover images for resources which are missing urls. I noticed<br>some bugs there, though. This is also not default behaviour but will be<br>in the next version.<br><br>I appreciate your input, so thanks again.<br><br>Kind regards<br><br>Paul Derscheid<br> <br>--<br>LMSCloud GmbH<br>Paul Derscheid - Software Engineer<br>Konrad-Zuse-Platz 8 - D-81829 München<br>e paul.derscheid@lmscloud.de<br>w www.lmscloud.de<br>-------------- next part --------------<br>A non-text attachment was scrubbed...<br>Name: signature.asc<br>Type: application/pgp-signature<br>Size: 488 bytes<br>Desc: This is a digitally signed message part.<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220421/b40299f5/attachment-0001.sig><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>Koha-devel mailing list<br>Koha-devel@lists.koha-community.org<br>https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>website : https://www.koha-community.org/<br>git : https://git.koha-community.org/<br>bugs : https://bugs.koha-community.org/<br><br><br>------------------------------<br><br>End of Koha-devel Digest, Vol 197, Issue 11<br>*******************************************<br></div><br><br>NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.<br></body></html>