Skip to content

[AND-411] Emphasize the selected list item in ChatsScreen on wide screens #5686

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

Merged
merged 12 commits into from
Mar 24, 2025

Conversation

andremion
Copy link
Contributor

@andremion andremion commented Mar 20, 2025

🎯 Goal

Emphasize the selected items in ChatsScreen when rendering on wide screens

🛠 Implementation details

A small refactoring had to be done to support emphasizing the items.
LocalComponentFactory is now public, so we can compound component factories more easily than customizing components using their parameters. In fact, none of them should be read-only. The concept of Compose local composition is to allow consumers to provide a new composition locally.

Also, the lazy list IDs for channels, topics, and messages have been revised.

🎨 UI Changes

list.item.emphasis.tablet.webm

🧪 Testing

  • Enable Adaptive layout in the Advanced options
  • Follow the video steps on tablet devices

🎉 GIF

gif

@andremion andremion added the compose Jetpack Compose label Mar 20, 2025
@andremion andremion changed the title And 411 emphasize the selected list item [AND-411] Emphasize the selected list item in ChatsScreen Mar 20, 2025
@andremion andremion changed the title [AND-411] Emphasize the selected list item in ChatsScreen [AND-411] Emphasize the selected list item in ChatsScreen on wide devices Mar 20, 2025
@andremion andremion changed the title [AND-411] Emphasize the selected list item in ChatsScreen on wide devices [AND-411] Emphasize the selected list item in ChatsScreen on wide screens Mar 20, 2025
Copy link
Contributor

github-actions bot commented Mar 20, 2025

SDK Size Comparison 📏

SDK Before After Difference Status
stream-chat-android-client 3.18 MB 3.18 MB 0.00 MB 🟢
stream-chat-android-offline 3.39 MB 3.39 MB 0.00 MB 🟢
stream-chat-android-ui-components 7.89 MB 7.89 MB 0.00 MB 🟢
stream-chat-android-compose 9.90 MB 9.92 MB 0.02 MB 🟢

@andremion andremion force-pushed the AND-388-render-pinned-messages-in-info-pane branch from fd5dd8a to 10f5d82 Compare March 21, 2025 10:58
Base automatically changed from AND-388-render-pinned-messages-in-info-pane to develop March 21, 2025 12:50
@andremion andremion force-pushed the AND-411-emphasize-the-selected-list-item branch from 770f009 to 49c0419 Compare March 21, 2025 13:29
@andremion andremion marked this pull request as ready for review March 21, 2025 14:21
@andremion andremion requested a review from a team as a code owner March 21, 2025 14:21
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
3.2% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@VelikovPetar VelikovPetar merged commit 127e2b7 into develop Mar 24, 2025
13 of 14 checks passed
@VelikovPetar VelikovPetar deleted the AND-411-emphasize-the-selected-list-item branch March 24, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compose Jetpack Compose
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants