2026-06-11
Mobile Settings: native data export + deletion request status (POC-246)
Mobile Settings / Data privacy now wires real backend flows for requesting data exports (with status) and submitting/listing data deletion requests (with open/resolved status pills, confirm, history, notes). Matches web DataPrivacyPanel + export section parity; distinguishes from account deletion (per recent clarity). Part of settings modernization rollout.
- Data export card: request + latest status pill (pending/ready/etc) + handoff note to web controls when needed.
- Data deletion request card: notes input (when none open), confirm Alert sheet on CTA, POST to /api/mobile/data-privacy, success/already-requested toasts, auto refresh to show 'Deletion request open' + Pending pill.
- Full request history list with per-status pills (Requested/In review/Completed/etc) and notes.
- Settings index 'Data privacy' nav row now shows warning 'Pending' pill when you have an open deletion request (no more static Ready).
- Shares the same /api/mobile/data-privacy + data-export + lib/data-privacy + data-export backends as web; context-loaded in mobile settings provider.
- Tests cover flows, history, unavailable states, and nav integration (with fixes for mock completeness).
