This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Description
Implement Content Flagging Mechanism in Astral
Description
Following the implementation of content moderation features in the Auto-Drive repository (see autonomys/auto-drive#435), we now need to integrate a corresponding mechanism in Astral for users to flag potentially inappropriate or violating content. This will enable proactive reporting and tie into the moderation system already established.
Requirements
- Flagging UI: Add a "Flag Content" button or option in the UI for posts, images, or other user-generated content.
- Flagging Workflow: When flagged, the content should be sent to auto-drive's system via an auto-sdk call (still to be implemented)
- User Feedback: Provide confirmation to the user that the flag has been submitted, without revealing moderation outcomes.
- Edge Cases: Handle anonymous flagging if applicable, prevent spam flags (e.g., rate limiting per user). Ideally flags should include context like reason (dropdown: spam, harmful, etc.) but auto-drive doesn't yet support this.
References