-
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
[#2966] Refactor logic for registering contactmomenten in eSuite #1552
Conversation
c6d86d2
to
3928ecc
Compare
c419675
to
65f542b
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #1552 +/- ##
===========================================
+ Coverage 94.23% 94.24% +0.01%
===========================================
Files 1070 1073 +3
Lines 39413 39532 +119
===========================================
+ Hits 37141 37258 +117
- Misses 2272 2274 +2 ☔ View full report in Codecov by Sentry. |
65f542b
to
58976f2
Compare
a2d86c1
to
12267c4
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.
LGTM, just needs a rebase for the migration dependencies (it's a nitpick, but there's also some stash conflict markers in the first commit, not that it hurts much). I'd like to hold off on merging until v1.26.0
is released.
12267c4
to
9e2c883
Compare
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("openklant", "0018_rename_openklantconfig_esuiteklantconfig_and_more"), |
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 think this needs to be dependent on src/open_inwoner/openklant/migrations/0020_add_more_help_texts_to_openklant2_config.py
?
9e2c883
to
4a28798
Compare
4a28798
to
913b67a
Compare
dependencies = [ | ||
("openklant", "0019_alter_klantensysteemconfig_primary_backend"), | ||
] |
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.
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.
You're right, I mixed up the order (0020_add_more...
is already in develop
but there's no logical dependency between the migrations).
- move relevant fields from ESuiteKlantConfig to global KlantenSysteemConfig so they can be used for OpenKlant2 as well
913b67a
to
38658c4
Compare
In preparation for adding support for registering questions with OpenKlant2, the existing logic for registering contactmomenten in the eSuite is refactored.
Taiga: https://taiga.maykinmedia.nl/project/open-inwoner/task/2966