Changes between Initial Version and Version 1 of Ticket #8562, comment 1
- Timestamp:
- 09/01/2021 05:12:35 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #8562, comment 1
initial v1 2 2 3 3 4 1. Decouple the fetching/looping from the formatting of notifications, bp_notifications_get_notifications_for_user should be a wrapper for a loop that invokes the formatting function on each notification4 1. Decouple the fetching/looping from the formatting of notifications, bp_notifications_get_notifications_for_user should be a wrapper for a loop that invokes one of two formatting functions on each notification (one function to return a string and one an object) 5 5 6 2. when an object is returned it should be MUCH richer and include attributes like title, icon etc. which would enable notification to be consumed by many other channels e.g. specific apps, JavaScript notifications and the web push api.6 2. when an object is returned it should be MUCH richer and include attributes like title, icon etc. which would enable notification to be consumed by many other channels e.g. specific apps, JavaScript notifications and the browser web push api. 7 7