ymcatwincities / openy_activity_finder

Activity Finder for Open Y
https://github.com/YCloudYUSA/yusaopeny_activity_finder
GNU General Public License v3.0
3 stars 24 forks source link

[AF3] Hide Program Categories step setting is not working #35

Open ddrozdik opened 3 years ago

ddrozdik commented 3 years ago

Test Environment: Environment: | https://sandboxes-d9.openy.org/ Drupal version | 9.0.10 Open Y version | 9.x-2.8.0 Open Y installation type | Custom Open Y theme | Carnation

Steps to reproduce:

  1. log in as admin
  2. Go to Content
  3. Find a page "Activity Finder"
  4. Edit it
  5. Enable the checkbox "Hide Program Categories step" image
  6. Save

Expected result: When you walk through the activity finder steps you should not see the step where you should choose categories.

Actual result: The program categories step is visible and not hidden according to the setting from the paragraph. image

ddrozdik commented 3 years ago

cc @sarah-halby

duozersk commented 3 years ago

This one is not related to AF4 - it doesn't have this checkbox at all. And when we were looking into porting this feature to AF4 - we found out that there is no implementation for this thing in AF3 - checkbox exists, but doesn't affect anything (there is nothing in the codebase reacting to it - looks like not finished backporting...).

ddrozdik commented 3 years ago

yes, however in code I see that there is a code that somehow was supposed to be used https://github.com/ymcatwincities/openy_activity_finder/blob/4.x/openy_af_vue_app/components/ActivityFinder.vue#L457, even in AFv4. That's why I marked it as related to AFv4 as well.

duozersk commented 3 years ago

The code reference above is for AF3 ^^