Skip to content

Conversation

@shreeyansh64
Copy link

Description

Implements the "Report Message" feature for the mobile app, allowing users to report problematic messages to moderators.

Changes

UI Implementation

  • Added ReportMessageDialog with:
    • Dropdown menu for selecting report reason (spam, harassment, inappropriate, norms violation, other)
    • Optional details text field (required when reason is "other")
    • Info banner explaining reports go to moderation channel
    • Validation and styled components using DesignVariables

API Implementation

  • Integrated with existing message action sheet
  • Success/error feedback via toast notifications

Testing

  • Comprehensive API tests using FakeApiConnection
  • Tests for all report reasons and validation scenarios

Screenshots

image image image image

Related Issue

Closes #1972

Create styled dialog with reason dropdown, optional details field,
and validation. API integration TODO in next commit.

Contributes to zulip#1972
Use FakeApiConnection to test success and failure cases.
Contributes to zulip#1972
@shreeyansh64 shreeyansh64 force-pushed the report-message-feature branch from 2f54761 to f997603 Compare December 16, 2025 12:08
Integrate report API and show success/error toasts in UI.
Contributes to zulip#1972
@shreeyansh64 shreeyansh64 force-pushed the report-message-feature branch from f997603 to ad43ea9 Compare December 16, 2025 13:51
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.

Support reporting a message

1 participant