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 745095 - Notification list layout refinements
Notification list layout refinements
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: message-tray
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2015-02-24 15:43 UTC by Allan Day
Modified: 2015-02-26 16:49 UTC
See Also:
GNOME target: 3.16
GNOME version: ---


Attachments
modified screenshot (791.95 KB, image/png)
2015-02-24 15:43 UTC, Allan Day
  Details
patch (1.69 KB, patch)
2015-02-24 17:47 UTC, Allan Day
none Details | Review
the right patch (1.28 KB, patch)
2015-02-24 17:51 UTC, Allan Day
none Details | Review
patch (1.33 KB, patch)
2015-02-25 10:29 UTC, Allan Day
none Details | Review
patch (1.33 KB, patch)
2015-02-25 17:38 UTC, Allan Day
none Details | Review
patch (1.33 KB, patch)
2015-02-25 17:44 UTC, Allan Day
none Details | Review
before and after screenshot (137.90 KB, image/png)
2015-02-26 10:27 UTC, Allan Day
  Details

Description Allan Day 2015-02-24 15:43:56 UTC
Created attachment 297778 [details]
modified screenshot

Right now, the visual appearance of the notification list is a bit rough. I feel that it needs a bit of polish before release.

The attachment shows an edited screenshot, to get an idea.

Changes:

 * Add a border radius to list rows.
 * Reduce line spacing inside list rows.
 * Vertically center the two lines of text inside list rows.
 * Increase the width of the list.
 * More padding to the left of the icons, and even more to the left of event text.
 * Reduce the size of the time text.
 * Reduce the padding below the section headings.
Comment 1 Carlos Soriano 2015-02-24 15:55:21 UTC
Also, the calendar collumn that matches with the current day is not a perfect circle, but a ellipse. I don't know why.
Comment 2 Allan Day 2015-02-24 17:47:31 UTC
Created attachment 297789 [details] [review]
patch

Here's an initial patch. It doesn't do everything listed, but seems like it takes of the worst of the rough edges.
Comment 3 Allan Day 2015-02-24 17:51:11 UTC
Created attachment 297790 [details] [review]
the right patch

Sorry, I attached the wrong version - this is the right one.
Comment 4 Florian Müllner 2015-02-24 19:28:31 UTC
Review of attachment 297790 [details] [review]:

One comment, after that it's up to you and Jakub whether you are happy with the look.

::: _common.scss
@@ +877,2 @@
           .message-icon-bin {
+            padding: 8px 0px 8px 12px;

Different values for left and right => needs :rtl handling
Comment 5 Allan Day 2015-02-25 10:29:37 UTC
Created attachment 297864 [details] [review]
patch

With rtl handling.
Comment 6 Florian Müllner 2015-02-25 14:05:53 UTC
Review of attachment 297864 [details] [review]:

LGTM
Comment 7 Miguel Vaello Martínez 2015-02-25 16:46:13 UTC
I think that the border-radius property of the message boxes should be consistent with the panel border radius. Maybe 3px intead 6px, I think.
Comment 8 Allan Day 2015-02-25 17:28:18 UTC
(In reply to Miguel Vaello Martínez from comment #7)
> I think that the border-radius property of the message boxes should be
> consistent with the panel border radius. Maybe 3px intead 6px, I think.

I used 6px because that's the border radius for pop up banners, but I think you're right - 3px does look better here.
Comment 9 Allan Day 2015-02-25 17:38:49 UTC
Created attachment 297908 [details] [review]
patch

This matches the message item border radius to that of the popover.

I'd have liked to have removed some padding from below the list section headings, but I couldn't figure out how to do it - .message-list-section-title-box spacing seems to have no effect.
Comment 10 Allan Day 2015-02-25 17:44:52 UTC
Created attachment 297909 [details] [review]
patch

Fix broken rtl in previous patch.
Comment 11 Florian Müllner 2015-02-25 18:49:56 UTC
(In reply to Allan Day from comment #9)
> I'd have liked to have removed some padding from below the list section
> headings, but I couldn't figure out how to do it -
> .message-list-section-title-box spacing seems to have no effect.

.message-list-section-title-box is just the heading, i.e. its spacing only applies to section title and clear button. The spacing value in .message-list-section is what you're looking for.
Comment 12 Allan Day 2015-02-26 10:27:48 UTC
Created attachment 297958 [details]
before and after screenshot

Screenshot of the patch in action, for the freeze break.
Comment 13 Allan Day 2015-02-26 16:21:13 UTC
Freeze break was approved by the release team: https://mail.gnome.org/archives/release-team/2015-February/msg00094.html