Create process types to allow filtering Processes by them#8583
Create process types to allow filtering Processes by them#8583andreslucena merged 41 commits intodevelopfrom
Conversation
4edb57d to
d2ab590
Compare
This includes: * Admin controller for CRUD * Admin form * Admin commands for CRUD * New permissions for admins * New admin log presenter * Admin menu item and views
Now the selection is not affected by changes on the other filters, the old behavior was confusing showing available types of the current filter
|
Ready to check, @andreslucena cc/ @decidim/product |
andreslucena
left a comment
There was a problem hiding this comment.
Sorry for the delay on reviewing this one @entantoencuanto
I found some typos. Can you check them?
Also, have you took the AssemblyTypes implementation to make this one? Just trying to understand how easy it'd be to implement the generic SpaceTypes in the future if we need it.
Finally, it'd be great to have a second look on this one as it's a big PR, so I'm invoking @ferblape to review this one
.../controllers/decidim/participatory_processes/admin/participatory_process_types_controller.rb
Outdated
Show resolved
Hide resolved
decidim-participatory_processes/lib/decidim/participatory_processes/api.rb
Show resolved
Hide resolved
* develop: (134 commits) Remove Rectify::Presenter references (#8758) Clarify the locales on the list of admins (#8838) Fix activity cell disappearing author images (#8826) Fix notifications when there is a note proposal in other spaces than processes (#8822) Fix accountability text search (#8831) Fix displaying hidden meetings in show process page (#8823) Fix docs for install-decidim.sh permissions (#8839) Fix report moderation for all the spaces (#8813) Clarify the comment at the resource search class (#8829) Fix displaying hidden related resources (#8812) Replace Decidim mentions in UI with 'the platform' (#8827) Add natively a .keep file to empty directory to include on git committing (#8830) Fix scope validation on initiative's creation (#8755) Replace `searchlight` with `ransack` which is already a core dependency (#8748) Fix characters not encoded in highlighted participatory process group title (#8820) Test ensuring the moderated comments are not computed in stats (#8816) Update rails to 6.0.4.6 and puma to 5.6.2 (#8817) Fix displaying hidden meetings in processes group's "upcoming meetings" content block (#8818) Fix displaying hidden meetings in homepage's "upcoming meetings" content block (#8809) Improve "Release Candidates" release docs (#8804) ...
…ipatory_processes/admin/participatory_process_types_controller.rb Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
909f6c6 to
8feca60
Compare
|
Sorry I missed your comment @andreslucena, I'll take a look ASAP |
ferblape
left a comment
There was a problem hiding this comment.
OK to me! @andreslucena it's easy to check in a local development_app but you can also review it in our staging https://decidim.populate.tools/processes?locale=es
andreslucena
left a comment
There was a problem hiding this comment.
Some tiny changes and we're good to go 😄
...ses/app/commands/decidim/participatory_processes/admin/destroy_participatory_process_type.rb
Outdated
Show resolved
Hide resolved
...sses/app/commands/decidim/participatory_processes/admin/update_participatory_process_type.rb
Outdated
Show resolved
Hide resolved
...sses/app/commands/decidim/participatory_processes/admin/create_participatory_process_type.rb
Outdated
Show resolved
Hide resolved
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
Co-authored-by: Andrés Pereira de Lucena <andreslucena@users.noreply.github.com>
* develop: (57 commits) Add a subtitle to assemblies and processes pages (#8918) Add a subtitle to votings page (#8919) Fix profile notifications (#8943) Fix email for verification conflict with managed users (#8926) Move VAPID keys generators to core (#8923) Fix officialized user event missing translations (#8927) Fix verification report with multitenants: notify it only to admins of that organization (#8929) Fix processes creation form with stats, metrics and announcements (#8925) Fix flaky spec in meetings multi-date selectors (#8924) Local HTML validator for the CI (#8937) Fix translatable presence validator for hyphenated locales (#8795) Fix link to docs in initiatives admin (#8921) Fix initiatives signatures issues (#8448) Fix the meetings export to also include unpublished meetings (#8874) Fix heading order in the consultation question page (#8920) Fix diff mode selector roles and tabindexes (#8912) Fix budget hard dependency and caching flag issues in comments (#8899) Fix emoji picker hiding Foundation Abide form errors (#8886) Fix logical heading order for the endorsers list (#8892) Fix Foundation Abide errors for Rails remote (AJAX) forms (#8889) ...



🎩 What? Why?
This PR:
Decidim::ParticipatoryProcessTypemodel associated with processes📌 Related Issues
Link your PR to an issue
Testing
As admin visit the participatory processes section, add some types and assign some processes to them. Go to the front and use the type filter both in global index and groups of processes (remember to enable the participatory processes content block on processes groups landing pages to see the processes and the filter)
📋 Checklist
🚨 Please review the guidelines for contributing to this repository.
docs/.📷 Screenshots
Please add screenshots of the changes you're proposing
