studio icon indicating copy to clipboard operation
studio copied to clipboard

Add UI option to allow flagging of content.

Open ozer550 opened this issue 2 years ago • 10 comments

Overview

We would want to provide an UI option to Admins and Users with AI feature flag enabled to flag content that might be inappropriate and violate our community guidelines. We would want to allow flagging of all types of ContentNodes in the ChannelEditIndex view, except ones having ContentKind value as Topic.

Description and outcomes

  • Add an option to flag content in the ContentNode options drop-down menu if the ContentNode is not a Topic.
  • The option to flag content should only be visible to admins and the users whose feature flag is enabled.
  • If the User has the edit permissions for the ContentNode then the flag option should not be visible.
  • Admins can flag regardless of edit permissions.

Related Screenshots

image

Acceptance criteria

  • UI option for flagging reflecting all the necessary scenarios mentioned above.

ozer550 avatar Dec 19 '23 12:12 ozer550

Hi @ozer550 I would love to work on this issue.

FidalMathew avatar Dec 24 '23 08:12 FidalMathew

Hi @FidalMathew! Thanks for volunteering, I have assigned this to you! feel free to reach out if you have any questions implementing this!

ozer550 avatar Dec 25 '23 06:12 ozer550

@FidalMathew how's your progress on this? No rush from my side. Just wanted to ask, what approach or plan you are thinking of, to solve this issue? also, if you have any questions. Please let us know.

vkWeb avatar Dec 27 '23 13:12 vkWeb

@vkWeb Sure! I was setting up the repository. I did that and was a little busy due to Christmas. I'll make sure to let you know my approach by tonight.

FidalMathew avatar Dec 27 '23 13:12 FidalMathew

@vkWeb @ozer550 I'm getting a blank page on http://localhost:8080/en/accounts/

I'm getting this error in the console. image

image

Could you help me out?

FidalMathew avatar Dec 28 '23 05:12 FidalMathew

@FidalMathew Could you try if this URL is working for you?

ozer550 avatar Dec 28 '23 06:12 ozer550

@FidalMathew umm, one other contributor reported something similar. Try once ozer's suggestion.

Then let us talk over Google Meet about your problem and we will discuss this issue as well, please book a slot on my calendar -- https://calendly.com/vivekmittalagrawal/30min.

Thanks for your quick repsonse!

vkWeb avatar Dec 28 '23 09:12 vkWeb

@FidalMathew Could you try if this URL is working for you?

It didn't work. I have booked a slot. Thanks a lot!

FidalMathew avatar Dec 28 '23 09:12 FidalMathew

@FidalMathew Okay -- we will together work on this since its closely linked with what I am working on currently at https://github.com/learningequality/studio/issues/4367

vkWeb avatar Dec 28 '23 11:12 vkWeb

I had a talk with @FidalMathew, he will be working with another issue.

I will do this one with the modal UI.

vkWeb avatar Dec 29 '23 10:12 vkWeb