1584 implement db notification and refactor notification logic#1624
Open
shubhammahure wants to merge 31 commits intodevfrom
Open
1584 implement db notification and refactor notification logic#1624shubhammahure wants to merge 31 commits intodevfrom
shubhammahure wants to merge 31 commits intodevfrom
Conversation
…otification-logic
…otification-logic
… related notification tables, moved combined PR code to this branch, and refactored logic accordingly
1 task
|
@CodiumAI-Agent /describe |
|
@CodiumAI-Agent /review |
|
@CodiumAI-Agent /improve |
added 4 commits
November 13, 2025 14:24
added 2 commits
November 18, 2025 17:15
…otification-logic
…e new DB column, and update all existing call sites
…otification-logic
…otification-logic
…otification-logic
…otification-logic
…otification-logic
…otification-logic
…otification-logic
…otification-logic
…otification-logic
…otification-logic
…otification-logic
…otification-logic
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR has a combine implementation for "In-app Notification System" and "Email Notification System" which allows users to initiate/receive notification whenever project(application) or engine related any activity occurs.
As User story 1 & User story 2, 3 this implementation has covered five use cases for notification feature.
As per the use cases, we have called notification utility method
CreateNotification()across different ProjectUtility as well as EngineUtility methods.For Email Notification three use cases are coverd, as follows
Email notification will be send to authors of those project/engine
Changes Made
For In-app Notification:
Implemented Notification Database integration by enhancing SMSSWebWatcher to check config and load the DB file, creating NotificationDbUtils to connect (It contains all the utility methods to perform operations) and initialize the new schema, adding NotificationOwlCreator to validate or recreate the OWL structure, updating DBLoader to verify the database connection at startup, and creating the NOTIFICATION table to store all notifications.
Created
PollNotificationReactor: This reactor returns number of new notifications for logged in user fromNotificationdatabase table.Created
FetchNotificationReactor: This reactor returns all the notifications for the logged in user fromNotificationdatabase table. (New Notifications+ Read Notifications+ Unread Notifications)Created
MarkNotificationReadReactor: This reactor is responsible to update “Read Notifications” inNotificationdatabase table. This reactor acceptsnotificationId& updates ‘Read’ status of the notification.Created
DeleteNotificationReactor: Using logged in user, this reactor deletes single or multiple notification from theNotificationdatabase table for that given user.NOTIFICATION table structure :
For Email Notification:
html email templatesfor project access approval, engine access approval, SMSS file updateHow to Test
For In-app Notification:
485259853-426eb3a0-26e4-4989-8576-fc8b84dc11cd.mp4
For Email Notification:
To test the functionality locally, I used MailPit and added credentials in social.Properties file.
Working video of email notification feature:
emailNotificationDemo1.mp4