Skip to content

feat(ui): stream network image and retry badge#81

Merged
xsahil03x merged 10 commits intomain-design-systemfrom
feat/stream-network-image
Mar 20, 2026
Merged

feat(ui): stream network image and retry badge#81
xsahil03x merged 10 commits intomain-design-systemfrom
feat/stream-network-image

Conversation

@xsahil03x
Copy link
Member

No description provided.

xsahil03x and others added 8 commits March 19, 2026 20:59
Add shimmer-based skeleton loading components using the `shimmer` package.
StreamSkeletonLoading wraps children with an animated shimmer effect, while
StreamSkeletonBox provides shaped placeholder boxes (rectangle or circular).

- Add StreamSkeletonLoadingThemeData for theming base/highlight colors and period
- Derive shimmer direction from ambient Directionality (LTR/RTL)
- Use brightness-aware defaults (backgroundSurfaceStrong base, white20 highlight
  for light, chrome[0] for dark) instead of Figma overlay tokens
- Remove unused skeletonLoadingBase/Highlight from StreamColorScheme and tokens
- Add StreamSkeletonBox with .circular factory constructor
- Add Widgetbook playground, showcase (message, list, image, enabled/disabled)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@xsahil03x xsahil03x requested a review from a team as a code owner March 19, 2026 21:57
@coderabbitai
Copy link

coderabbitai bot commented Mar 19, 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: 6be56cdd-cbc3-4580-a54d-8082b83a3004

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 feat/stream-network-image
📝 Coding Plan
  • Generate coding plan for human review comments

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.

@codecov
Copy link

codecov bot commented Mar 19, 2026

Codecov Report

❌ Patch coverage is 6.77966% with 110 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main-design-system@cd48ab5). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...ib/src/components/common/stream_network_image.dart 0.00% 73 Missing ⚠️
...r/lib/src/components/badge/stream_retry_badge.dart 0.00% 26 Missing ⚠️
.../src/components/common/stream_loading_spinner.dart 0.00% 7 Missing ⚠️
...utter/lib/src/components/avatar/stream_avatar.dart 0.00% 3 Missing ⚠️
...r/lib/src/components/badge/stream_badge_count.dart 0.00% 1 Missing ⚠️

❌ Your patch status has failed because the patch coverage (6.77%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@                  Coverage Diff                  @@
##             main-design-system      #81   +/-   ##
=====================================================
  Coverage                      ?   28.57%           
=====================================================
  Files                         ?      139           
  Lines                         ?     4662           
  Branches                      ?        0           
=====================================================
  Hits                          ?     1332           
  Misses                        ?     3330           
  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.

Base automatically changed from feat/StreamShimmer to main-design-system March 20, 2026 08:31
…ream-network-image

# Conflicts:
#	packages/stream_core_flutter/lib/src/components/common/stream_skeleton_loading.dart
#	packages/stream_core_flutter/lib/src/factory/stream_component_factory.dart
#	packages/stream_core_flutter/lib/src/factory/stream_component_factory.g.theme.dart
@xsahil03x xsahil03x merged commit 5572475 into main-design-system Mar 20, 2026
3 of 4 checks passed
@xsahil03x xsahil03x deleted the feat/stream-network-image branch March 20, 2026 08:40
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