-
Notifications
You must be signed in to change notification settings - Fork 211
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
[CIS-877] User typing events #1254
Conversation
Generated by 🚫 Danger |
Codecov Report
@@ Coverage Diff @@
## main #1254 +/- ##
==========================================
- Coverage 91.40% 91.38% -0.02%
==========================================
Files 219 219
Lines 9419 9421 +2
==========================================
Hits 8609 8609
- Misses 810 812 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
79a217c
to
855eeea
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.
Looking good, thanks 👍 There's just one comment about lazy loading of typing users
public let currentlyTypingMembers: Set<_ChatChannelMember<ExtraData.User>> | ||
|
||
/// A list of currently typing users. | ||
public let currentlyTypingUsers: Set<_ChatUser<ExtraData.User>> |
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.
would be nice to have backing @CoreDataLazy
field for this
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.
done 👍🏻 , please check
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.
Can you please add the currentlyTypingMembers
variable into Deprecations.swift
(with empty implementation) and mark it as renamed? It will help customers with the transition because they will be able to apply fixits.
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 👍 Let's wait with merging this since we have to release a hotfix and we shouldn't include breaking changes there.
public let currentlyTypingMembers: Set<_ChatChannelMember<ExtraData.User>> | ||
|
||
/// A list of currently typing users. | ||
public let currentlyTypingUsers: Set<_ChatUser<ExtraData.User>> |
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.
Can you please add the currentlyTypingMembers
variable into Deprecations.swift
(with empty implementation) and mark it as renamed? It will help customers with the transition because they will be able to apply fixits.
CHANGELOG.md
Outdated
@@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). | |||
|
|||
# Upcoming | |||
|
|||
### ⚠️ Breaking Changes from `4.0-beta.5` | |||
- Changed ChannelDTO from `currentlyTypingMembers: Set<MemberDTO>` to `currentlyTypingUsers: Set<UserDTO>` to show all typing users (not only channel members; eg: watching users) [#1254](https://github.com/GetStream/stream-chat-swift/pull/1254) |
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.
DTOs are internal types, please refer to the public API that was changed
a2f6c70
to
ffbd6d0
Compare
This PR
currentlyTypingMebmers
withcurrentlyTypingUsers
ChatChannelMember
toChatUser
Links
https://stream-io.atlassian.net/browse/CIS-877