Add utils.channelListConfig.channelItemMutedLayoutStyle
#881
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.
🔗 Issue Links
https://linear.app/stream/issue/IOS-860
🎯 Goal
Add
utils.channelListConfig.channelItemMutedLayoutStyle
config option to change the channel list item muting view style.📝 Summary
utils.channelListConfig.channelItemMutedLayoutStyle
to configure the mute view style🛠 Implementation
Mute styling:
There is quite a lot of inconsistency in our SDKs, where different platforms have at least 3 styles of rendering when a channel is muted. This PR provides a config so that you can switch easily between the 3. It does not make sense that every customer needs to rewrite the Channel list item whenever they want consistency in the muted styling.
Demo App Pinning:
A flag was added to the AppConfiguration to enable/disable the channel pinning feature. By default, it was enabled. This was a bit dangerous because it meant that while testing the DemoApp we were not using the SDK code, but only the Demo App code for the channel list item view. So we would not catch potential regressions.
🎨 Showcase
🧪 Manual Testing Notes
All scenarios are covered by snapshot tests.
The Demo App now follows the same style of Android Compose components. (Muted icon after the channel name)
☑️ Contributor Checklist
docs-content
repo