Skip to content

The last activity queries of 'home' and '/last_activities' are not unified #9879

@carolromero

Description

@carolromero

Describe the bug
The last activity logs displayed on the home page and on the last activity page are not the same. This causes confusion due to lack of consistency.

To Reproduce
Steps to reproduce the behavior:

  1. Go to meta.decidim.org
  2. Check the last activity on the homepage
  3. Click on the "View all" button
  4. See error (the "updated proposal" logs are not shown in the home page)

Expected behavior
That the last activity logs between one page and another are consistent.

Screenshots
Home page

Last activity page

Extra data (please complete the following information):

  • Device: Desktop
  • Device OS: Ubuntu 22.04
  • Browser: Chrome
  • Decidim Version: 0.27.0.rc2
  • Decidim installation: Metadecidim

Additional context
The review of this bug has led us to reflect on the extent to which a granularity of logs is desirable, and we have concluded that the best approach in the case of edits (of a comment, a proposal) is to use a percentage over the diff, so that for small typos no log is generated, whereas it is in the case of modifying a relevant amount of characters.
In addition, the logs of the admin panel should not be displayed as part of the last activity (publish and unpublish components, etc.).

Metadata

Metadata

Assignees

Labels

module: coretype: internalPRs that aren't necessary to add to the CHANGELOG for implementers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions