Page MenuHomePhabricator

Provide iOS 15 notification interruption and relevance scores for notifications
Closed, ResolvedPublic

Description

We should assign interruption levels for each type of notifications. These are:

  • passive
  • active (default / pre-iOS 15 style)
  • time sensitive
  • critical

We should also assign a relevanceScore to notifications. This is a number between 0 and 1 and it helps the system determine what should be displayed in the notification summary. I'd suggest we use the priority tiers we've already created and convert them to this scale.

See Toni's very helpful notes on iOS 15 notification changes below for more details.

QA Test Steps

  1. Confirm you are logged into an account in the app with Settings > Push notifications enabled.
  2. Tap your device's sleep/wake button to put it in sleep mode with the display off. Find an active notification type in our mapping doc, and trigger that notification type for the account in step 1. Confirm your device screen lights up with that notification displayed on the lock screen.
  3. Tap your device's sleep/wake button to put it in sleep mode with the display off. Find a passive notification and trigger it on the same account. Confirm that your device screen does not light up, but when you wake your device and visit iOS's notification center that this notification is visible.
  4. Tap your device's sleep/wake button to put it in sleep mode with the display off. Find a time sensitive notification and trigger it on the same account. Confirm your device lights up displaying that notification, and that Time Sensitive is displayed in a label above the notification's title.
  5. Enable a Focus mode and allow Time Sensitive notifications for that focus mode. Repeat Step 4 and confirm the time sensitive notification "breaks through" your focus mode and is displayed on your lock screen. Repeat Steps 2 and 3 and confirm the active and passive notifications do not break through your focus mode and aren't displayed on your lock screen but are displayed in iOS's notification center.
  6. Using that same Focus mode, disallow Time Sensitive notifications. Repeat Steps 2, 3, and 4 and confirm none of the notifications "break through" your focus mode on the lock screen. Confirm they are visible when your navigate to iOS's notification center.

Event Timeline

LGoto triaged this task as Medium priority.
LGoto moved this task from Needs Triage to Product Backlog on the Wikipedia-iOS-App-Backlog board.

Some notes I've gathered from the WWDC session (also here's a useful blog post summary).

  1. We should assign interruption levels for each type of notifications. These are passive, active (default / pre-iOS 15 style), time sensitive, and critical. Passive shows in the notification list, but does not light up the screen or play a sound. Time sensitive has the ability to break through the user's notification summary and focus mode settings (if allowed by the user). Critical is for emergencies like weather alerts. For example, I think the login notifications could qualify as time sensitive, and the edit and translation milestone notices could quality as passive, but PM or Design should ultimately decide on these.
  2. We should assign a relevanceScore to notifications. This is a number between 0 and 1 and it helps the system determine what should be displayed in the notification summary. The highest score gets featured in the notification summary.
  3. Notifications with media attachments are more likely to be featured in the notification summary. My only thought is if we know of a particular article associated with a notification (article talk page notification, edit revert, page link, mention), maybe we could pull the article lead image for display here.
  4. Notification actions can now show an associated icon, can be from SFSymbols or something custom, so we could modify the design accordingly. We also might need to provide a new resolution for the app icon because notifications now display the app icon at a larger size.
  5. We can signal to Siri which notifications are messages and who those contacts are, so that Siri can begin to surface them elsewhere in the system as a shortcut and suggestions. This could be useful for talk pages and mention notifications, but this also feels like a version 2 feature IMO.

Lets definitely do 1 and 2 under this ticket (I'm re-titling it to reflect that). We can use our master spreadsheet of notification types to set the interruption level and relevance score for the existing ones, and then we can assign a low score for any future "unrecognized" notification types.

For 3 and 4 I think we're covering this elsewhere in the main design ticket. So while its something to be mindful of, there's no work needed for it on this task.

Agreed that 5 seems like a future feature, esp given that most editor user names are not "real name" and less likely to match things than something like Facebook or LinkedIn.

JMinor renamed this task from iOS 15 notification features to Provide iOS 15 notification interruption and relevance scores for notifications.Aug 3 2021, 4:49 PM
JMinor updated the task description. (Show Details)
LGoto lowered the priority of this task from Medium to Low.Aug 17 2021, 7:02 PM
LGoto added a subscriber: JMinor.

@JMinor @cmadeo I may be missing this somewhere, but is the interruption level on a spreadsheet somewhere? I'm looking at this sheet - I see a column for it but no values.

Tsevener added a subscriber: Dmantena.
JMinor claimed this task.