After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 767202 - Always fill the first line of important categories
Always fill the first line of important categories
Status: RESOLVED FIXED
Product: gnome-software
Classification: Applications
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2016-06-03 15:01 UTC by Joaquim Rocha
Modified: 2016-06-08 09:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Always fill the first line of important categories (3.30 KB, patch)
2016-06-03 15:01 UTC, Joaquim Rocha
none Details | Review

Description Joaquim Rocha 2016-06-03 15:01:41 UTC
If not enough important categories exist to fill the first line in the UI, then, if unimportant categories exist, those should be used to fill the remaining spots in the line. Otherwise there can be cases where the primary categories only display one category and the secondary/hidden categories display a few more, making the UI feel unbalanced.
Comment 1 Joaquim Rocha 2016-06-03 15:01:46 UTC
Created attachment 329049 [details] [review]
Always fill the first line of important categories

If not enough important categories exist to fill the first line in the
UI, then, if unimportant categories exist, use those to fill the
remaining spots in the line. This makes the UI more balanced.
Comment 2 Jakub Steiner 2016-06-06 11:31:03 UTC
The design for Software is meant to be 6 predefined hand-picked categories to be featured prominently and the rest hidden "behind the fold". 

[Corner Case]
In rare cases when there are not enough apps to fill said categories*, I would suggest to keep the fold at 2 rows (6 categories) rather than strict separation between featured categories and the rest (important/unimportant as joaquim calls them).

* Custom curation by a Linux distro, limited app selection in the flatpak transitional phase ...
Comment 3 Richard Hughes 2016-06-08 09:58:48 UTC
commit 6a079a3f1012605b9b529c2441c2424eb07a9abe
Author: Richard Hughes <richard@hughsie.com>
Date:   Wed Jun 8 10:57:47 2016 +0100

    Try really hard to have two rows of important categories
    
    Inspired from a patch by Joaquim Rocha, many thanks.
    
    Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=767202

:100644 100644 67cc027... 9da1887... M  src/gs-shell-overview.c