User Interface medium complexity frontend
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

An inline panel or modal on the activity detail page in the Admin Web Portal that allows org admins and coordinators to flag an activity with a structured reason code (data_error, duplicate_suspected, missing_attachment, policy_concern, other) and an optional free-text comment. Also renders a Flagged filter tab on the activity list alongside Pending/Approved/Rejected, and a flag resolution control for closing resolved flags.

Feature: Activity Flagging

flag-comment-ui

Sources & reasoning

UI form required to capture the reason code and comment when flagging an activity, plus the filter tab to surface flagged activities for triage. The reason code enum (data_error, duplicate_suspected, missing_attachment, policy_concern, other) enables structured reporting and is a core UI concern. The resolution control closes the review loop.

No source references — this artifact was included based on reasoning alone (see above).

Responsibilities

  • Render flag creation form with controlled reason code selector and comment textarea
  • Display Flagged filter tab on activity list view with badge count
  • Show flag history and resolution status on activity detail page
  • Provide flag resolution UI for admin users with permission
  • Display flag author, timestamp, reason, and comment in audit-style layout

Interfaces

FlagForm(activityId, onSubmit)
FlaggedFilterTab(count, onSelect)
FlagHistoryPanel(flags[])
FlagResolutionControl(flagId, onResolve)