unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Package page
@ 2016-11-11  8:41 Adam Pribyl
  2016-11-11 10:03 ` ng0
  2016-11-11 17:41 ` Ludovic Courtès
  0 siblings, 2 replies; 7+ messages in thread
From: Adam Pribyl @ 2016-11-11  8:41 UTC (permalink / raw)
  To: Guix-devel

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?

Adam Pribyl

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Package page
  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:41 ` Ludovic Courtès
  1 sibling, 1 reply; 7+ messages in thread
From: ng0 @ 2016-11-11 10:03 UTC (permalink / raw)
  To: Adam Pribyl; +Cc: Guix-devel

Adam Pribyl <pribyl@lowlevel.cz> writes:

> 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?
>
> Adam Pribyl
>
>

Yes, it's not ideal. We had some discussions about this in the
past, but I think the preference is to deploy an improved listing
instead of no listing at all. I don't remember what the current
status of the alternative search is,someone else can fill this
in.

Personally I'm in favor of erasing the /packages page (until we
have an improved alternative), no one likes pages which kill your
browser process - which happens with some current browsers when
you visit our packages page. Better have no listing than to have
a listing which leaves a bad impressions by loading long and
eventually make your browser crash.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Package page
  2016-11-11 10:03 ` ng0
@ 2016-11-11 15:48   ` David Pirotte
  2016-11-11 17:30     ` ng0
  0 siblings, 1 reply; 7+ messages in thread
From: David Pirotte @ 2016-11-11 15:48 UTC (permalink / raw)
  To: ng0; +Cc: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 421 bytes --]

Hi,

> Personally I'm in favor of erasing the /packages page (until we
> have an improved alternative), no one likes pages which kill your
> browser process 

FWIW, I still have a [very] low internet band, I'm using epiphany, and it loads the
page in less then a second here.  I personnaly think it is important to guive
users a way to search 'visually' for packages... so for me, this page is perfect.

David

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Package page
  2016-11-11 15:48   ` David Pirotte
@ 2016-11-11 17:30     ` ng0
  0 siblings, 0 replies; 7+ messages in thread
From: ng0 @ 2016-11-11 17:30 UTC (permalink / raw)
  To: David Pirotte; +Cc: Guix-devel

David Pirotte <david@altosw.be> writes:

> Hi,
>
>> Personally I'm in favor of erasing the /packages page (until we
>> have an improved alternative), no one likes pages which kill your
>> browser process 
>
> FWIW, I still have a [very] low internet band, I'm using epiphany, and it loads the
> page in less then a second here.  I personnaly think it is important to guive
> users a way to search 'visually' for packages... so for me, this page is perfect.
>
> David

The reports I got on crashing were chromium and recent
firefox. I'm pretty sure without trying that w3m, lynx, links,
elinks and others can manage as good as epiphany, but it still
hangs with firefox and chromium, which almost no website manages
these days, no matter how overblown in code :)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Package page
  2016-11-11  8:41 Package page Adam Pribyl
  2016-11-11 10:03 ` ng0
@ 2016-11-11 17:41 ` Ludovic Courtès
  2016-11-12  7:42   ` pelzflorian (Florian Pelz)
  1 sibling, 1 reply; 7+ messages in thread
From: Ludovic Courtès @ 2016-11-11 17:41 UTC (permalink / raw)
  To: Adam Pribyl; +Cc: Guix-devel

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²).

Are you volunteering?  :-)  That would be a great contribution!

Ludo’.

¹ https://git.dthompson.us/guix-web.git
² http://git.savannah.gnu.org/cgit/guix/guix-artwork.git/tree/website/www/packages.scm

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Package page
  2016-11-11 17:41 ` Ludovic Courtès
@ 2016-11-12  7:42   ` pelzflorian (Florian Pelz)
  2016-11-12 11:37     ` Alex Sassmannshausen
  0 siblings, 1 reply; 7+ messages in thread
From: pelzflorian (Florian Pelz) @ 2016-11-12  7:42 UTC (permalink / raw)
  To: guix-devel

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. 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?).

Regards,
Florian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Package page
  2016-11-12  7:42   ` pelzflorian (Florian Pelz)
@ 2016-11-12 11:37     ` Alex Sassmannshausen
  0 siblings, 0 replies; 7+ messages in thread
From: Alex Sassmannshausen @ 2016-11-12 11:37 UTC (permalink / raw)
  To: pelzflorian (Florian Pelz); +Cc: guix-devel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-11-12 11:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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).