all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Sassmannshausen <alex.sassmannshausen@gmail.com>
To: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
Cc: guix-devel@gnu.org
Subject: Re: Package page
Date: Sat, 12 Nov 2016 12:37:09 +0100	[thread overview]
Message-ID: <87k2c9kjyy.fsf@gmail.com> (raw)
In-Reply-To: <91713896-20dc-153a-397b-c509fe2da187@pelzflorian.de>

Hello,

pelzflorian (Florian Pelz) writes:

> On 11/11/2016 06:41 PM, Ludovic Courtès wrote:
>> Hello!
>> 
>> Adam Pribyl <pribyl@lowlevel.cz> skribis:
>> 
>>> The GuixSD package page
>>>
>>> https://www.gnu.org/software/guix/packages/
>>>
>>> is getting somewhat large to load. It is also bit short sighted to
>>> list all packages on one html page. Any plans what to with this?
>> 
>> It’s a shame indeed and we should definitely add JS code to browse it.
>> There’s already code for that in Guix-Web¹ that could be used as a
>> starting point (the web site’s code is in guix-artwork.git²).
>
> Just my 2¢ as a user who does not yet have the time to contribute: I
> typically browse the Web with JavaScript disabled and don’t think
> JavaScript should be required without a good reason.

I tend to come at this from a similar perspective — though I consider a
nice UI to be a "good reason".  I tend to err on the side of "graceful
degradation", which is why the patch I provided tries to implement a
JS-less version first, upon which we could build JS functionality.

> Currently the packages page loads somewhat slowly in Netsurf and GNU
> Icecat for me (with and without JS) but I can search the packages with
> Ctrl+F. Please at least retain some sort of search functionality for
> non-JS users (server-side search through a form?).

Agreed. I think for now we can retain the one page load for all
packages.

The downside of having server-side search is that we lose the nice
simplicity of having a static web page as we do now.

I think the paginated pages approach I propose in my patch would provide
a compromise: you select the letter by which your package starts and
then you can do C-f.  Alternatively, take the risk and load the full
page…

Alex

      reply	other threads:[~2016-11-12 11:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-11  8:41 Package page Adam Pribyl
2016-11-11 10:03 ` ng0
2016-11-11 15:48   ` David Pirotte
2016-11-11 17:30     ` ng0
2016-11-11 17:41 ` Ludovic Courtès
2016-11-12  7:42   ` pelzflorian (Florian Pelz)
2016-11-12 11:37     ` Alex Sassmannshausen [this message]

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

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

  git send-email \
    --in-reply-to=87k2c9kjyy.fsf@gmail.com \
    --to=alex.sassmannshausen@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=pelzflorian@pelzflorian.de \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.