Skip to content

fix(ui): map xxl avatar to xxl online indicator size#2711

Merged
xsahil03x merged 3 commits into
v10.0.0from
fix/avatar-2xl-online-indicator
Jun 2, 2026
Merged

fix(ui): map xxl avatar to xxl online indicator size#2711
xsahil03x merged 3 commits into
v10.0.0from
fix/avatar-2xl-online-indicator

Conversation

@xsahil03x
Copy link
Copy Markdown
Member

Summary

  • Splits the _indicatorSizeForAvatarSize mapping in StreamUserAvatar so .xxl maps to the new StreamOnlineIndicatorSize.xxl (20px) instead of xl (16px).
  • Bumps stream_core_flutter git ref to pick up the new size variant.

Fixes the online indicator dimensions on the xxl avatar (Contact Info screen) — per spec: 20px diameter, 2px inner border.

Depends on GetStream/stream-core-flutter#116 — the stream_core_flutter ref should be moved to main once that PR merges.

Test plan

  • Verify the indicator renders at 20px diameter with a 2px inner border on StreamUserAvatar with StreamAvatarSize.xxl
  • melos run analyze

🤖 Generated with Claude Code

Pairs StreamAvatarSize.xxl with the new StreamOnlineIndicatorSize.xxl
(20px) added in stream_core_flutter, matching the Chat SDK design
system spec.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 2, 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.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 218e0fd8-e4d4-47fb-b0c4-33b363921971

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

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/avatar-2xl-online-indicator

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.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 2, 2026

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (v10.0.0@d9b3105). Learn more about missing BASE report.

Files with missing lines Patch % Lines
.../lib/src/components/avatar/stream_user_avatar.dart 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             v10.0.0    #2711   +/-   ##
==========================================
  Coverage           ?   67.61%           
==========================================
  Files              ?      407           
  Lines              ?    24468           
  Branches           ?        0           
==========================================
  Hits               ?    16543           
  Misses             ?     7925           
  Partials           ?        0           

☔ 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.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@xsahil03x xsahil03x merged commit 7795b10 into v10.0.0 Jun 2, 2026
9 checks passed
@xsahil03x xsahil03x deleted the fix/avatar-2xl-online-indicator branch June 2, 2026 15:43
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