Skip to content

Conversation

laevandus
Copy link
Contributor

@laevandus laevandus commented Sep 9, 2024

🔗 Issue Link

Resolves: PBE-5957

🎯 Goal

Always close the jump to unread message button when tapping on the x button on it.

🛠 Implementation

Closing the jump to unread message button relies on an API call which marks all the messages as read. API call can timeout or take a long time depending on the internet connection. This change will hide the button as soon as it is tapped.

🧪 Testing

  1. Open a channel with unread messges
  2. Tap on the x button on the unread message count button at the top of the message list

🎨 Changes

☑️ 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)

@laevandus laevandus added the bug label Sep 9, 2024
@laevandus laevandus requested a review from a team as a code owner September 9, 2024 12:27
@laevandus laevandus force-pushed the fix/closing-jump-to-unread branch from d487aaf to e600a4e Compare September 9, 2024 12:35
@Stream-SDK-Bot
Copy link
Collaborator

Stream-SDK-Bot commented Sep 9, 2024

SDK Size

title develop branch diff status
StreamChatSwiftUI 7.06 MB 7.06 MB 0 KB 🟢

@laevandus laevandus enabled auto-merge (squash) September 9, 2024 12:54
@martinmitrevski martinmitrevski merged commit 73c70ec into develop Sep 9, 2024
9 of 10 checks passed
@martinmitrevski martinmitrevski deleted the fix/closing-jump-to-unread branch September 9, 2024 14:57
@martinmitrevski
Copy link
Contributor

Will fix the broken tests from the third-party PR directly

@Stream-SDK-Bot Stream-SDK-Bot mentioned this pull request Sep 12, 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.

3 participants