-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EASI-3918] Notification Page 🎉 #988
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice Gary! This all looks really good. I did notice some odd behavior when I tagged a user in a second model. The time elapsed is showing above/in between a notification. Here you can see 17 minutes
is rendering between these two notifications. I think that could be caused by one of the notifications being a reply other than a tag. Since we are releasing this to Prod one at a time, we need to make sure side effects of other notifications are not appearing. Probably filtering the data for only the notifications we are currently supporting
const taggedNotifications = data?.currentUser.notifications.notifications.filter( notification => notification.activity.activityType === ActivityType.TAGGED_IN_DISCUSSION );
Other than that, a really great job
We will also need to reprocess the numUnreadNotifications, because that isn't accurate if we are only working with one type. We will need to calculate that manually for only the notification we have. This will need to be addressed in the menu bar icon, to only render the unread style icon if its of type |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG, nice Gary!
EASI-3918
Changes and Description
How to test this change
/notifications/
TWO
discussions and tag self/notifications/
Mark all as read
will remove the red dot and mark all them readView Discussion
will only mark that individual discussionPR Author Review Checklist
PR Reviewer Guidelines