Improve moderation panel#6677
Conversation
|
Hi, @decidim/product can you review this PR? Here's the link: https://decidim-staging-pr-201.herokuapp.com/ It implements part of https://meta.decidim.org/processes/roadmap/f/122/proposals/15627 (as explained in the description of this PR) |
|
Can you add the before screenshots also so it's easier to see the visual diff? 🙏 🙏 |
@andreslucena Added a before screenshot to the PR description 😄 |
Awesome thanks! Could you add title column in the moderation panel? For better understanding, id = 5 is this: But as an administrator / moderator I can't know. I don't know if it's on the current sprint or in another, but a common need is to be able to see the moderated content after it was moderated. Is that going to be developed by you guys? Also, nice to see you here again @beagleknight 😄 |
We are currently developing a "show" view for each moderation that includes more info related to the
👋 I am glad to work with you again @andreslucena ! |
c183f99 to
459dc22
Compare
|
@decidim/product we've updated the PR with more additions. Check the updated description, and check the Review App: |
|
@mrcasals Hey Marc,
|
|
@virgile-dev all these changes should be deployed to the staging app now: https://decidim-staging-pr-205.herokuapp.com/admin/participatory_processes/atque-rerum/moderations |
tramuntanal
left a comment
There was a problem hiding this comment.
Hi @beagleknight ,
good job here!
I just suggest for a renaming.
Also, can you add a little bit of documentation in docs/advanced regarding how to add make a resource reportable?
|
@tramuntanal can you rereview it, please? 😄 |
tramuntanal
left a comment
There was a problem hiding this comment.
I think some unexpected contents got through the reportable.md documentation
tramuntanal
left a comment
There was a problem hiding this comment.
There's still some content to be cleaned, also can you check the codecov/patch?
docs/advanced/reportable.md
Outdated
| To render this button, `decidim-core` offers the `decidim/reported_content` cell. It is strongly recommended to use this cell to make new resources endorsable. | ||
|
|
||
| ```ruby | ||
| cell("decidim/endorsement_buttons", resource) | ||
| ``` |
There was a problem hiding this comment.
This still don't belongs here
There was a problem hiding this comment.
@tramuntanal This is it's good for real 🙇
Also added a couple of test to increase coverage.
tramuntanal
left a comment
There was a problem hiding this comment.
Thanks @beagleknight !
* Remove Markdown doc * Add documentation with Antora (AsciiDoc format - .adoc) Adds sections: * configure * customize * develop * install * services Also adds: * a README explaining the relationship with the documentation repository available in https://github.com/decidim/documentation * antora metadata file so we can build these sections in the same website * Fix Antora name for docs * Rename advanced pages to Concerns * Add Authorizations customize from module's README * Move 'add_authorizable_action' to 'permissions' * Move 'adding_fixtures_aka_dummy_content' to 'components' * Move 'how_to_create_a_module' to 'components' * Remove 'upgrading', now it's in 'update' * Install guide: fix error in 'whatever' gem (it's 'whenever') * Install guide: fix error in RAILS_ENV order in commands * Install guide: fix command for open_data export * Install guide: fix link to Contribution guide * Develop guide: add example apps * Architecture docs Add first version of c4model diagrams with PlantUML * https://c4model.com/ * https://plantuml.com/ * https://github.com/RicardoNiepel/C4-PlantUML * Add some explanation of modules types (with Components link) * Configure: ENV VARS and Initializer This moves ENV VARS configuration docs to its own page. We also create a new page for explaining Decidim's initializer settings (config/initializer/decidim.rb). For the moment is mostly a copy paste with nice formating, but the idea is to expand it. * Sync "Make maps actually configurable" by @ahukkanen Extracted from #6340 * Sync "Templates module" by @verarojman Extracted from #6247 * Sync "Configure Decidim Bulletin Board" by @leio10 Extracted from #6420 * Sync "Add a task to fix locale issues" by @microstudi Extracted from #6510 * Update versions in SECURITY.adoc * Convert CONTRIBUTING.md to AsciiDoc * Convert README.md to AsciiDoc * Clarify CONTRIBUTING and links to docs site * Remove Markdown linter CI * Sync "Update documentation for `decidim` OAuth social provider" by @tramuntanal Extracted from #6607 * Sync "Generate changelog entries" by @tramuntanal Extracted from #6794 * Fix link in oauth.adoc * Sync "Improve moderation panel" by @beagleknight Extracted from #6677 * Removes trailing whitespaces Co-authored-by: Oliver Valls <199462+tramuntanal@users.noreply.github.com>


🎩 What? Why?
This add a few improvements in the moderations panel:
id,created_at) and reorganise them.report_countandcreated_at)Filterableconcern.Updated (21/10/2020)
This also adds two new views to the moderation panel:
Both views includes a "preview" of the reported content. Since we don't want to display the whole content I created a new cell called reported_content_cell that can be configured for each resource. This cell will be used to preview this content in the email sent to the moderators.
Related issues/prs
Testing
📋 Checklist
🚨 Please review the guidelines for contributing to this repository.
docs/.📷 Screenshots
Before:
After:
(when hovering over "Visit URL" link)
(previous screenshot when scrolling down a bit...)