Page MenuHomePhabricator

[Notifications] Display notifications in Notifications Center
Open, MediumPublic

Description

Display live user notifications in the Notifications Center table view.

  • Interact with Notifications Data Controller to fetch available notifications for display
  • Configure available notification content into notifications cells and in appropriate display fields (title, message, etc.) and styles (read/unread)
  • Add sensible paging[3] if needed

Engineering Needs:
[1] The UI needs API on the Notifications Data Controller to interact with here
[2] We need the end-to-end testing environments to be set up and ready to poll against for actual content (in the Notifications Data Controller/Fetcher)
[3] What should our paging count/strategy be here?

Dependencies

https://phabricator.wikimedia.org/T287298
https://phabricator.wikimedia.org/T288658

Event Timeline

To be clear, the paging I'm referring to here is not explicitly in the UI element sense of the term (like dots on your home screen, or pages of emails in Gmail). My use of it is more in the under the hood engineering memory management sense of it (we have X total number of records, we can only load into memory Y at one time, as the user scrolls we start loading in the next Z records), which potentially has minor UI implications (like what to do at the bottom of a list that hasn't already prefetched the next Z records).

Tsevener moved this task from Doing to Needs Code Review on the iOS-app-v6.9-Carp-On-A-Zamboni board.
Tsevener added a subscriber: Tsevener.

For performance testing: be sure this list performs well (paging, refreshing, updating a mark as read state, filtering) with 10,000 notifications.