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

Fix message long press taking too much time to show actions #648

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

nuno-vieira
Copy link
Member

@nuno-vieira nuno-vieira commented Nov 8, 2024

🔗 Issue Link

https://linear.app/stream/issue/IOS-15

🎯 Goal

Fix message long press taking too much time to show actions or not show at all for certain messages.

🛠 Implementation

Adds high priority gesture to the message long press.

I tried to improve the overall performance, but with the current architecture of the overlay it is difficult. In the future we need to change how we generate the snapshot. The snapshot should be generated for the message, and not for the background.

🧪 Testing

  • Long press a message with polls
  • Should work as expected and it should not take too much time

☑️ Checklist

  • I have signed the Stream CLA (required)
  • Changelog is updated with client-facing changes
  • New code is covered by unit tests
  • Affected documentation updated (docusaurus, tutorial, CMS (task created)

@nuno-vieira nuno-vieira requested a review from a team as a code owner November 8, 2024 17:54
@Stream-SDK-Bot
Copy link
Collaborator

Stream-SDK-Bot commented Nov 8, 2024

SDK Size

title develop branch diff status
StreamChatSwiftUI 7.99 MB 7.99 MB +1 KB 🟢

Copy link

sonarcloud bot commented Nov 8, 2024

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