Skip to content
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

Generalize ACF config and simplify options #1267

Merged
merged 3 commits into from
Dec 22, 2022
Merged

Generalize ACF config and simplify options #1267

merged 3 commits into from
Dec 22, 2022

Conversation

herrvigg
Copy link
Collaborator

The ACF options are difficult to grasp:

  • it should not be required to enter the name of the pages where the LSB are shown, these should be defined by the module.
  • the standard ACF input and text fields should always be supported. We should deprecate the ACF-QTX extended fields.

Moreover the shim element used to set the LSB anchors is too fuzzy. It may appear several times with same id in the DOM. Also, it's unclear how the display hooks are handled, as they should not be dependent on the options.

Refactor the ACF configuration to list clearly the supported pages, anchors and display fields.

Remove the options for standard support (always true) and the list of pages for LSB (the config should be updated).

The ACF options are difficult to grasp:
- it should not be required to enter the name of the pages where
  the LSB are shown, these should be defined by the module.
- the standard ACF input and text fields should always be supported.
  We should deprecate the ACF-QTX extended fields.

Moreover the `shim` element used to set the LSB anchors is too fuzzy.
It may appear several times with same id in the DOM.
Also, it's unclear how the display hooks are handled, as they should
not be dependent on the options.

Refactor the ACF configuration to list clearly the supported pages,
anchors and display fields.

Remove the options for standard support (always true) and the list
of pages for LSB (the config should be updated).
@herrvigg herrvigg added enhancement New feature or request module: ACF Integration with ACF labels Dec 21, 2022
@herrvigg herrvigg merged commit ed07b0e into master Dec 22, 2022
@herrvigg herrvigg deleted the acf-config branch December 23, 2022 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module: ACF Integration with ACF
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant