GNU bug report logs - #69132
[ELPA] Remove jQuery from elpa.gnu.org

Previous Next

Package: emacs;

Reported by: Philip Kaludercic <philipk <at> posteo.net>

Date: Wed, 14 Feb 2024 19:43:01 UTC

Severity: normal

Done: Philip Kaludercic <philipk <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


Message #85 received at 69132 <at> debbugs.gnu.org (full text, mbox):

From: Daniel Mendler <mail <at> daniel-mendler.de>
To: 69132 <at> debbugs.gnu.org
Cc: philipk <at> posteo.net
Subject: Re: bug#69132: [ELPA] Remove jQuery from elpa.gnu.org
Date: Sun, 25 Feb 2024 11:06:19 +0100
Philip Kaludercic <philipk <at> posteo.net> writes:

Hello Philip!

>> I was recently surprised to see that elpa.gnu.org uses a jQuery library,
>> where it really isn't necessary.  Re-implementing the same functionality
>> can be done in a few more lines of plain Javascript, without the need
>> for any minified code.  Tested with relatively recent versions of
>> Firefox and Chromium, so perhaps it would be nice if someone with an
>> older browser could check if I didn't make any bold assumptions. 
>
> I have pushed updated versions of these patches to elpa.git, does the
> same have to be done for nongnu.git?

I just tried the updated website on elpa.gnu.org and I observed the
following issues:

- The filtering feels less responsive. I don't know where the problem
  lies, maybe Jquery uses some kind of debouncing, a more efficient
  matching or a more efficient way to manipulate the DOM?

- When deleting the input string after filtering, such that the input
  field becomes empty again, all packages are highlighted.

- The jslicense.html website has not been updated yet. Maybe this
  website is also not necessary given that no third-party packages are
  used?

Daniel




This bug report was last modified 1 year and 87 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.