-
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
♻️ [#1930] Category personalisation fixes #907
Conversation
ad36116
to
b0f1194
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #907 +/- ##
===========================================
+ Coverage 92.93% 92.96% +0.02%
===========================================
Files 819 820 +1
Lines 28250 28358 +108
===========================================
+ Hits 26255 26363 +108
Misses 1995 1995 ☔ View full report in Codecov by Sentry. |
fba0b28
to
b03d51d
Compare
@alextreme I noticed the following:
|
7522d12
to
e5c4a1e
Compare
task: https://taiga.maykinmedia.nl/project/open-inwoner/task/1930 this flag is redundant since the addition of visible for DigiD/eHerkenning
task: https://taiga.maykinmedia.nl/project/open-inwoner/task/1930 * use the `hide_categories_from_anonymous_users` feature flag to determine visibility * show categories on homepage that are `highlighted` or found through zaaktypen filtering * remove limit of 4 for homepage categories plugin * remove fallbacks if no categories are found
task: https://taiga.maykinmedia.nl/project/open-inwoner/task/1930 the menu and the category list should only show root nodes, and the CMS plugin should show subcategories if highlighted/linked to relevant zaken
e5c4a1e
to
4d623be
Compare
We don't want to show child nodes in the menu, the idea is that from the category detailpage you can click through and browse the subcategories (if there are any). I would expect that we also need to update CategoryDetailView in order to make use of the visible_for_user() manager for the subcategories. I don't see that in your PR or on develop, so double-check this just in case. |
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.
Double-check CategoryDetailView
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.
Nice, and more test code then functional code 😆
071b124
to
6e5ce50
Compare
6e5ce50
to
780d86b
Compare
task: https://taiga.maykinmedia.nl/project/open-inwoner/task/1930