-
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
✨ [#2149] Display new answer header for mijn vragen list #1075
Conversation
35da383
to
ee2189c
Compare
a496eaa
to
c69e652
Compare
c69e652
to
863fb55
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.
Preliminary review as I'm only here in the morning.
I note you removed some of the apimocks. I don't mind and I assume there is a good reason and Paul and Jiro don't need them (I heard they actually would like more for proper list development but that could be for another time)
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #1075 +/- ##
===========================================
+ Coverage 95.00% 95.02% +0.01%
===========================================
Files 895 897 +2
Lines 31452 31559 +107
===========================================
+ Hits 29882 29989 +107
Misses 1570 1570 ☔ View full report in Codecov by Sentry. |
The problem was that because the endpoints just return what is in the files, the objectcontactmomenten can only belong to one of the |
6ef5bc7
to
1310a23
Compare
1310a23
to
85fe1bd
Compare
replaced KlantCntactMomentLocal.klantcontactmoment_url with contactmoment_url, so that we can easily get the local mapping without having to fetch KlantContactMoment resources
85fe1bd
to
05958dd
Compare
Following the link of a question in the case detail page produces an unhandled
Judging from the tests I think it will work when data is present. I stumbled over the API mocks myself and created an issue for it: https://taiga.maykinmedia.nl/project/open-inwoner/issue/2196 We can discuss on Monday if we want to further modify/expand them so that they're more useful |
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 don't know if the AttributeError
is due to misconfiguration on my part or the missing mock.
A few remarks about the placement of KlantcontactMomenten
in the admin the naming of classes/functions. Doesn't have to be changed, but double-check.
do you have the Klanten API configured in your local Open Klant configuration? |
I do have the API configured but I receive a |
task: https://taiga.maykinmedia.nl/project/open-inwoner/task/2149
This can be tested locally by connecting to the mock Klanten/Contactmomenten endpoints:
Logging in with DigiD and navigating to
Mijn vragen
, this should should the new answer header for the vraag, which should disappear after visiting the detail page