Skip to content

Conversation

laevandus
Copy link
Contributor

🔗 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

  • I have signed the Stream CLA (required)
  • This change should be manually QAed
  • Changelog is updated with client-facing changes
  • Changelog is updated with new localization keys
  • New code is covered by unit tests
  • Documentation has been updated in the docs-content repo

@laevandus laevandus requested a review from a team as a code owner October 2, 2025 13:43
@laevandus laevandus added the 💥 Breaking Changes A PR that contains breaking changes label Oct 2, 2025
Copy link

coderabbitai bot commented Oct 2, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch v5-remove-controller-will-change

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

github-actions bot commented Oct 2, 2025

1 Message
📖 There seems to be app changes but CHANGELOG wasn't modified.
Please include an entry if the PR includes user-facing changes.
You can find it at CHANGELOG.md.

Generated by 🚫 Danger

@Stream-SDK-Bot
Copy link
Collaborator

SDK Performance

target metric benchmark branch performance status
MessageList Hitches total duration 10 ms 6.68 ms 33.2% 🔼 🟢
Duration 2.6 s 2.54 s 2.31% 🔼 🟢
Hitch time ratio 4 ms per s 2.63 ms per s 34.25% 🔼 🟢
Frame rate 75 fps 78.23 fps 4.31% 🔼 🟢
Number of hitches 1 0.6 40.0% 🔼 🟢

@Stream-SDK-Bot
Copy link
Collaborator

Stream-SDK-Bot commented Oct 2, 2025

SDK Size

title develop branch diff status
StreamChat 8.25 MB 7.98 MB -277 KB 🚀
StreamChatUI 4.89 MB 5.05 MB +162 KB 🟢

Copy link
Contributor

@martinmitrevski martinmitrevski left a 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?

Copy link

github-actions bot commented Oct 3, 2025

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)

Copy link

sonarqubecloud bot commented Oct 3, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💥 Breaking Changes A PR that contains breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants