Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flatten menus #2586

Merged
merged 10 commits into from
Feb 7, 2025
Merged

flatten menus #2586

merged 10 commits into from
Feb 7, 2025

Conversation

r10s
Copy link
Member

@r10s r10s commented Feb 6, 2025

the message menu suffered from constant space problems - the reaction menu and the "select more" left only place for at most 5 items - which was often enough exceeded, resulting in a scrolling menu.

also, the "delete" item was not present in the first row, which was kind of and experiment, which, however also iMessage is doing. with "unsave" in save message getting replaced by "deleted" in the future, however "delete" becomes more important, so this PR adds that back unconditionally.

same for "share" which is now also easier accessible. "Copy image" and "Reply privately", otoh, requires to open "more", however, compared to reply/forward/save/copy-text/delete, this is also a less often used and acceptable.

info/share/resend was moreover only accessible with 3 taps, now you need 2 only, and can even do it by 1 with hold-to-select

to make room for less often used icons, we added a "more" menu, that then shows "select" as an option - beside other things. multiple select is now also available with a two-finger swipe, so that seems totally fine.

so, finally, we also have a place for the maybe upcoming "pin message" and for other stuff.

this is how the new menu looks like:

@adbenitez the replacement of the "star" by "bookmark" will be done in a subsequent PR
EDIT: ah, and this PR also goes for the standard "forward" icon - we could change that on android as well

before ...

before, the menu was often scrolling, note the scrollbar in the following screenshot, the missing "delete" and the "more" would appear on scrolling only ...

... and "info" and "share" quite far away in the "select more overflow menu" ...

... ftr, the old state was as it is also because of other constraints we had when we needed to support iOS 12, which had a completely different menu approach. meanwhile things got simpler and we can clean up :)

@r10s r10s changed the title flatten menus, use weak references flatten menus Feb 6, 2025
@r10s r10s force-pushed the r10s/bring-back-delete branch 2 times, most recently from 0e04786 to cbcdffe Compare February 6, 2025 22:48
before, delete as last item was separated,
which stands a bit in the way of adding it to already separated last "more..." item
(we could separate both, but that is ugly)

looking at lots of other apps, however,
"delete" is not separated in most of them ("gallery" is a prominent exception)
@r10s r10s force-pushed the r10s/bring-back-delete branch from cbcdffe to c4143ea Compare February 6, 2025 22:49
r10s added 7 commits February 6, 2025 23:59
having 'delete' at 'more' was kind of an experiment,
however, with new 'saved messages', things have changed:

one wants to quickly 'unsave' messaes,
however, from inside 'saved messages', delete is more logical,
as it is a copy and as there are also other messages inside 'saved messages'
(eg. notes)
@r10s r10s force-pushed the r10s/bring-back-delete branch from 0ff678d to 2f3d986 Compare February 7, 2025 10:51
@r10s r10s requested review from zeitschlag, Amzd and adbenitez February 7, 2025 13:55
@r10s r10s marked this pull request as ready for review February 7, 2025 13:55
@r10s r10s merged commit 1b66ca0 into main Feb 7, 2025
1 of 2 checks passed
@r10s r10s deleted the r10s/bring-back-delete branch February 7, 2025 14:50
@zeitschlag zeitschlag removed their request for review February 7, 2025 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants