oyster: Add reporting if resource is outdated, broken, duplicate ⛔️

Description

This feature will add reporting to the Resource Database so that the database can be moderated by the community.

Acceptance Criteria

Here is how this flow should work:

  • User clicks on the “More Options” but, which should replace the “Copy Resource Link” button that currently exists.
  • A dropdown should open with the following options:
    • “Copy Resource Link”
    • “Report Issue”
  • When clicking “Report Issue”, it should navigate the URL to /resources/:id/report, which opens up a modal. That modal should show a form with the following field:
    • Reason: Should be one of:
      • “Resource is outdated.”
      • “Link is broken.”
      • “This is a duplicate.”
  • Upon submitting the form, the poster of the resource should get a Slack notification about it saying something like:
    A resource you posted was reported as [outdated/broken/a duplicate]. Please review and delete the resource if this report is accurate.
    

Note, we should save the report in the database as well.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 21 (8 by maintainers)

Most upvoted comments

@Boris713 just reassigned it to you

@DavidUmanzor you’ve got it!

@tomas-salgado Hi, sorry for the lack of update. Yes, I slowed down this week due to my internship wrapping up, but I’m continuing tomorrow.