Skip to content

Don't show deleted resources in last activities #9293

Merged
ahukkanen merged 6 commits intodevelopfrom
fix/last-activity-with-deleted-comments
May 13, 2022
Merged

Don't show deleted resources in last activities #9293
ahukkanen merged 6 commits intodevelopfrom
fix/last-activity-with-deleted-comments

Conversation

@andreslucena
Copy link
Copy Markdown
Member

🎩 What? Why?

When someone makes a comment and deletes it, it's still accessible on the Last Activity content block of the homepage. This PR fixes that.

📌 Related Issues

Testing

  1. Log in and create a comment
  2. Delete it
  3. Go to the homepage and look for the Last Activity block

📷 Screenshots

image

(This currently in Metadecidim homepage)

♥️ Thank you!

@andreslucena andreslucena added module: core module: comments type: fix PRs that implement a fix for a bug labels May 12, 2022
@ahukkanen ahukkanen merged commit 94a849d into develop May 13, 2022
@ahukkanen ahukkanen deleted the fix/last-activity-with-deleted-comments branch May 13, 2022 16:58
andreslucena added a commit that referenced this pull request May 18, 2022
* Clarify describe block title

* Improve CSS selector in spec so it's more specific

* Add failing spec

* Make ActionLog aware of deleted resources

* Move the deleted comment factory to a trait

* Fix linter offenses
andreslucena added a commit that referenced this pull request May 19, 2022
* Clarify describe block title

* Improve CSS selector in spec so it's more specific

* Add failing spec

* Make ActionLog aware of deleted resources

* Move the deleted comment factory to a trait

* Fix linter offenses
andreslucena added a commit that referenced this pull request May 19, 2022
* Clarify describe block title

* Improve CSS selector in spec so it's more specific

* Add failing spec

* Make ActionLog aware of deleted resources

* Move the deleted comment factory to a trait

* Fix linter offenses
ahukkanen pushed a commit that referenced this pull request May 24, 2022
…9330)

* Don't show deleted resources in last activities  (#9293)

* Clarify describe block title

* Improve CSS selector in spec so it's more specific

* Add failing spec

* Make ActionLog aware of deleted resources

* Move the deleted comment factory to a trait

* Fix linter offenses

* Fix markup in spec so it's compatible with v0.26
eliegaboriau pushed a commit to eliegaboriau/decidim that referenced this pull request Oct 25, 2022
* Clarify describe block title

* Improve CSS selector in spec so it's more specific

* Add failing spec

* Make ActionLog aware of deleted resources

* Move the deleted comment factory to a trait

* Fix linter offenses
@alecslupu alecslupu added this to the 0.27.0 milestone Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: comments module: core type: fix PRs that implement a fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deleted comments are not removed from the Last Activity

3 participants