Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PROD-31065: [IOSA-SUP] Reported content cannot be seen or deleted from the Report Overview Page #4219

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kashandarash
Copy link
Contributor

@kashandarash kashandarash commented Nov 29, 2024

Problem (for internal)

Reported content cannot be seen or deleted from the Report Overview Page by a Site Admin role. Please see the attachment, there is no option to delete and also when clicked on the view comment it doesn't direct to the comment, the user stays at the page. If we try to delete the reported content from the post itself, it gives the following message and do not delete. {"message":"The "comment" parameter was not converted for the path "/ajax_comments/{comment}/delete" (route name: "ajax_comments.delete")"} Reported contents can only be deleted from content overview page.

Solution (for internal)

Rework the reports page to add a delete option, filters and fix errors on the view action.
The destination parameter was removed from action links because it breaks a redirect that exists on routes.

Release notes (to customers)

The Reports page (/admin/content/reports) was updated, direct link to remove content and filters by type and status were added.

Issue tracker

https://getopensocial.atlassian.net/browse/PROD-31065

Theme issue tracker

How to test

  • Install Open Social
  • Report Content
  • Go to /admin/content/reports page
  • Filters and action links should work without errors

There was another PR #4190 that was declined because the update path was not provided, the only difference now is hook update, so we need to check only this.

Change Record

Translations

@kashandarash kashandarash added type: bug Fixes a bug in Open Social prio: high team: iata labels Nov 29, 2024
@kashandarash kashandarash added this to the 12.3.10 milestone Nov 29, 2024
@kashandarash kashandarash self-assigned this Nov 29, 2024
@open-social-tugboat
Copy link

Tugboat has finished building the preview for this pull request!

Link:

Dashboard:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prio: high team: iata type: bug Fixes a bug in Open Social
Development

Successfully merging this pull request may close these issues.

2 participants