-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
predefined report reasons & improved reporter UI #2842
Conversation
Funkwhale uses hashtags to give a reason for the report IIRC. |
fb8005c
to
7333edd
Compare
For reference, the abuse representation in Funkwhale is https://dev.funkwhale.audio/funkwhale/funkwhale/-/blob/develop/api/funkwhale_api/federation/serializers.py#L1728-1740, with a tag representation as follows:
In my current implementation I use name to store the |
client/src/app/+admin/moderation/video-abuse-list/video-abuse-details.component.ts
Outdated
Show resolved
Hide resolved
client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.ts
Show resolved
Hide resolved
client/src/app/shared/video-abuse/video-abuse-predefined-reasons.model.ts
Outdated
Show resolved
Hide resolved
client/src/app/+admin/moderation/video-abuse-list/video-abuse-details.component.ts
Outdated
Show resolved
Hide resolved
f91674e
to
b65ff55
Compare
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.
Please add tests
client/src/app/+admin/moderation/video-abuse-list/video-abuse-details.component.ts
Outdated
Show resolved
Hide resolved
0a218b4
to
c080143
Compare
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.
Please add check-params tests to test predefinedReasons
, startAt
and endAt
params.
After that, ready to merge 👍
As mentioned in #1781, predefined reasons might help triage reports. I also plan to add timestamps as potential additions to a report, to help pin down the relevant parts of a video, as well as a player within the report modal.
TODO:
closes #1781