<!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 14313 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is : <br><br>Title : Koha-devel Digest, Vol 192, Issue 15<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. QA : List::Util any ? (Fridolin SOMERS)<br>   2. Re: QA : List::Util any ? (Tomas Cohen Arazi)<br>   3. stylus on bugzilla (Fridolin SOMERS)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Fri, 19 Nov 2021 11:20:22 -1000<br>From: Fridolin SOMERS <fridolin.somers@biblibre.com><br>To: koha-devel <koha-devel@lists.koha-community.org><br>Subject: [Koha-devel] QA : List::Util any ?<br>Message-ID: <3afe05a3-e663-9031-b42b-16b5e1240337@biblibre.com><br>Content-Type: text/plain; charset=UTF-8; format=flowed<br><br>Hi,<br><br>This message is mainly for QA team but feel free to comment :)<br><br>In https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127606<br>... unless grep( /^$i$/, @branchcodes );<br><br>In my opinion seeing two veru different $ is disturbing.<br><br>Should we tell to use List::Util any ?<br>It is already used in many places.<br><br>Best regards,<br><br>-- <br>Fridolin SOMERS <fridolin.somers@biblibre.com><br>Software and system maintainer 🦄<br>BibLibre, France<br><br><br>------------------------------<br><br>Message: 2<br>Date: Fri, 19 Nov 2021 20:41:29 -0300<br>From: Tomas Cohen Arazi <tomascohen@gmail.com><br>To: Fridolin SOMERS <fridolin.somers@biblibre.com><br>Cc: koha-devel <koha-devel@lists.koha-community.org><br>Subject: Re: [Koha-devel] QA : List::Util any ?<br>Message-ID:<br>    <CABZfb=UJYDbTaZa+umPVA2ezKvvyQKz=8TzJb9gW-Ng8NdxypA@mail.gmail.com><br>Content-Type: text/plain; charset="utf-8"<br><br>If you are not using the output of grep (it returns all matching elements)<br>you should be using 'any', which short-circuits on the first match. And<br>List::Util is a core library nowadays.<br><br>That's why I use it in those scenarios and suggest it on QA as well.<br><br>Best regards<br><br>El vie., 19 nov. 2021 18:20, Fridolin SOMERS <fridolin.somers@biblibre.com><br>escribió:<br><br>> Hi,<br>><br>> This message is mainly for QA team but feel free to comment :)<br>><br>> In https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=127606<br>> ... unless grep( /^$i$/, @branchcodes );<br>><br>> In my opinion seeing two veru different $ is disturbing.<br>><br>> Should we tell to use List::Util any ?<br>> It is already used in many places.<br>><br>> Best regards,<br>><br>> --<br>> Fridolin SOMERS <fridolin.somers@biblibre.com><br>> Software and system maintainer 🦄<br>> BibLibre, France<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>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20211119/279761c7/attachment-0001.htm><br><br>------------------------------<br><br>Message: 3<br>Date: Fri, 19 Nov 2021 16:31:50 -1000<br>From: Fridolin SOMERS <fridolin.somers@biblibre.com><br>To: koha-devel <koha-devel@lists.koha-community.org><br>Subject: [Koha-devel] stylus on bugzilla<br>Message-ID: <01271d72-871b-c312-296d-deb216c9266e@biblibre.com><br>Content-Type: text/plain; charset=UTF-8; format=flowed<br><br>Hi,<br><br>I'd like to share a trick very useful for our bugzilla.<br><br>When backporting, bug dependencies are very important.<br>You see that when there is no dependency there is an input field and <br>there are hyperlinks for dependencies.<br><br>So I had the idea of adding CSS via Stylus FF plugin :<br>https://addons.mozilla.org/en/firefox/addon/styl-us/<br><br>Here is the rule :<br>====<br>#field_label_dependson + td > a.bz_bug_link::after {<br>     content: '⚠️';<br>}<br>====<br><br>It adds a warning emoji next to link.<br>When there is no dependency there is no warning.<br><br>I have also some other cosmetic rules :<br>====<br>body, td, th, input, select, dt, #titles {<br>     font-size: 16px;<br>}<br>.bz_comment_text {<br>     width: 100em;<br>}<br>.bz_time_tracking_table {<br>     display: none;<br>}<br>====<br><br>Best regards,<br><br>-- <br>Fridolin SOMERS <fridolin.somers@biblibre.com><br>Software and system maintainer 🦄<br>BibLibre, France<br><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 192, Issue 15<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>