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

[#2704] Filter contactmomenten by kanaal #1372

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

pi-sigma
Copy link
Contributor

@pi-sigma pi-sigma force-pushed the task/2704-contactmoment-filter branch from c96a9a1 to bb15898 Compare August 27, 2024 13:56
@pi-sigma pi-sigma changed the title Task/2704 contactmoment filter [#2704] Filter contactmomenten by kanaal Aug 27, 2024
@codecov-commenter
Copy link

codecov-commenter commented Aug 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.24%. Comparing base (9de71dd) to head (7cdc422).

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.
📢 Have feedback on the report? Share it here.

@pi-sigma pi-sigma force-pushed the task/2704-contactmoment-filter branch 5 times, most recently from ebb0c83 to 0ec9627 Compare August 28, 2024 09:13
@pi-sigma pi-sigma marked this pull request as ready for review August 28, 2024 09:36
Copy link
Contributor

@swrichards swrichards left a 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.

src/open_inwoner/openklant/admin.py Outdated Show resolved Hide resolved
src/open_inwoner/openklant/clients.py Outdated Show resolved Hide resolved
@pi-sigma pi-sigma force-pushed the task/2704-contactmoment-filter branch from 0ec9627 to be2c5c8 Compare August 28, 2024 12:51
src/open_inwoner/openklant/wrap.py Outdated Show resolved Hide resolved
@pi-sigma pi-sigma force-pushed the task/2704-contactmoment-filter branch from be2c5c8 to 370e6ef Compare August 28, 2024 13:58
@swrichards swrichards self-requested a review August 28, 2024 14:25
@@ -17,3 +17,20 @@ def safe_label(cls, value, default=""):
if default:
return default
return str(value).replace("_", " ").title()


class ContactmomentKanaalEsuite(models.TextChoices):
Copy link
Member

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...

Copy link
Contributor Author

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)

@pi-sigma pi-sigma marked this pull request as draft September 5, 2024 12:16
@pi-sigma pi-sigma force-pushed the task/2704-contactmoment-filter branch from 370e6ef to af93b6f Compare September 5, 2024 13:37
src/open_inwoner/openklant/models.py Outdated Show resolved Hide resolved
src/open_inwoner/openklant/models.py Outdated Show resolved Hide resolved
src/open_inwoner/openklant/models.py Show resolved Hide resolved
@pi-sigma pi-sigma force-pushed the task/2704-contactmoment-filter branch from af93b6f to 1379575 Compare September 6, 2024 10:05
@pi-sigma pi-sigma force-pushed the task/2704-contactmoment-filter branch from 1379575 to 7cdc422 Compare September 7, 2024 09:25
@pi-sigma pi-sigma marked this pull request as ready for review September 9, 2024 08:19
@alextreme alextreme merged commit 9f96322 into develop Sep 9, 2024
19 checks passed
@alextreme alextreme deleted the task/2704-contactmoment-filter branch September 9, 2024 15:33
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.

4 participants