DocHub
How users submit reports and suggestions, issue categories, and the data payload

Report Submission

User-initiated feedback system allowing users to report issues or submit suggestions directly from the app.

Location

  • Screen: General Settings Tab (lib/screens/general_tab.dart)
  • Access: Settings > Reports and Suggestions option

This is not automated — it requires manual user action.

How It Works

  1. User taps “Reports and Suggestions” in settings
  2. Dialog appears with issue type selection and message field
  3. User selects an issue category and enters details (max 500 characters)
  4. On submit, report is sent to the server

Issue Categories

Category Description
Audio Player Issue Problems with audio playback
Billing Problems Payment or purchase issues
Suggestions Feature requests and improvement ideas
Course Download problems Issues downloading course content
AI voice issues Problems with AI voice chat
Other Anything not covered above

Data Sent

Reports are sent to the Supabase edge function with these fields:

Field Value
user_id From user profile
log_type "user_reports"
message "{IssueType}: {UserMessage}"
origin "app"
created_at UTC timestamp

Endpoint

POST https://kagtryxgjwavupzlmlzv.supabase.co/functions/v1/app_logs

Authenticated with the Supabase anon key.