mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-11-30 09:42:48 +01:00
Adds a Supabase-backed support chat that replaces the existing trainer feedback page and the mail support entry in the help dropdown. The chat captures the same telemetry snapshot (extracted into a shared TelemetrySnapshot module) and supports threaded replies and attachments. - New SupportChatService wrapping the four edge functions plus a signed URL helper for support-attachments storage. - New SupportChatPage / SupportThreadPage with composer, attachment chips, optimistic send, sign-in gate, and pull-to-refresh. - Help dropdown's Mail entry replaced with "Chat with Support" that pre-fills debugText() as freetext on the first message. - Trainer device details "Provide Feedback" button now opens the chat with TelemetrySnapshot.fromDevice telemetry. - Login screen gets a subordinate "Don't want to sign in? Write a mail instead" ghost button (mobile only) that opens the existing mailto. - Telemetry helpers moved out of the deleted trainer feedback files into lib/services/telemetry_snapshot.dart; test rewritten for the new class. https://claude.ai/code/session_0155Bb4kCYaxKh7zQfoQHZET