-
Notifications
You must be signed in to change notification settings - Fork 86
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
Adds Thread List UI Component #621
Conversation
Sources/StreamChatSwiftUI/ChatChannel/Reactions/MessageActions/DefaultMessageActions.swift
Show resolved
Hide resolved
SDK Size
|
f0987cb
to
adacc5d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, really nice to see you in the SwiftUI world!
One weird thing is that I can't open the project (see the comments), although there are no conflicts in the xcodeproj
file.
Let's check this tomorrow and I will do some testing afterwards.
Sources/StreamChatSwiftUI/ChatChannel/Reactions/MessageActions/DefaultMessageActions.swift
Show resolved
Hide resolved
Sources/StreamChatSwiftUI/ChatChannelList/ChatChannelListItem.swift
Outdated
Show resolved
Hide resolved
Sources/StreamChatSwiftUI/ChatThreadList/ChatThreadListScreen.swift
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there - I left few small comments. But, I still can't open the xcodeproj on the two latest Xcodes, therefore I can't test the feature.
Sources/StreamChatSwiftUI/ChatThreadList/ChatThreadListHeaderView.swift
Outdated
Show resolved
Hide resolved
|
||
// MARK: Threads | ||
|
||
public func makeThreadDestination() -> (ChatThread) -> ChatChannelView<Self> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wonder if the additional protocol methods contribute to the SDK size? 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be... usually Structs and Protocols increase the size
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! ✅ Just check if we really need that brewfile.lock file. In any case, feel free to merge it - we anyway have to add the docs in the other repo.
…reuse formatting logic
[CI] Snapshots
Quality Gate passedIssues Measures |
🔗 Issue Link
Resolves https://stream-io.atlassian.net/browse/PBE-4346
🎯 Goal
Adds Thread List UI Component and implements Threads v2.
🛠 Implementation
Overall, I followed the Channel List implementation as much as possible to keep it consistent.
Summary:
markThreadRead()
logic toChannelViewModel
🧪 Testing
The following QA Scenarios should be tested:
https://www.notion.so/stream-wiki/iOS-Threads-v2-bad42bdd8cc84016ace1010e1a783fea
☑️ Checklist