discourse/app/services/notifications
Roman Rizzi 23b75d8a2b
FEATURE: Before consolidation callbacks. (#15428)
You can add callbacks that get called before updating an already consolidated notification or creating a consolidated one.

Instances of this rule can add callbacks to access the old notifications about to be destroyed or the consolidated one and add additional data inside the data hash versus having to execute extra queries when adding this logic inside the `set_mutations` block.
2021-12-30 15:40:16 -03:00
..
consolidate_notifications.rb FEATURE: Before consolidation callbacks. (#15428) 2021-12-30 15:40:16 -03:00
consolidation_plan.rb FEATURE: A notification consolidation plan for keeping the latest one. (#15249) 2021-12-10 10:32:15 -03:00
consolidation_planner.rb REFACTOR: Use a consolidation rule for collapsing likes. (#15393) 2021-12-23 09:44:03 -03:00
delete_previous_notifications.rb REFACTOR: Use a consolidation rule for collapsing likes. (#15393) 2021-12-23 09:44:03 -03:00