-
Notifications
You must be signed in to change notification settings - Fork 0
task/FP-391: Notifications #77
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #77 +/- ##
==========================================
- Coverage 54.08% 53.96% -0.12%
==========================================
Files 211 216 +5
Lines 7585 7686 +101
Branches 1028 1065 +37
==========================================
+ Hits 4102 4148 +46
- Misses 3287 3332 +45
- Partials 196 206 +10
Flags with carried forward coverage won't be shown. Click here to find out more.
|
faa32e8
to
690277f
Compare
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.
This is a UI approval.
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.
Besides #77 (comment) thread, looks good to merge 👍
In the future, would it be useful to change the backend response so that the list
contains the total unread count but instead of a single list it contains a separate list (with their unread count) for each of the event types
.
Instead of mutating our current's state list of jobs. See https://redux.js.org/troubleshooting
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.
Two suggestions (fixes based on incorrect padding that I believe came from me).
Also, there's a merge conflict to resolve. Probably related to icons. I'll look. Update: PR author is looking.
Co-authored-by: W. Bomar <[email protected]>
Co-authored-by: W. Bomar <[email protected]>
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.
Re-approving, after testing changes, and reviewing last minute commits.
Update: Assuming client-side test failure will be fixed. The client-side test failure is fixed.
* Alter counting of job notifications * Move calculation of unread messages to reducer * Fix refactor * Add missing total * Fix for which notifications counters are displayed
Overview:
Enables Django Channels on the backend, running as a daphne server for websocket events.
Creates a
ReconnectingWebSocket
connection on client instantiation. The channels ws connection is added to two groups:username
group, for messages to the userportal_events
group, for messages to all usersCredit to @jarosenb for laying the groundwork.
PR Status:
Related Jira tickets:
Summary of Changes:
Testing Steps:
requirements.txt
by rebuilding image:packages.json
:frontera_prtl_nginx
:_WH_BASE_URL
setting insettings_secret.py
UI Photos:
Notes:
Todo: