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

[#1839] Enable/disable notifications per status type #838

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

pi-sigma
Copy link
Contributor

@pi-sigma pi-sigma commented Nov 7, 2023

Taiga #1839

@codecov-commenter
Copy link

codecov-commenter commented Nov 7, 2023

Codecov Report

Merging #838 (6f8e3ff) into develop (3579d7f) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #838   +/-   ##
========================================
  Coverage    92.84%   92.85%           
========================================
  Files          753      755    +2     
  Lines        26143    26172   +29     
========================================
+ Hits         24272    24301   +29     
  Misses        1871     1871           
Files Coverage Δ
...ner/openzaak/migrations/0029_auto_20231113_1459.py 100.00% <100.00%> (ø)
...er/openzaak/migrations/0030_merge_20231113_1518.py 100.00% <100.00%> (ø)
src/open_inwoner/openzaak/models.py 98.58% <100.00%> (+0.01%) ⬆️
src/open_inwoner/openzaak/notifications.py 95.72% <100.00%> (+0.24%) ⬆️
...er/openzaak/tests/test_notification_zaak_status.py 100.00% <100.00%> (ø)

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@pi-sigma pi-sigma marked this pull request as ready for review November 7, 2023 12:29
@@ -362,6 +362,7 @@ class ZaakTypeStatusTypeConfig(models.Model):
"Description that will be shown above the document upload widget in a case detail page"
),
)
notify_status_change = models.BooleanField(default=True)
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you add a verbose_name and help_text for this field?

Copy link
Contributor

Choose a reason for hiding this comment

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

This comment was resolved, but I think you forgot to add these attributes?

src/open_inwoner/openzaak/utils.py Outdated Show resolved Hide resolved
@pi-sigma pi-sigma force-pushed the feature/1839-notifications branch 3 times, most recently from 8a46eb1 to 18739a1 Compare November 9, 2023 14:00
src/open_inwoner/openzaak/utils.py Outdated Show resolved Hide resolved
src/open_inwoner/utils/url.py Outdated Show resolved Hide resolved
@@ -362,6 +362,7 @@ class ZaakTypeStatusTypeConfig(models.Model):
"Description that will be shown above the document upload widget in a case detail page"
),
)
notify_status_change = models.BooleanField(default=True)
Copy link
Contributor

Choose a reason for hiding this comment

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

This comment was resolved, but I think you forgot to add these attributes?

@stevenbal
Copy link
Contributor

@pi-sigma could you fix the merge conflict as well?

@pi-sigma
Copy link
Contributor Author

@stevenbal Sorry for the confusion, I must have made a mistake during rebasing.

@stevenbal stevenbal merged commit 5893b4e into develop Nov 13, 2023
14 checks passed
@stevenbal stevenbal deleted the feature/1839-notifications branch November 13, 2023 15:06
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