Skip to content

feat(repo)!: design refresh#2503

Open
xsahil03x wants to merge 5 commits intov10.0.0from
feat/design-refresh
Open

feat(repo)!: design refresh#2503
xsahil03x wants to merge 5 commits intov10.0.0from
feat/design-refresh

Conversation

@xsahil03x
Copy link
Member

No description provided.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 4, 2026

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.

  • 🔍 Trigger a full review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/design-refresh

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.

@xsahil03x xsahil03x changed the title feat(repo): design refresh feat(repo)!: design refresh Feb 4, 2026
@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

❌ Patch coverage is 70.36405% with 521 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.89%. Comparing base (6780dc3) to head (9cc9526).

Files with missing lines Patch % Lines
packages/stream_chat/lib/src/client/channel.dart 50.14% 176 Missing ⚠️
packages/stream_chat/lib/src/core/models/poll.dart 7.69% 48 Missing ⚠️
...chment_actions_modal/attachment_actions_modal.dart 56.04% 40 Missing ⚠️
...t_flutter/lib/src/channel/stream_channel_name.dart 18.18% 27 Missing ⚠️
packages/stream_chat/lib/src/client/client.dart 85.48% 18 Missing ⚠️
...ges/stream_chat/lib/src/core/models/poll_vote.dart 18.18% 18 Missing ⚠️
...ckages/stream_chat/lib/src/core/models/thread.dart 58.13% 18 Missing ⚠️
...m_chat/lib/src/core/models/thread_participant.dart 0.00% 18 Missing ⚠️
...s/stream_chat/lib/src/core/models/banned_user.dart 0.00% 16 Missing ⚠️
...ckages/stream_chat/lib/src/core/models/member.dart 57.89% 16 Missing ⚠️
... and 35 more
Additional details and impacted files
@@             Coverage Diff             @@
##           v10.0.0    #2503      +/-   ##
===========================================
+ Coverage    66.58%   66.89%   +0.31%     
===========================================
  Files          430      431       +1     
  Lines        26811    26191     -620     
===========================================
- Hits         17851    17521     -330     
+ Misses        8960     8670     -290     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

xsahil03x and others added 4 commits February 4, 2026 16:03
* feat(ui): add new avatar components

* refactor(ui)!: Redesign Avatar components

This commit introduces a complete redesign of the Avatar components to simplify the API, improve consistency, and align with the new design system.

The following components have been removed and replaced:
- `StreamUserAvatar`
- `StreamGroupAvatar`
- `StreamChannelAvatar`

They are replaced by a new suite of components:
- `StreamUserAvatar`: Displays a single user's avatar.
- `StreamUserAvatarGroup`: Displays a grid of user avatars for group channels.
- `StreamUserAvatarStack`: A new component for displaying a stack of overlapping user avatars.
- `StreamChannelAvatar`: Rebuilt to internally use the new avatar components.

Key changes:
- **Simplified Sizing**: The `constraints` parameter has been replaced with a `size` enum (e.g., `StreamAvatarSize.lg`) for standardized sizing.
- **Tap Handling**: The `onTap` callback has been removed. Avatars should now be wrapped with a `GestureDetector` or `InkWell` for handling interactions.
- **Parameter Cleanup**: Parameters like `borderRadius`, `selected`, `selectionColor`, and `selectionThickness` have been removed to simplify the API. Customization is now handled through theming.
- **Online Indicator**: The `showOnlineStatus` parameter has been renamed to `showOnlineIndicator`. Its default is now `true` for `StreamUserAvatar` and `false` for avatars inside groups or stacks.
- **`StreamGroupAvatar` is now `StreamUserAvatarGroup`**: The component has been renamed and now accepts a list of `User` objects instead of `Member` objects.
- **Migration Guide**: A detailed migration guide for the new avatar components has been added under `migrations/redesign/stream_avatar.md`.
- **Theming**: Integrated the new `StreamTheme` extension from `stream_core_flutter` for better theme management.

* feat: Use git version for stream_core_flutter

This commit updates the `stream_core_flutter` dependency to use a version from a git repository.

Specifically, it points to the `feat/avatar-group-and-badge-count` branch of the `GetStream/stream-core-flutter` repository.

* chore: skip smudge on CI

Temporarily skip LFS smudge process on CI workflows to work around an issue with a dependency.

* docs: update user avatar group/stack doc comments

* chore: Update Goldens

* fix: set user avatar size in thread list tile

* chore: Update Goldens

* docs: add theming guide for redesigned components

The migration guide for the redesigned UI components is updated to include a new "Theming" section. This section explains how to use `StreamTheme` to customize the appearance of the new components, providing code examples for both light and dark modes. It also adds a "Need Help?" section directing users to open a GitHub issue if they encounter problems.

* chore: pin stream_core_flutter dependency to a specific commit

* feat: Sort users to show current user first

In the `StreamChannelAvatar` widget, the list of members is now sorted to prioritize the current user. This ensures that in a `StreamUserAvatarGroup`, the current user's avatar is shown first when available.

* chore: prevent publishing of stream_core_flutter until available on pub.dev

* chore: update stream_core_flutter dependency

The `stream_core_flutter` git dependency reference has been updated to `c066cb481bd8a8523e5ea52f3433ffeaeab11332` in `packages/stream_chat_flutter/pubspec.yaml`.

* chore: remove GIT_LFS_SKIP_SMUDGE from workflows

Removes the `GIT_LFS_SKIP_SMUDGE` environment variable and associated TODO comments from GitHub Actions workflows (`stream_flutter_workflow`, `beta_version_analyze`, `update_goldens`, `distribute_internal`, and `release_publish`). This workaround is no longer required.

---------

Co-authored-by: xsahil03x <25670178+xsahil03x@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants