Closed NarayanBavisetti closed 3 days ago
The changes introduce a new import, ProjectMember
, and modify the extract_mentions_as_subscribers
and notifications
functions in notification_task.py
. The updates ensure that only active project members are processed for notifications and subscriptions based on user mentions. This includes checks to exclude users who are already subscribers, assignees, or creators of issues, enhancing the logic for managing user mentions and notifications. Additionally, the filtering functions in issue_filters.py
are updated to consider only non-deleted labels and assignees.
File Path | Change Summary |
---|---|
apiserver/plane/bgtasks/notification_task.py |
Added import of ProjectMember and updated logic in extract_mentions_as_subscribers and notifications to filter mentions and subscribers based on active project members. |
apiserver/plane/utils/issue_filters.py |
Modified filter_labels , filter_assignees , filter_cycle , and filter_module functions to include checks for the deleted_at field being null. |
ProjectMemberAPIEndpoint
, which is directly related to the changes in the main PR that involve checking for active project members when determining subscribers.🐛bug
🐰 In the meadow where rabbits play,
A change was made, hip-hip-hooray!
Active members now take the lead,
In notifications, they'll surely succeed!
With mentions clear and roles defined,
Our project thrives, all aligned! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
fix:
Issue Link: WEB-2776
Summary by CodeRabbit
New Features
Bug Fixes