zom / Zom-Android-XMPP

THIS PROJECT IS NOW CLOSED. WE HAVE MOVED TO A NEW ZOM 2.0 MATRIX CORE. FOLLOW THE LINK!
https://github.com/zom/zom-android-matrix
GNU General Public License v3.0
141 stars 64 forks source link

Add ability to delete a photo from the full screen photo view #387

Closed cstiens closed 6 years ago

cstiens commented 6 years ago

We can add a trash can to the action bar before the send and share options. We should have the user confirm this action since it can't be undone. A modal to confirm the action is standard, but maybe we can do something more more subtle. I'll think about it.

Note: As on iOS, deleting a photo would remove it from local storage.

cstiens commented 6 years ago
cstiens commented 6 years ago

We need to test deleting a photo from the full screen view when it's opened from a chat and from the photo gallery.

tiffrobo commented 6 years ago

Deleting photos from the chat works (deletes from photo stream and chat view) Deleting photos from the photo gallery/stream is not working at all.

Device: Moto E OS: Android 5.1

Device: Moto G play OS: Android 6.0.1

Device: Moto X OS: Android 5.1

App version: 15.4.0-beta-1

tiffrobo commented 6 years ago

Group Chat:

Single Chat:

Photo Stream:

Device: Moto G play OS: Android 6.0.1 Device: Moto X OS: Android 5.1 App version: Android 15.4 beta 2

n8fr8 commented 6 years ago

repro'd and fixed the crash in group and chat.

if you delete from photo stream, it will delete from everywhere that particularly copy of the photo appeared, so all the chats, etc.

tiffrobo commented 6 years ago

-Suggestion: If the photo is the last message sent and you delete it from the chat it would be nice to show the 'new' last message when one exits the chat view and switches to convo view. Currently, in convo view under the contact name, it shows a blank space where the photo was.

Device: Moto E OS: Android 5.1

Device: Moto G play OS: Android 6.0.1

Device: Moto X OS: Android 5.1

Build: 15.4.0 RC 1

cstiens commented 6 years ago

I filed a separate ticket the T's suggested enhancement: https://github.com/zom/Zom-Android/issues/434