-
Notifications
You must be signed in to change notification settings - Fork 6
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
[#2704] Filter contactmomenten by kanaal #1372
Conversation
c96a9a1
to
bb15898
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1372 +/- ##
========================================
Coverage 95.24% 95.24%
========================================
Files 1006 1007 +1
Lines 37313 37347 +34
========================================
+ Hits 35538 35572 +34
Misses 1775 1775 ☔ View full report in Codecov by Sentry. |
ebb0c83
to
0ec9627
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.
I noted a high-level concern, let me know if you have other thoughts though.
0ec9627
to
be2c5c8
Compare
be2c5c8
to
370e6ef
Compare
@@ -17,3 +17,20 @@ def safe_label(cls, value, default=""): | |||
if default: | |||
return default | |||
return str(value).replace("_", " ").title() | |||
|
|||
|
|||
class ContactmomentKanaalEsuite(models.TextChoices): |
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.
How sure are we that this enumeration is the same across multiple eSuite instances? As with most things eSuite, this is likely something which is configurable...
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.
Discussed, we'll replace the whitelist containing hard-coded strings with a blacklist to be entered by the admin (cf. https://taiga.maykinmedia.nl/project/open-inwoner/task/2724)
370e6ef
to
af93b6f
Compare
af93b6f
to
1379575
Compare
1379575
to
7cdc422
Compare
Taiga: https://taiga.maykinmedia.nl/project/open-inwoner/task/2704