feat(reporting): show a clear confirmation dialog after submitting a problem report #171

Merged
JMR-dev merged 5 commits from feat-161-report-confirmation into main 2026-07-02 23:36:36 +00:00
5 Commits
Author SHA1 Message Date
Jason Ross 0337dd324e Merge branch 'main' into feat-161-report-confirmation 2026-07-02 18:24:37 -05:00
Jason Ross 6a91775af0 Merge branch 'main' into feat-161-report-confirmation 2026-07-02 17:53:43 -05:00
github-actions[bot] 495dd82af4 Merge main into feat-161-report-confirmation 2026-07-02 22:25:53 +00:00
github-actions[bot] dd96ef95bd Merge main into feat-161-report-confirmation 2026-07-02 22:09:04 +00:00
JMR-devandClaude Opus 4.8 134d13dea7 feat(reporting): show a clear confirmation dialog after submitting a problem report
Replace the small inline "Report sent. Thank you!" text with an AlertDialog
carrying the fuller thank-you/no-guarantee message, and gate the screen's
auto-navigate-on-delete LaunchedEffect so it no longer fires while a submit
is in flight or has just succeeded — the dialog's acknowledgement is what
calls onDone() for that path instead. This closes the race where
ReportUploadWorker deletes the report row (and thus flips state.exists to
false) moments after SubmitUiState.SUCCEEDED, which could previously
navigate the user away before the confirmation was ever visible. Discard
and the other non-success paths (FAILED/UNAVAILABLE) are unaffected and
still auto-navigate immediately.

Closes #161

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-02 17:03:35 -05:00