docs(ui): update migration with learnings - #2767
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (2)
📝 WalkthroughWalkthroughFive migration guide Markdown files receive documentation-only additions covering five breaking-change areas and the new component factory customization pattern in the v10 redesign: renaming the ChangesMigration Guide Documentation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@migrations/redesign/message_composer.md`:
- Around line 562-612: The documentation incorrectly attributes
PlaybackTimerText to stream_core_flutter when it actually comes from
stream_chat_flutter. In the section explaining the PlaybackTimerText replacement
for RecordingTimer, remove the phrase "from stream_core_flutter" that appears in
the sentence introducing PlaybackTimerText. The widget should be documented as
coming from stream_chat_flutter (which is already correctly stated in the
re-export note at the end), so update the text around line 606 to reflect that
PlaybackTimerText is part of stream_chat_flutter, not stream_core_flutter.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 58b9744b-062e-4463-b6ee-8ba5f88706b5
📒 Files selected for processing (4)
migrations/redesign/headers_and_icons.mdmigrations/redesign/message_composer.mdmigrations/redesign/message_widget.mdmigrations/v10-migration.md
|
|
||
| `StreamColorSwatch.fromColor(Color, [Brightness])` accepts any `Color` and derives the full swatch automatically. `StreamColorScheme.light(brand:)` / `StreamColorScheme.dark(brand:)` are convenience constructors that replace only the brand swatch. | ||
|
|
||
| For fine-grained per-alignment control (e.g. different colors for sent vs. received), use `StreamMessageBubbleStyle` inside `StreamMessageItemThemeData` as shown in the [StreamMessageItemThemeData](#streammessageitemthemedata) section. |
There was a problem hiding this comment.
I think we should also mention about StreamMessageLayoutProperty here, as that provides the info on the actual message alignment in the list
Submit a pull request
CLA
Description of the pull request
Tested migrating an app and added some missing migration docs in here.
Summary by CodeRabbit
reactionIconsto a resolver-based flow for rendering emojis.messageBuilderper-list precedence.streamChatThemeData:→themeData:rename and composer/attachments customization steps.