learningequality / learningequality/studio

Add UI option to allow flagging of content.

Open
#4,365 10 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

DEV: frontend javascript P1 - important TAG: new feature
Dominant language
Python
Stars
191
Forks
307
Avg merge
5d 6h
Merged PRs (30d)
10

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.