Skip to content

Conversation

@estulpz202
Copy link

This pull request introduces the notification system for the follow-up feature as part of the implementation for GitHub issue #166. The changes include:

Summary of Changes:
Notification Logic:

Added notifications to alert staff when a follow-up is requested.
Added notifications to inform the requester when a follow-up is resolved.
Backend Updates:

Integrated notification creation and dispatch logic into the requestFollowUp and resolveFollowUp methods in topics.js.
Utilized the Notifications.create and Notifications.push methods to handle notification delivery.
Bug Fixes:

Resolved an undefined privileges error by importing the required module.
Testing:
The notification logic has been implemented but requires unit and integration tests to ensure proper functionality across different user roles.
Next Steps:
Write and validate tests for the follow-up feature.
Ensure notifications are displayed correctly in the UI.
This PR completes the notification sub-task for the follow-up feature. Let me know if further adjustments are needed!

@lhazard434 lhazard434 requested review from ChrisTimperley and lhazard434 and removed request for lhazard434 October 2, 2025 13:36
@aditi-agni aditi-agni self-requested a review October 2, 2025 13:43
Copy link

@aditi-agni aditi-agni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since there was just one method that was added, it looked okay on first glance. But due to failing tests I would double check the logic and existing test cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants