This repository has been archived by the owner on Sep 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
[AF4] Categories exclusion #7
Comments
@sarah-halby FYI ^^^ |
We need this one on YGBW as they have a thing called Camp Finder and it requires different set of excluded categories on paragraph/block level - will work on it. |
@duozersk this one? ymcatwincities/openy#1964 |
@podarok Yes, this one. We are tasked to have the same functionality based on AF4. |
You mentioned "partially". so reopening this one @duozersk |
Correct @podarok - we have implemented the exclude part; but there is also the limit part - limit found activities by categories - which wasn't done. |
#40 improves the categories exclusion logic. |
And #44 hopefully takes us to the finish line with the exclusions :) |
@sarah-halby Jira ticket created - https://openy.atlassian.net/browse/MAINTAIN-202 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
AF3 has categories limitation / exclusion settings - we should support them in AF4.
There are also categories exclusion settings on the backend - and this might be enough for most cases.
The settings we might want to support are implemented as paragraph fields and then rendered to the page using the “Data exported in JSON format“ / openy_json formatter which pushes field values to the window.OpenY.field_name JS values.
Apparently we can support the same setting not as paragraph fields, but as block settings - and render them to the page in the Twig template as we already do with all other settings - especially in the light of Layout Builder coming to Open Y (better to use blocks directly without wrapping paragraph).
The text was updated successfully, but these errors were encountered: