Skip to content

Allow controls to be filtered at the code level#126

Merged
ryanwelcher merged 9 commits intotrunkfrom
try/filtering-controls
Jul 9, 2025
Merged

Allow controls to be filtered at the code level#126
ryanwelcher merged 9 commits intotrunkfrom
try/filtering-controls

Conversation

@ryanwelcher
Copy link
Copy Markdown
Owner

@ryanwelcher ryanwelcher commented Jul 7, 2025

This PR introduces the aql_allowed_controls filter that provides a way for developers to remove existing controls. This has become more important as the plugin grows and provides more options that developers may not need or want exposed to for their clients.

This is not the way to add new controls to AQL and is a first step towards providing a more customized experience for each site AQL is run on.

Closes #61

@ryanwelcher ryanwelcher self-assigned this Jul 7, 2025
@ryanwelcher ryanwelcher added the enhancement New feature or request label Jul 7, 2025
… control and the value is the param that is processed by the control. This provides the ability to turn of different controls that process the same param. i.e the date query ones.
…nd pass it as part of the props to each component. Each component handles rendering itself based on the controls availability.
@ryanwelcher ryanwelcher added this to the 4.2.0 milestone Jul 9, 2025
@ryanwelcher ryanwelcher merged commit 6ba5df4 into trunk Jul 9, 2025
2 checks passed
@ryanwelcher ryanwelcher deleted the try/filtering-controls branch July 9, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Developer Features: Remove controls via filters

1 participant