unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: David Thompson <dthompson2@worcester.edu>
To: "Ludovic Courtès" <ludo@gnu.org>,
	"John Darrington" <john@darrington.wattle.id.au>
Cc: guix-devel@gnu.org
Subject: Re: Package List on Web Site
Date: Sun, 08 Feb 2015 09:58:51 -0500	[thread overview]
Message-ID: <87y4o8h2l0.fsf@fsf.org> (raw)
In-Reply-To: <87zj8oqxbz.fsf@gnu.org>

Ludovic Courtès <ludo@gnu.org> writes:

> John Darrington <john@darrington.wattle.id.au> skribis:
>
>> In particular, I have noticed that http://gnu.org/s/guix/package-list.html is now
>> over 1.5 MB in size and is startign to take an unacceptably long time to load (at
>> least for me).
>
> I think it’s rendering that takes time, not transfer per se (unless you
> have a very slow connection.)
>
> I would like it to use David’s guix-web JS code to add the search box
> and multiple-page split.  I suspect this would address the rendering
> time and usability issues.  But of course, that would need help from
> someone knowledgeable...  :-)

We could make a specialized application that did this, since guix-web
will soon enough be concerned with authentication and other things that
aren't needed here.  To do things the way guix-web does, it would
require a Guile server component for the JSON API.

> It would be ideal if this were done in a “progressive enhancement”
> fashion, such that it can still be viewed in emacs-w3m.

Yes, agreed.  This would be the hardest part, because guix-web is
designed as a "single-page application", using JavaScript for all
rendering.  I would be inclined to write this package list browser in
the same fashion, because it results in much more elegant code than the
jQuery soup we would otherwise be in.

What should the non-JS fallback viewer look like?  Should we just
display the full list as we do now?

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

  reply	other threads:[~2015-02-08 14:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-08  7:44 Package List on Web Site John Darrington
2015-02-08 14:42 ` Ludovic Courtès
2015-02-08 14:58   ` David Thompson [this message]
2015-02-09 22:56     ` Ludovic Courtès
2015-02-08 16:49   ` John Darrington

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y4o8h2l0.fsf@fsf.org \
    --to=dthompson2@worcester.edu \
    --cc=guix-devel@gnu.org \
    --cc=john@darrington.wattle.id.au \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).