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

Mods: display settings tabs from state #1146

Merged
merged 1 commit into from
Apr 3, 2022
Merged

Mods: display settings tabs from state #1146

merged 1 commit into from
Apr 3, 2022

Conversation

herrvigg
Copy link
Collaborator

@herrvigg herrvigg commented Apr 3, 2022

The tab display is independent from its manual activation.
Any module could have extra settings (e.g. ACF).

Make the display dependent on the module state instead.
Add a new has_settings field in the module defintions.
Rename load_modules_enabled to load_active_modules.

The tab display is independent from its manual activation.
Any module could have extra settings (e.g. ACF).

Make the display dependent on the module state instead.
Add a new `has_settings` field in the module defintions.
Rename `load_modules_enabled` to `load_active_modules`.
@herrvigg herrvigg requested a review from spleen1981 April 3, 2022 16:31
@herrvigg herrvigg added plugin: others Concerns integration with other plugins core Core functionalities, including the admin section labels Apr 3, 2022
@spleen1981 spleen1981 merged commit 752e1db into master Apr 3, 2022
spleen1981 pushed a commit to spleen1981/qtranslate-xt that referenced this pull request Apr 3, 2022
The tab display is independent from its manual activation.
Any module could have extra settings (e.g. ACF).

Make the display dependent on the module state instead.
Add a new `has_settings` field in the module defintions.
Rename `load_modules_enabled` to `load_active_modules`.
@herrvigg herrvigg added modules Related to modules, internal to QTX and removed plugin: others Concerns integration with other plugins labels Apr 10, 2022
@spleen1981 spleen1981 deleted the mods-options branch April 11, 2022 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core functionalities, including the admin section modules Related to modules, internal to QTX
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants