Implement ContentBlock for Process Groups (Admin UI)#6655
Implement ContentBlock for Process Groups (Admin UI)#6655tramuntanal merged 9 commits intodevelopfrom
Conversation
017aef2 to
56b0726
Compare
8cebdff to
b3f743d
Compare
b3f743d to
70e8e9e
Compare
This argument is optional and allows us to manage sets of content blocks belonging to an instance of a model instead of only a global set of content blocks as organization homepage blocks
The examples checks the behavior when scoped_resource_id argument is provided
* Checks secondary nav elements * Check management of participatory process group homepage content blocks
70e8e9e to
8700667
Compare
|
Hi @decidim/product @entantoencuanto is this PR accepted and ready for review? |
|
@tramuntanal yes, this ready to review, thanks |
There was a problem hiding this comment.
@entantoencuanto LGTM but please keep ca.yml and es.yml unchanged as they should be modified via Crowdin
Also, note that we need codecov/patch to be ok. Find here the parts of the code that need more coverage: https://codecov.io/gh/decidim/decidim/compare/080e4a55aaab4810d1d27e49a10cb61ec9984f42...87006677fb0e067f65b8a5f38dbee44a75530a9e/diff
| participatory_process_groups_submenu: | ||
| info: Informació | ||
| landing_page: Pàgina d'inici |
There was a problem hiding this comment.
other translations than :en should be done via Crowdin
|
Thanks! I'll make the required changes, removing es and ca unrequired translations in this PR and the others and fix the test coverage (at first the coverage reports made reference to files that did not seem to have to do with the PR, but current report makes much more sense) |
|
@tramuntanal I think that the coverage is ready. There is only a missing line when the |

🎩 What? Why?
The idea is to extend the content blocks feature used in organization homepage to participatory processes groups
The
Decidim::ContentBlockmodel has anscoped_resource_idwhich can be used to define a collection of content blocks for each participatory process groupThis PR:
ReorderContentBlockcommand to accept an optionalscoped_resource_idargumentReorderContentBlockcommand test and adds some system testsherocontent_block in the decidim/participatory_processes engine with its own scope:participatory_process_group(more content blocks will be added in the future)📌 Related Issues
Link your PR to an issue
Testing
As admin edit a participatory process group
📋 Checklist
🚨 Please review the guidelines for contributing to this repository.
docs/.📷 Screenshots
Please add screenshots of the changes you're proposing



