Notification URL appears in middle of alert, should be at bottom |
||||
Issue descriptionChrome 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.
,
Mar 15 2017
(Ignore that, wrong issue.)
,
Mar 16 2017
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.
,
Mar 16 2017
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 |
||||
Comment 1 Deleted