From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Mendler via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#69132: [ELPA] Remove jQuery from elpa.gnu.org Date: Sun, 25 Feb 2024 11:06:19 +0100 Message-ID: <87v86cvox0.fsf@daniel-mendler.de> References: <87jzn6g7ep.fsf@posteo.net> <87r0h26ux5.fsf@posteo.net> Reply-To: Daniel Mendler Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32122"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: philipk@posteo.net To: 69132@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 25 11:10:01 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1reBSL-0008Bh-Hr for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Feb 2024 11:10:01 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1reBS0-0002zA-7s; Sun, 25 Feb 2024 05:09:40 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1reBRy-0002yW-05 for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 05:09:38 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1reBRx-000276-KT for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 05:09:37 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1reBSL-0002Gq-Qg for bug-gnu-emacs@gnu.org; Sun, 25 Feb 2024 05:10:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Mendler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Feb 2024 10:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69132 X-GNU-PR-Package: emacs Original-Received: via spool by 69132-submit@debbugs.gnu.org id=B69132.17088557458594 (code B ref 69132); Sun, 25 Feb 2024 10:10:01 +0000 Original-Received: (at 69132) by debbugs.gnu.org; 25 Feb 2024 10:09:05 +0000 Original-Received: from localhost ([127.0.0.1]:60560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reBRQ-0002EX-OG for submit@debbugs.gnu.org; Sun, 25 Feb 2024 05:09:05 -0500 Original-Received: from server.qxqx.de ([49.12.34.165]:60523 helo=mail.qxqx.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1reBRN-0002Dk-Pn for 69132@debbugs.gnu.org; Sun, 25 Feb 2024 05:09:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=daniel-mendler.de; s=key; h=Content-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=SM8YqhVjdKbydYrPohfUirGuBXfRQBYQJdO2WrCmgPw=; b=gs2lj+rQKUdc8v0sSzP8oLSQGd uXfjVvujsQJmxofmDu8Yu1QohzbVjYLB5ksvltVdKqvzoXIqrUzW0PDgwA92jSLeo20x56UR+NyB6 k9awmcDopumf2vtroJIlf07yKphyfExCKHtIXbeGGCFrCbHxF8jj3csBCWKx1zGt11dA=; In-Reply-To: <87r0h26ux5.fsf@posteo.net> (Philip Kaludercic's message of "Sat, 24 Feb 2024 10:03:34 +0000") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:280608 Archived-At: Philip Kaludercic 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