New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 599891 link

Starred by 26 users

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: May 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Feature



Sign in to add a comment

Show the unread-count button of the message center at all times

Project Member Reported by yoshiki@chromium.org, Apr 1 2016

Issue description

This is requested by the UX (jennyschen@).

Currently, the unread-count button is shown only when the user logged-in and there are any notification(s).

In addition, we need to show the button:
- even when there is no notification ("0" on the button)
- even on the lock screen

Hiro, Jenn, please add additional information if you have.
 
Jenn, I have two question.

(1) What should we show in the message center when there is no notification? We should show nothing? Or we should show some funny illustration which indicates "there is no notification". (like the "All caught up!" bell icon in the notification popup at top-right of Google Webpages)

(2) On lock-screen, what should be happened when the user clicks the button?
It may be helpful to have a bell instead of a 0 for no notifications. There definitely could be some fun treatments for the empty state as well which I am happy to take with design.

On the lock screen, the user should have to authenticate before they can see notification content.
Cc: kuscher@chromium.org
Cc: jonnymack@chromium.org
> On the lock screen, the user should have to authenticate before they can see notification content.

It might be helpful to show some message (or visible effect) to notify users that you need to authenticate to see notifications.

So, I think it's better to do either:
- Show some message (or visual effect) which tells user that you need to authenticate, just after user clicks the button
- Make the button gray to tell user that the button is not clickable
#CBC-RS/TC-watchlist

So happy to see activity on this. We have received quite a few comments in CBC from users regarding their "missing" notifications icon.

#2 - I especially appreciate "There definitely could be some fun treatments for the empty state as well which I am happy to take with design."
Owner: jonnymack@chromium.org
Assigning to Jonny for design work.
Labels: Restrict-View-Google
Internal issue: 28027495
Here are some empty state and lock screen explorations:
https://folio.googleplex.com/_/preview/0B29spHBLr1wTYkhnMlZYWEI0akU/01_notifications/02_empty-state

I'm partial to 02 and 05. 

Thoughts?
+1 to 02, since 05 is a little bit too simple I think.

Hiro, any ideas?
And could you prepare the following assets?

- Large bell icon in 02 (if we go with 02)
- Disabled-state bell icon at the bottom in 07.
- Disabled-state setting icon at the bottom in 07.
Cc: -jonnymack@chromium.org sgabr...@chromium.org
I'd like to have +Sebastien weigh in here before we finalize.
Attached are two of Sebastien's suggestions; one w/ a "0" notification count and one w/ a bell icon in place of a numeral. My preference is to use the bell icon.

Jenn, does this sound good to you?
Bell is my preference as well.
Cc: jonnymack@chromium.org
Owner: yoshiki@chromium.org
Yoshiki, here's the bell asset in multiple sizes. Let me know if you need anything else. https://icons.googleplex.com/#icon=ic_notifications
Careful, old chrome OS core ui uses a complete different icon grid than MD. It might render badly.
Also: I'm assuming the empty state itself is still in-progress? It looks a little strange to have a menu that short. 

Meta comment: when this is more complete, please get design direction approval by us over at chromeos-ui-review@.
Visuals are final. It's small to avoid taking screen space to display nothing.
@mitsuji, as this becomes more complete, please make sure to take this through chromeos-ui-review@ so we can get agreement on design direction and avoid churn.
Attached is the final direction (approved through Chrome OS UI review). Yoshiki, feel free to let me know if you have any questions. Thanks!
01_empty-state.png
894 KB View Download
01a_empty-state-i18n.png
896 KB View Download
Thank you for finalizing!

