Allow the notifications query to in the block to be altered

Created on 1 April 2025, 1 day ago

Problem/Motivation

Right now I would like to be able to add a condition on the notifications query in the block to limit the notifications the user are seeing. To do this I will probably need to create another block and rewrite the build method of notification_widget_block.

Steps to reproduce

Proposed resolution

To allow custom modules to alter the query we could tag the query with the following string 'notification_widget_block_build' to make it alterable so that custom conditions can be applied.

Remaining tasks

Submit a MR.

User interface changes

N/A

API changes

Now the

Data model changes

N/A

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada nikathone Ontario

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024