Skip to content

Conversation

@santhosh-apphelix-2u
Copy link

Overview

This PR introduces the Auto-Flag Banner feature as part of the AI Moderation UI implementation.
The banner is automatically displayed when content is flagged as possible spam, based on the is_spam flag returned from the API response.

Key Updates

  • Added Auto-Flag Banner component for thread, response, and comment levels.
  • Banner message: "Content automatically reported as possible spam pending staff review."
  • Applied consistent styling aligned with the existing “Content Reported for Staff Review” banner.
  • Integrated banner visibility logic using the is_spam key from API response.
  • Added an **information ** icon at the end of the banner:
  • On click, it opens a modal explaining the purpose of the automatic spam detection.

Alam-2U and others added 12 commits October 16, 2025 17:32
…ered scroll (#1)

* fix: resolve InContext Sidebar post menu dropdown clipping that triggered scroll

* fix: resolve InContext Sidebar post menu dropdown clipping that triggered scroll

* fix: resolve InContext Sidebar post menu dropdown clipping that triggered scroll

* fix: remove comments from test file
…#4)

* feat: add public safety warning banner in discussions to prevent spam

* feat: add public safety warning banner in discussions to prevent spam

* feat: updated the warning message
Added AutoSpamAlertBanner component to display spam alerts.
Added AutoSpamAlertBanner to Post component and adjusted spam flag logic.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants