Skip to content
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

[#2598] Refactor notifications #1289

Merged
merged 1 commit into from
Jul 18, 2024
Merged

Conversation

pi-sigma
Copy link
Contributor

@pi-sigma pi-sigma commented Jul 1, 2024

  • replace cron jobs for notifying users about messages, expiring plans + actions with celery tasks
  • explicitly mark internal utility functions for case notifications

Taiga: https://taiga.maykinmedia.nl/project/open-inwoner/task/2598

@codecov-commenter
Copy link

codecov-commenter commented Jul 1, 2024

Codecov Report

Attention: Patch coverage is 98.93617% with 4 lines in your changes missing coverage. Please review.

Project coverage is 95.12%. Comparing base (0002256) to head (de43077).

Files Patch % Lines
src/open_inwoner/openzaak/notifications.py 93.33% 3 Missing ⚠️
src/open_inwoner/accounts/notifications/typing.py 80.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1289   +/-   ##
========================================
  Coverage    95.12%   95.12%           
========================================
  Files          983      990    +7     
  Lines        35727    35769   +42     
========================================
+ Hits         33985    34026   +41     
- Misses        1742     1743    +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pi-sigma pi-sigma force-pushed the task/2598-notifications-refactor branch 6 times, most recently from 42104b2 to d382dd4 Compare July 4, 2024 10:14
@pi-sigma pi-sigma changed the title [#2581] Refactor notifications for messages + expiring plans/actions [#2581] Refactor notifications Jul 4, 2024
@pi-sigma pi-sigma changed the title [#2581] Refactor notifications [#2598] Refactor notifications Jul 4, 2024
@pi-sigma pi-sigma force-pushed the task/2598-notifications-refactor branch from d382dd4 to 7956232 Compare July 4, 2024 12:21
@pi-sigma pi-sigma marked this pull request as ready for review July 4, 2024 13:01
@pi-sigma pi-sigma requested a review from swrichards July 4, 2024 13:01
src/open_inwoner/conf/base.py Outdated Show resolved Hide resolved
src/open_inwoner/plans/managers.py Outdated Show resolved Hide resolved
src/open_inwoner/accounts/notifications/notify_messages.py Outdated Show resolved Hide resolved
src/open_inwoner/accounts/tasks.py Outdated Show resolved Hide resolved
@pi-sigma pi-sigma force-pushed the task/2598-notifications-refactor branch 3 times, most recently from c4e9077 to 7b4b439 Compare July 10, 2024 12:39
@pi-sigma pi-sigma force-pushed the task/2598-notifications-refactor branch 2 times, most recently from c31b6ea to 95fa110 Compare July 16, 2024 08:13
src/open_inwoner/accounts/tasks.py Outdated Show resolved Hide resolved
src/open_inwoner/accounts/notifications/data_structures.py Outdated Show resolved Hide resolved
src/open_inwoner/accounts/notifications/actions/notify.py Outdated Show resolved Hide resolved
src/open_inwoner/accounts/tasks.py Outdated Show resolved Hide resolved
src/open_inwoner/utils/constants.py Outdated Show resolved Hide resolved
@pi-sigma pi-sigma force-pushed the task/2598-notifications-refactor branch 3 times, most recently from 98f2df6 to cb09a57 Compare July 17, 2024 14:04
@pi-sigma pi-sigma requested a review from swrichards July 17, 2024 14:26
src/open_inwoner/accounts/notifications/tasks.py Outdated Show resolved Hide resolved
src/open_inwoner/accounts/notifications/tasks.py Outdated Show resolved Hide resolved
src/open_inwoner/accounts/notifications/tasks.py Outdated Show resolved Hide resolved
@pi-sigma pi-sigma force-pushed the task/2598-notifications-refactor branch from cb09a57 to c93999a Compare July 18, 2024 08:50
@pi-sigma pi-sigma requested a review from swrichards July 18, 2024 09:15
…cases

    - replace cron jobs with celery tasks
    - explicitly mark internal utility functions for case notifications
@pi-sigma pi-sigma force-pushed the task/2598-notifications-refactor branch from c93999a to de43077 Compare July 18, 2024 09:37
@pi-sigma pi-sigma merged commit 50495fc into develop Jul 18, 2024
18 checks passed
@pi-sigma pi-sigma deleted the task/2598-notifications-refactor branch July 18, 2024 10:19
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