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

Create the ModerationDecision admin views #3844

Closed
stacimc opened this issue Feb 28, 2024 · 0 comments · Fixed by #4673
Closed

Create the ModerationDecision admin views #3844

stacimc opened this issue Feb 28, 2024 · 0 comments · Fixed by #4673
Assignees
Labels
💻 aspect: code Concerns the software code in the repository 🌟 goal: addition Addition of new feature 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: api Related to the Django API

Comments

@stacimc
Copy link
Collaborator

stacimc commented Feb 28, 2024

Description

Blocked by #3636

Create a Django admin ListView for the ModerationDecision model, for viewing historical ModerationDecisions. In the list view we should sort decisions by creation date and display:

  • id
  • action
  • explanation (truncated)
  • record_count - a count for the number of records affected by the decision

The view should have a custom filter to display only bulk moderation decisions, defined as a ModerationDecision with more than one media record.

Also include a read-only detail view for individual ModerationDecisions when selected from the list. For ModerationDecisions with a deindexed_sensitive, deindexed_copyright, or marked_sensitive action type, include a link to the SensitiveMedia or DeletedMedia view, filtered by the ModerationDecision id for convenience.

Additional context

See IP for details.

@stacimc stacimc added 🟨 priority: medium Not blocking but should be addressed soon 🌟 goal: addition Addition of new feature 💻 aspect: code Concerns the software code in the repository ⛔ status: blocked Blocked & therefore, not ready for work 🧱 stack: api Related to the Django API labels Feb 28, 2024
@stacimc stacimc added this to the Bulk moderation actions milestone Feb 28, 2024
@openverse-bot openverse-bot moved this to ⛔ Blocked in Openverse Backlog Feb 28, 2024
@dhruvkb dhruvkb removed the ⛔ status: blocked Blocked & therefore, not ready for work label Jul 30, 2024
@openverse-bot openverse-bot moved this from ⛔ Blocked to 📋 Backlog in Openverse Backlog Jul 30, 2024
@dhruvkb dhruvkb self-assigned this Jul 30, 2024
@dhruvkb dhruvkb moved this from 📋 Backlog to 📅 To Do in Openverse Backlog Jul 30, 2024
@openverse-bot openverse-bot moved this from 📅 To Do to 🏗 In Progress in Openverse Backlog Jul 30, 2024
@openverse-bot openverse-bot moved this from 🏗 In Progress to ✅ Done in Openverse Backlog Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 aspect: code Concerns the software code in the repository 🌟 goal: addition Addition of new feature 🟨 priority: medium Not blocking but should be addressed soon 🧱 stack: api Related to the Django API
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants