Admin filters for taxonomies in participatory spaces#13278
Merged
Admin filters for taxonomies in participatory spaces#13278
Conversation
This was referenced Aug 21, 2024
carolromero
previously approved these changes
Sep 6, 2024
alecslupu
suggested changes
Sep 9, 2024
Contributor
alecslupu
left a comment
There was a problem hiding this comment.
There are a few small changes that should be performed. Could you have a look ?
decidim-admin/app/forms/concerns/decidim/admin/has_taxonomy_form_attributes.rb
Outdated
Show resolved
Hide resolved
...esses/app/views/decidim/participatory_processes/admin/participatory_processes/_form.html.erb
Show resolved
Hide resolved
decidim-admin/spec/forms/decidim/admin/taxonomy_filter_form_spec.rb
Outdated
Show resolved
Hide resolved
57ce5e1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎩 What? Why?
This PR introduces the management of filters for participatory spaces based on taxonomies.
The main approach is the creation of the concern
Decidim::Admin::HasTaxonomyFiltersthat needs to be included in the final controller that wants to make use of it. In the controller is necessary to define the manifest name for the participatory space.📌 Related Issues
Link your PR to an issue
Testing
/adminsite📷 Screenshots
Todo: