thunderbird / thunderbird-android

Thunderbird for Android – Open Source Email App for Android (fka K-9 Mail)
https://thunderbird.net/
Apache License 2.0
10.1k stars 2.47k forks source link

Allow multiple swipe actions per direction #6523

Open cketti opened 1 year ago

cketti commented 1 year ago

Checklist

App version

6.400

Problem you are trying to solve

Make more than two actions available via swipe in the message list.

Suggested solution

Change the action depending on the swipe distance, e.g. short left swipe "archive", long short swipe "mark as read".

Screenshots / Drawings / Technical details

This was requested here: https://forum.k9mail.app/t/enhancement-to-swipe-actions-compound-actions-and-different-swipe-action-depending-on-swipe-lenghts/5792

Note: Before starting on an implementation we'll have to come up for a UI/UX design for this feature.

sozifa commented 1 year ago

change action on swipe distance might be very confusing - take a look at mail on ios a full swipe triggers an action a partial swipe gives you options to choose from - that seems more intuitive to me

steelman commented 1 year ago

My 2¢. The mark-as-read action isn't as convenient as it may seem. I do a lot of marking-as-read via K9 and I prefer to select multiple messages starting with one long touch and then short "clicks" and use the envelope icon than swiping. I'd rather have the flagging (a.k.a. starring) operation swipeable as there is ambiguity at the right edge of the screen between the stars and the scroll bar.

Multiple actions? I don't know. Configurable? Sounds interesting.

cketti commented 1 year ago

@steelman: Swipe actions are already configurable. See https://docs.k9mail.app/en/current/settings/general/#swipe-actions

woj-tek commented 1 year ago

@steelman indeed selecting multiple messages to mark-as-read could be more convenient. However, I noticed that it only works for a very high number of messages. For a couple of messages swipes would be simpler. What's more, usually when i mark message as read I do want to archive it and with selection method, after marking as read the selection is gone and I have to re-select all the messages again, which is quite daunting.

steelman commented 1 year ago

after marking as read the selection is gone

It shouldn't be. It isn't in 6.400. I select messages, mark them as read and move to spam without any issues. There was a bug like the one you described, but it has long been fixed.

woj-tek commented 1 year ago

It shouldn't be. It isn't in 6.400. I select messages, mark them as read and move to spam without any issues. There was a bug like the one you described, but it has long been fixed.

@steelman actually you are right. I simply assumed it was intended behaviour from the start, so I never thought to re-check it after the upgrade :-)