How about the lock screen message? We use the same layout (like mock in comment #20)? Or like mock in comment #9?
Owner: jonnymack@chromium.org
No lock screen message necessary. See Kuscher's comment in the UI thread here:
https://groups.google.com/a/google.com/forum/?hl=en#!topic/chromeos-ui-review/_Etpqb7N9qg
Owner: yoshiki@chromium.org
Thanks, let me do this.
Based on our discussion offline, attached is a mock showing the following state:
User is on lock screen and clicked on bell icon (0 notifications).
01_empty-state.png
896 KB View Download
See the notification bell assets attached for the current shelf design.
I believe we only need the two states I included (normal and _p for pressed (white on blue). Let me know if you need anything else.
status_notification.zip
4.7 KB Download
Project Member

Comment 27 by bugdroid1@chromium.org, May 12 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/65dafe01584f929280381544785961d5d5d26b3d

commit 65dafe01584f929280381544785961d5d5d26b3d
Author: yoshiki <yoshiki@chromium.org>
Date: Thu May 12 02:29:51 2016

Show the unread button even without any unread notifications

The unread button was shown only when there are any notifications.
This patch shows it even when there is no notifications.

BUG= 599891 

Review-Url: https://codereview.chromium.org/1961793002
Cr-Commit-Position: refs/heads/master@{#393151}

[modify] https://crrev.com/65dafe01584f929280381544785961d5d5d26b3d/ash/system/web_notification/web_notification_tray.cc

Project Member

Comment 28 by bugdroid1@chromium.org, May 12 2016

Project Member

Comment 29 by bugdroid1@chromium.org, May 16 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/4e188badbc20ef3e535e706be977d199807047c6

commit 4e188badbc20ef3e535e706be977d199807047c6
Author: yoshiki <yoshiki@chromium.org>
Date: Mon May 16 06:53:43 2016

Show no-notification message in the bottom label of message center

This patch shows the no-notification message ("You have no notifications") in the bottom label of message center, which shows "Notification" in general.

Previously, the message was shown at the other message view above the label. But it will be removed by the separated patch (crrev.com/1961803002).

BUG= 599891 
TEST=manually tested

Review-Url: https://codereview.chromium.org/1961813002
Cr-Commit-Position: refs/heads/master@{#393798}

[modify] https://crrev.com/4e188badbc20ef3e535e706be977d199807047c6/ui/message_center/views/message_center_bubble.cc
[modify] https://crrev.com/4e188badbc20ef3e535e706be977d199807047c6/ui/message_center/views/message_center_bubble.h
[modify] https://crrev.com/4e188badbc20ef3e535e706be977d199807047c6/ui/message_center/views/message_center_button_bar.cc
[modify] https://crrev.com/4e188badbc20ef3e535e706be977d199807047c6/ui/message_center/views/message_center_button_bar.h
[modify] https://crrev.com/4e188badbc20ef3e535e706be977d199807047c6/ui/message_center/views/message_center_view.cc
[modify] https://crrev.com/4e188badbc20ef3e535e706be977d199807047c6/ui/message_center/views/message_center_view.h
[modify] https://crrev.com/4e188badbc20ef3e535e706be977d199807047c6/ui/message_center/views/message_center_view_unittest.cc
[modify] https://crrev.com/4e188badbc20ef3e535e706be977d199807047c6/ui/strings/ui_strings.grd

Project Member

Comment 30 by bugdroid1@chromium.org, May 16 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2768accc154d067704fb501967de68cba9fa4c3b

commit 2768accc154d067704fb501967de68cba9fa4c3b
Author: yoshiki <yoshiki@chromium.org>
Date: Mon May 16 15:09:07 2016

Remove NoNotificationMessageView from message center

This patch removes NoNotificationMessageView which is shown  when the message center has no notification, and instead the separated patch (crrev.com/1961813002) will show the no-notification message at the bottom label.

This patch also fixes the geometry bug, which calculated the height wrongly, in ui/message_center/views/message_center_view.cc:286.

BUG= 599891 
TEST=manually tested

Review-Url: https://codereview.chromium.org/1961803002
Cr-Commit-Position: refs/heads/master@{#393833}

[modify] https://crrev.com/2768accc154d067704fb501967de68cba9fa4c3b/ui/message_center/views/message_center_button_bar.cc
[modify] https://crrev.com/2768accc154d067704fb501967de68cba9fa4c3b/ui/message_center/views/message_center_button_bar.h
[modify] https://crrev.com/2768accc154d067704fb501967de68cba9fa4c3b/ui/message_center/views/message_center_view.cc
[modify] https://crrev.com/2768accc154d067704fb501967de68cba9fa4c3b/ui/message_center/views/message_center_view.h
[modify] https://crrev.com/2768accc154d067704fb501967de68cba9fa4c3b/ui/message_center/views/message_center_view_unittest.cc

FYI I am switching the bell icon to use the vectorized version: https://codereview.chromium.org/2005063002
Project Member

Comment 32 by bugdroid1@chromium.org, May 24 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/faa0ab38631cf9aa7e369f7a3e34c1767a61726b

commit faa0ab38631cf9aa7e369f7a3e34c1767a61726b
Author: tdanderson <tdanderson@chromium.org>
Date: Mon May 23 23:56:57 2016

Use vector icon for no unread notifications bell

Use a vector icon instead of a PNG for the
notifications icon shown when there are no
unread notifications (bell). Delete the
now-unsed image assets with id
IDR_ASH_SHELF_NOTIFICATION_TRAY_BELL.

BUG=595015, 599891 
TEST=manual

Review-Url: https://codereview.chromium.org/2005063002
Cr-Commit-Position: refs/heads/master@{#395470}

[modify] https://crrev.com/faa0ab38631cf9aa7e369f7a3e34c1767a61726b/ash/resources/ash_resources.grd
[delete] https://crrev.com/76a016568a6b224945dd21b04e3eb783673f0e37/ash/resources/default_100_percent/common/shelf/notification_tray_bell.png
[delete] https://crrev.com/76a016568a6b224945dd21b04e3eb783673f0e37/ash/resources/default_200_percent/common/shelf/notification_tray_bell.png
[modify] https://crrev.com/faa0ab38631cf9aa7e369f7a3e34c1767a61726b/ash/system/web_notification/web_notification_tray.cc

Project Member

Comment 33 by bugdroid1@chromium.org, May 27 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50

commit 48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50
Author: yoshiki <yoshiki@chromium.org>
Date: Fri May 27 05:49:50 2016

Show message center on lock screen

This patch does:
- Show the message center button on tray on the lock screen
- Show the message to encourage user to log in when user opens message center on lock screen
- Add SetLockedState(bool) and IsLockedState() method into MessageCenter class.
- Don't make notifications read when opening the message center on lock screen
- Add tests

And this patch also fixes the bug that this makes blocked notifications read wrongly.

BUG= 599891 
TEST=manually tested

Review-Url: https://codereview.chromium.org/1986493002
Cr-Commit-Position: refs/heads/master@{#396402}

[modify] https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50/ash/system/web_notification/web_notification_tray.cc
[modify] https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50/ui/message_center/fake_message_center.cc
[modify] https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50/ui/message_center/fake_message_center.h
[modify] https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50/ui/message_center/message_center.h
[modify] https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50/ui/message_center/message_center_impl.cc
[modify] https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50/ui/message_center/message_center_impl.h
[modify] https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50/ui/message_center/message_center_observer.h
[modify] https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50/ui/message_center/notification_list.cc
[modify] https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50/ui/message_center/notification_list.h
[modify] https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50/ui/message_center/notification_list_unittest.cc
[modify] https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50/ui/message_center/views/message_center_view.cc
[modify] https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50/ui/message_center/views/message_center_view.h
[modify] https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50/ui/message_center/views/message_center_view_unittest.cc
[modify] https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50/ui/strings/ui_strings.grd

Status: Fixed (was: Started)
Does this need to be restricted?
Cc: abodenha@chromium.org kmess@chromium.org dhadd...@chromium.org sdantul...@chromium.org
 Issue 296041  has been merged into this issue.
Labels: -Restrict-View-Google
Project Member

Comment 38 by bugdroid1@chromium.org, May 27 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d19388b6f1ca92183d28a7d4df9ceb9101309676

commit d19388b6f1ca92183d28a7d4df9ceb9101309676
Author: nednguyen <nednguyen@google.com>
Date: Fri May 27 17:08:04 2016

Revert of Show message center on lock screen (patchset #2 id:120001 of https://codereview.chromium.org/1986493002/ )

Reason for revert:
Speculative revert: this may cause message_center_unittests failure on Ubuntu-12.04

BUG= 615443 

Original issue's description:
> Show message center on lock screen
>
> This patch does:
> - Show the message center button on tray on the lock screen
> - Show the message to encourage user to log in when user opens message center on lock screen
> - Add SetLockedState(bool) and IsLockedState() method into MessageCenter class.
> - Don't make notifications read when opening the message center on lock screen
> - Add tests
>
> And this patch also fixes the bug that this makes blocked notifications read wrongly.
>
> BUG= 599891 
> TEST=manually tested
>
> Committed: https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50
> Cr-Commit-Position: refs/heads/master@{#396402}

TBR=dewittj@chromium.org,skuhne@chromium.org,yoshiki@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG= 599891 

Review-Url: https://codereview.chromium.org/2018063002
Cr-Commit-Position: refs/heads/master@{#396495}

[modify] https://crrev.com/d19388b6f1ca92183d28a7d4df9ceb9101309676/ash/system/web_notification/web_notification_tray.cc
[modify] https://crrev.com/d19388b6f1ca92183d28a7d4df9ceb9101309676/ui/message_center/fake_message_center.cc
[modify] https://crrev.com/d19388b6f1ca92183d28a7d4df9ceb9101309676/ui/message_center/fake_message_center.h
[modify] https://crrev.com/d19388b6f1ca92183d28a7d4df9ceb9101309676/ui/message_center/message_center.h
[modify] https://crrev.com/d19388b6f1ca92183d28a7d4df9ceb9101309676/ui/message_center/message_center_impl.cc
[modify] https://crrev.com/d19388b6f1ca92183d28a7d4df9ceb9101309676/ui/message_center/message_center_impl.h
[modify] https://crrev.com/d19388b6f1ca92183d28a7d4df9ceb9101309676/ui/message_center/message_center_observer.h
[modify] https://crrev.com/d19388b6f1ca92183d28a7d4df9ceb9101309676/ui/message_center/notification_list.cc
[modify] https://crrev.com/d19388b6f1ca92183d28a7d4df9ceb9101309676/ui/message_center/notification_list.h
[modify] https://crrev.com/d19388b6f1ca92183d28a7d4df9ceb9101309676/ui/message_center/notification_list_unittest.cc
[modify] https://crrev.com/d19388b6f1ca92183d28a7d4df9ceb9101309676/ui/message_center/views/message_center_view.cc
[modify] https://crrev.com/d19388b6f1ca92183d28a7d4df9ceb9101309676/ui/message_center/views/message_center_view.h
[modify] https://crrev.com/d19388b6f1ca92183d28a7d4df9ceb9101309676/ui/message_center/views/message_center_view_unittest.cc
[modify] https://crrev.com/d19388b6f1ca92183d28a7d4df9ceb9101309676/ui/strings/ui_strings.grd

Status: Started (was: Fixed)
Project Member

Comment 40 by bugdroid1@chromium.org, May 31 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2d827a875b4c7a0063dc63ed336d3fb08fc0faec

commit 2d827a875b4c7a0063dc63ed336d3fb08fc0faec
Author: yoshiki <yoshiki@chromium.org>
Date: Tue May 31 04:58:15 2016

Reland: Show message center on lock screen

The original CL (crrev.com/396402) was comitted but reverted (crrev.com/396495) due to MSAN failure (forgetting free the instance). This patch relands it with changing it with unique_ptr.

BUG= 615443 
TEST=MSAN bot passes
TBR=dewittj@chromium.org, skuhne@chromium.org

This patch does:
- Show the message center button on tray on the lock screen
- Show the message to encourage user to log in when user opens message center on lock screen
- Add SetLockedState(bool) and IsLockedState() method into MessageCenter class.
- Don't make notifications read when opening the message center on lock screen
- Add tests

And this patch also fixes the bug that this makes blocked notifications read wrongly.

BUG= 599891 
TEST=manually tested

Committed: https://crrev.com/48c4b94a9d9eb0ae3a20ed9c05d9e77ff1a98b50
Cr-Commit-Position: refs/heads/master@{#396402}

Review-Url: https://codereview.chromium.org/2025613002
Cr-Commit-Position: refs/heads/master@{#396785}

[modify] https://crrev.com/2d827a875b4c7a0063dc63ed336d3fb08fc0faec/ash/system/web_notification/web_notification_tray.cc
[modify] https://crrev.com/2d827a875b4c7a0063dc63ed336d3fb08fc0faec/ui/message_center/fake_message_center.cc
[modify] https://crrev.com/2d827a875b4c7a0063dc63ed336d3fb08fc0faec/ui/message_center/fake_message_center.h
[modify] https://crrev.com/2d827a875b4c7a0063dc63ed336d3fb08fc0faec/ui/message_center/message_center.h
[modify] https://crrev.com/2d827a875b4c7a0063dc63ed336d3fb08fc0faec/ui/message_center/message_center_impl.cc
[modify] https://crrev.com/2d827a875b4c7a0063dc63ed336d3fb08fc0faec/ui/message_center/message_center_impl.h
[modify] https://crrev.com/2d827a875b4c7a0063dc63ed336d3fb08fc0faec/ui/message_center/message_center_observer.h
[modify] https://crrev.com/2d827a875b4c7a0063dc63ed336d3fb08fc0faec/ui/message_center/notification_list.cc
[modify] https://crrev.com/2d827a875b4c7a0063dc63ed336d3fb08fc0faec/ui/message_center/notification_list.h
[modify] https://crrev.com/2d827a875b4c7a0063dc63ed336d3fb08fc0faec/ui/message_center/notification_list_unittest.cc
[modify] https://crrev.com/2d827a875b4c7a0063dc63ed336d3fb08fc0faec/ui/message_center/views/message_center_view.cc
[modify] https://crrev.com/2d827a875b4c7a0063dc63ed336d3fb08fc0faec/ui/message_center/views/message_center_view.h
[modify] https://crrev.com/2d827a875b4c7a0063dc63ed336d3fb08fc0faec/ui/message_center/views/message_center_view_unittest.cc
[modify] https://crrev.com/2d827a875b4c7a0063dc63ed336d3fb08fc0faec/ui/strings/ui_strings.grd

Status: Fixed (was: Started)
Labels: VerifyIn-53
Labels: VerifyIn-54
Labels: VerifyIn-55

Comment 45 by dchan@google.com, Nov 19 2016

Labels: VerifyIn-56

Comment 46 by dchan@google.com, Jan 21 2017

Labels: VerifyIn-57

Comment 47 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 48 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 49 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 51 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)

Sign in to add a comment