Repository navigation
Conversation
Deleting a selection goes through the same call as deleting one chat, so it already followed the permanent-delete setting. The bar afterwards said "%d conversations moved to trash" and offered an Undo that called restoreFromTrash on rows that no longer existed, which made an erased batch look like a Trash move. BulkDelete.undoable() now holds that decision in one place. The redesigned list reports an erased batch as "%d conversations deleted" through showNotice (same single snackbar, no action button), and the legacy list mirrors it. convo_deleted_count is in all 14 values directories. Tests: BulkDeleteTest and BulkDeleteWiringTest; test-610-bulk-delete-permanent.sh was red 12/2 on the old build and is green 14/0 now.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deleting a selection goes through the same call as deleting one chat, so it already followed the permanent-delete setting. The bar afterwards said "%d conversations moved to trash" and offered an Undo that called restoreFromTrash on rows that no longer existed, which made an erased batch look like a Trash move.
BulkDelete.undoable() now holds that decision in one place. The redesigned list reports an erased batch as "%d conversations deleted" through showNotice (same single snackbar, no action button), and the legacy list mirrors it. convo_deleted_count is in all 14 values directories.
Tests: BulkDeleteTest and BulkDeleteWiringTest; test-610-bulk-delete-permanent.sh was red 12/2 on the old build and is green 14/0 now.
name: Messages
about: Kotlin + Compose SMS app. Every change needs a JUnit test and a scripts/test-*.sh run.
title: ""
labels: []
What changed
Why
Testing
./gradlew testDebugUnitTestpassesapp/src/test/java/for the changed logicscripts/test-*.shadded, and it fails before the fix / passes afterRelated issue
Closes #