-
Notifications
You must be signed in to change notification settings - Fork 273
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
[AND-4] ThreadList improvements #5455
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Conflicts: # stream-chat-android-compose/api/stream-chat-android-compose.api
# Conflicts: # stream-chat-android-client/src/main/java/io/getstream/chat/android/client/ChatClient.kt # stream-chat-android-client/src/main/java/io/getstream/chat/android/client/api2/model/dto/ThreadDtos.kt # stream-chat-android-compose/api/stream-chat-android-compose.api # stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/ui/threads/ThreadItem.kt # stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/ui/threads/ThreadList.kt # stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/ui/threads/UnreadThreadsBanner.kt # stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/viewmodel/threads/ThreadListViewModel.kt # stream-chat-android-compose/src/main/java/io/getstream/chat/android/compose/viewmodel/threads/ThreadsViewModelFactory.kt # stream-chat-android-core/src/main/java/io/getstream/chat/android/models/Thread.kt # stream-chat-android-state/src/main/java/io/getstream/chat/android/state/event/handler/internal/EventHandlerSequential.kt # stream-chat-android-state/src/main/java/io/getstream/chat/android/state/extensions/ChatClient.kt # stream-chat-android-state/src/main/java/io/getstream/chat/android/state/plugin/listener/internal/QueryThreadsListenerState.kt # stream-chat-android-state/src/main/java/io/getstream/chat/android/state/plugin/logic/internal/LogicRegistry.kt # stream-chat-android-state/src/main/java/io/getstream/chat/android/state/plugin/state/querythreads/internal/QueryThreadsMutableState.kt # stream-chat-android-ui-common/src/main/kotlin/io/getstream/chat/android/ui/common/state/threads/ThreadListState.kt
JcMinarro
reviewed
Nov 18, 2024
docusaurus/docs/Android/compose/thread-components/thread-list.mdx
Outdated
Show resolved
Hide resolved
# Conflicts: # CHANGELOG.md
# Conflicts: # CHANGELOG.md
JcMinarro
reviewed
Nov 19, 2024
stream-chat-android-client/src/main/java/io/getstream/chat/android/client/events/ChatEvent.kt
Show resolved
Hide resolved
JcMinarro
force-pushed
the
feature/threads_v2_improvements
branch
from
November 19, 2024 23:58
7947e5a
to
c162aae
Compare
JcMinarro
approved these changes
Nov 19, 2024
stream-chat-android-core/src/main/java/io/getstream/chat/android/models/ThreadParticipant.kt
Show resolved
Hide resolved
JcMinarro
force-pushed
the
feature/threads_v2_improvements
branch
from
November 20, 2024 00:07
c162aae
to
c111fbc
Compare
aleksandar-apostolov
changed the title
[PBE-3749] ThreadList improvements
[AND-4] ThreadList improvements
Nov 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🎯 Goal
ThreadList
composable component as public APIChats
andThreads
ThreadList
docs (to be added in the new docs repo)Note: Offline support is done separately in a different PR
🛠 Implementation details
NotificationChannelDeletedEvent
,NotificationThreadMessageNewEvent
,NotificationMarkUnreadEvent
,MessageReadEvent
,MessageDeletedEvent
QueryThreadsState
in the state plugin listeners:DeleteMessageListener
,DeleteReactionListener
,EditMessageListener
,SendAttachmentListener
,SendGiphyListener
,SendMessageListener
,SendReactionListener
,ShuffleGiphyListener
ThreadList
/ThreadItem
configurable via slot-composablemarkRead/markUnread
logic inMessageListController
to support marking threads as read/unread🧪 Testing
Threads
tab