[stable-25.0.x] Adding confirmation prompt on leave conversation action - #6625
Conversation
…rsation via swipe Swiping left on a conversation triggered leaving it immediately with no way to confirm or cancel, making it easy to accidentally leave a group. Show a confirmation dialog, matching the existing delete conversation dialog pattern. Fixes #6607 Signed-off-by: rapterjet2004 <[email protected]> (cherry picked from commit 9c7d97d)
…ackbar The blocking confirmation dialog interrupted the swipe-to-leave flow. Show a snackbar with an Undo action instead, matching the pattern email clients use. The room is hidden optimistically and the actual leave request is only sent once the snackbar times out without being undone, so leaving stays reversible even for rooms only a moderator could re-add you to. Addresses review feedback on #6607 Signed-off-by: rapterjet2004 <[email protected]> (cherry picked from commit d44bec1)
Signed-off-by: Andy Scherzinger <[email protected]> (cherry picked from commit 08188ef)
|
APK file: https://github.com/nextcloud/talk-android/actions/runs/33659376564/artifacts/9858326850 |
|
CI status note on this backport — the
The analysis itself passed. The job reports This reproduces identically on unrelated PRs, including ones already merged:
Since the same failure appears on the very code this backport copies, already merged to No fix ported. The fix belongs in
Everything else is green, including The cherry-pick applied with no conflicts and the resulting diff is byte-identical to the diff merged in #6608 (5 files, +88/−39). Generated by Claude Code |
Backport of PR #6608 to
stable-25.0.x.Cherry-picked commits (
git cherry-pick -x, no conflicts):fix(conversationlist): Add confirmation dialog before leaving a conversation via swipefix(conversationlist): Replace leave confirmation dialog with undo snackbarstyle: Move leave-snackbar between navbar and fab/unread buttonsThe resulting diff is byte-identical to the diff merged on
master(5 files, +88/-39).🏁 Checklist
/backport to stable-xx.x🤖 AI (if applicable)
The cherry-pick and this description were prepared by Claude Code. No code was
authored by the agent — the commits are unmodified from #6608.
./gradlew detekt ktlintCheckcould not be run in the agent environment (the sandbox networkpolicy blocks
dl.google.com, so the Android Gradle plugin cannot be resolved);CI on this PR covers it.
🤖 Generated with Claude Code
https://claude.ai/code/session_01DrPFzDqnNWQxofVNXMGxZE
Generated by Claude Code