-
Notifications
You must be signed in to change notification settings - Fork 212
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
Add report creation, better filtering and more improvements to admin views for media #4414
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Such improvements since the last time I looked at this code!
Do we really need to have a different word ("complain") for the reporting view? I think it would be easier to keep a single name.
By the way, would clicking "All" on the sidebar in production cause the huge query to break the API?
The main reason for using the word "complain" was that it is a verb that corresponds to the creation of a "report" model instance, similar to how the verb "moderate" corresponds to the creation of a "decision" model instance. I wanted to avoid the potential confusion that can occur because "report" is both a noun and a verb, and also used in a number of places to refer to the That said, I'm happy to change the name if more people feel the same way as @obulat. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I share @obulat's preference about the name, though. I don't consider it blocking, but "complain" is such a new concept to introduce that I can see it leading to confusion. I'd like to see either:
- Comment(s) explaining the naming
- An alternative name like "media_submit", "media_create_report", or something
Ok, I've replaced verbs "complain" and "moderate" with "report_create" and "decision_create" in commit f9a7402. |
Fixes
Fixes #4412 by @dhruvkb
Fixes #4413 by @dhruvkb
Description
This PR
{% static %}
Testing Instructions
This way the complete flow for reporting and moderating any individual media item is present in one page. However moderation flow involving multiple media items cannot be accomplished using this process.
Checklist
Update index.md
).main
) or a parent feature branch.just catalog/generate-docs
for catalogPRs) or the media properties generator (
just catalog/generate-docs media-props
for the catalog or
just api/generate-docs
for the API) where applicable.Developer Certificate of Origin
Developer Certificate of Origin