Changes for page Notifications Optimization
Last modified by Thomas Mortagne on 2020/02/07 13:46
edited by Guillaume Delhumeau
on 2019/03/06 15:21
on 2019/03/06 15:21
edited by Guillaume Delhumeau
on 2019/03/06 15:21
on 2019/03/06 15:21
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -83,7 +83,7 @@ 83 83 84 84 1. An event is triggered in XWiki. 85 85 1. The event is recorded in the Event Stream table. 86 -1. For each user, we compute either or not the event should be displayed, according to their preferences.86 +1. For each user, we compute either or not the event should be displayed, according to her preferences. 87 87 11. If the event should be displayed for the user, create a line in the "Event Status" table for the user, with the "read" value to false. 88 88 11. If the event should not be displayed for the user, it is simply dismissed. 89 89 1. When the user fetch the notifications, there is no complex SQL query to perform anymore. We just need to look into the "Event Status" table which events are linked to the current user id.