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

Issue 701909 link

Starred by 3 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

Notification URL appears in middle of alert, should be at bottom

Project Member Reported by shrike@chromium.org, Mar 15 2017

Issue description

Chrome Version: 59.0.3042.0
OS: macOS 10.12

When I compare Calendar notifications in the old and new systems, the site (calendar.google.com) appeared at the bottom of the alert but now it appears in the middle. We should have the same information presentation as in the old system.

I'm not sure how much control we have over this message content, but the following would improve presentation:

1. Add a blank line between the message and the URL
2. Draw the URL in a lighter color

These are two things we do in the old system. I hope #1 is straightforward. If we are passing an NSAttributedString it should be easy to do #2.

 
Screen Shot 2017-03-15 at 11.31.34 AM.png
136 KB View Download
Screen Shot 2017-03-15 at 11.33.13 AM.png
130 KB View Download

Comment 1 Deleted

Comment 2 by peter@chromium.org, Mar 15 2017

Status: Assigned (was: WontFix)
(Ignore that, wrong issue.)
Cc: rsesek@chromium.org
So a few things first, 

  We originally had the following:
 Notification.subtype would contain the description 
 Notification.informativeText would contain the domain

This would create the desired effect of keeping the domain at the bottom. However while the toast itself does not change, when you look at the notification in the notification center, the Notification.informativeText is expanded which allows more text to fit in there.

There was a lot of demand on making this change when the feature became available behind a flag (see for example https://bugs.chromium.org/p/chromium/issues/detail?id=571056#c30)

I am not sure we can do any of the two required changes unfortunately, The three main fields of the notification (title, subtitle, informativeText) are one liners (at least when showing the toast) and only accept NSString.

See https://tests.peter.sh/notification-generator/#title=3;;body=3 as an example of how long/multiple lines look like.

Adding Robert in case he has some other suggestion.

Comment 4 by shrike@chromium.org, Mar 16 2017

Status: WontFix (was: Assigned)
OK, thank you for the explanation. That is unfortunate because the important bits of information (meeting name and time) are separated by not-so-relevant information, but I understand why it's the way it is. For now I will wontfix and try out living with it.

Sign in to add a comment