Skip to content

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

1 Error
🚫 Please use more than one word.
1d7119e

Generated by 🚫 Danger

Copy link

@nuno-vieira nuno-vieira merged commit c7f7f37 into develop Nov 13, 2024
10 of 11 checks passed
@nuno-vieira nuno-vieira deleted the fix/long-pressing-message-takes-too-much-time branch November 13, 2024 15:41
@Stream-SDK-Bot Stream-SDK-Bot mentioned this pull request Nov 25, 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.

4 participants