-
Notifications
You must be signed in to change notification settings - Fork 225
[V5] Remove controllerWillChangeChannels and cleanup willChange handling #3826
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
base: v5
Are you sure you want to change the base?
Conversation
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Generated by 🚫 Danger |
SDK Performance
|
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.
does this have any impact on the UI layer? Also, @nuno-vieira what do you think?
Public Interface @available(iOSApplicationExtension, unavailable) open class ChatChannelListVC: _ViewController, UICollectionViewDataSource, UICollectionViewDelegate, ChatChannelListControllerDelegate, ThemeProvider, SwipeableViewDelegate
- open func controllerWillChangeChannels(_ controller: ChatChannelListController)
+ open func controller(_ controller: ChatChannelListController,didChangeChannels changes: [ListChange<ChatChannel>])
- open func controller(_ controller: ChatChannelListController,didChangeChannels changes: [ListChange<ChatChannel>])
+ open func controller(_ controller: DataController,didChangeState state: DataController.State)
- open func controller(_ controller: DataController,didChangeState state: DataController.State)
+ open func handleStateChanges(_ newState: DataController.State)
- open func handleStateChanges(_ newState: DataController.State) |
|
🔗 Issue Links
Resolves: IOS-1004
🎯 Goal
Remove
controllerWillChangeChannels
because it requires complicated handling on the DB observer level📝 Summary
🛠 Implementation
🎨 Showcase
🧪 Manual Testing Notes
☑️ Contributor Checklist
docs-content
repo