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

Double tap message to show context menu #5772

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kevinmbeaulieu
Copy link
Contributor

@kevinmbeaulieu kevinmbeaulieu commented Mar 16, 2024

First time contributor checklist

Contributor checklist

  • My commits are rebased on the latest main branch
  • My commits are in nice logical chunks
  • My contribution is fully baked and is ready to be merged as is
  • I have tested my contribution on these devices:
  • iPhone 14 Pro, iOS 17.4

Description

In the conversation view, long pressing a message presents the context view for that cell, allowing the user to add reactions, reply, delete the message, etc. To match the behavior that iOS users are accustomed to in iMessage, Signal should also allow double-tapping messages to present this menu. This can also be faster, since double-tapping doesn't have the same time delay that long press gestures have.

The code changes implemented all followed the same patterns as the tap and long press gesture recognizers on that view, so even though it's a few hundred lines it's mostly copy-paste from that and just tweaking the relevant parts.

In the conversation view, long pressing a message presents the context
view for that cell, allowing the user to add reactions, reply, delete
the message, etc. To match the behavior that iOS users are accustomed to
in iMessage, Signal should also allow double-tapping messages to present
this menu. This can also be faster, since double-tapping doesn't have
the same time delay that long press gestures have.
@tohrxyz
Copy link

tohrxyz commented Mar 31, 2024

can't comment on the code, but this would be a good feature to have for sure

great work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants