Commit b425866
docs(ui)!: correct migration docs; remove dead MessageDetails (#2680)
* update migration docs with latest changes
* Add migration doc for sort option
* docs: correct migration docs against verified source
Apply ~70+ corrections across all 16 redesign migration docs and
v10-migration.md based on a source-by-source verification pass. Fixes
non-existent symbols, wrong constructor params, wrong typedef
signatures, and stale class names that would prevent migration code
examples from compiling. Adds the missing ClientState collection
immutability breaking-change section (introduced in 2501f53).
Also cleans up five stale dartdoc references in source that seeded
some of the wrong names in the docs (StreamMessagePlacement →
StreamMessageLayout, UrlAttachmentBuilder → LinkPreviewAttachmentBuilder,
StreamChat(config:) → streamChatConfigData:, etc.).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* refactor(ui)!: remove unused MessageDetails class
The MessageDetails class was only used by itself — no live consumers in
packages/ or sample_app. The new messageBuilder signature stopped passing
it as an argument, leaving the class as dead public surface area. Delete
the file and its export; update CHANGELOG and the migration doc that
previously said "no longer passed to builders" to reflect the actual
removal.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* feat(ui): re-export StreamAvatarTheme/Data from stream_core_flutter
The two avatar theme types live in stream_core_flutter, but consumers
who only depended on stream_chat_flutter had to add a second import to
theme avatars globally. Add them to the show allowlist so existing
StreamAvatarThemeData imports keep working, drop the now-redundant
stream_core_flutter import from stream_media_gallery_item.dart, and
update the migration doc that previously instructed users to import
from stream_core_flutter directly.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* chore(ui): inline AttachmentPickerOptionsBuilder typedef, drop empty file
stream_attachment_picker_bottom_sheet.dart only held the
AttachmentPickerOptionsBuilder typedef — the filename implied a sheet
class that no longer exists after pickers became inline. Move the
typedef into stream_attachment_picker.dart (next to the picker widgets
and builder functions that use it) and delete the misleading file.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs: add Stream Core / Stream Chat preamble to redesign README
Front-load the two-layer split so future doc passes don't conflate
"moved to stream_core_flutter" with "removed." Includes a small
core-primitive ↔ chat-wrapper table and a "frequently confused names"
list covering the wrong-name patterns that surfaced during the
verification pass (StreamMessagePlacement → StreamMessageLayout,
kStreamHeaderHeight → kStreamToolbarHeight, etc.).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs: address CodeRabbit review comments
- attachments_and_polls.md: fix stale #streamattachmentpickeroption
anchor (→ #attachment-picker) and drop reference to the removed
showStreamAttachmentPickerModalBottomSheet function.
- v10-migration.md: stable-release boundary was beta.12, not beta.13
(matches the upgrade matrix at the top of the doc).
- message_actions.md: drop StreamMessageReactionsModal from the
showStreamDialog Future<T?> "returns" list — the class is deleted.
- message_composer.md: destructure cooldownTimeOut from
SlowModePlaceholder so translations.slowModeOnLabel(int) gets its
required argument; matches the source dartdoc example verbatim.
The fourth flagged comment (onDismissTap row in unread_indicator_button.md)
was already removed in the earlier verification pass.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* docs(ui): use American spelling "customization" in reaction_picker.md
Line 31 used British "customisation" while the rest of the doc (and the
heading at line 299) uses American "Customization". Match the rest.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* fixed last StreamMessagePlacement occurrence
---------
Co-authored-by: Sahil Kumar <xdsahil@gmail.com>
Co-authored-by: Sahil Kumar <sahil@getstream.io>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3b50b8f commit b425866
29 files changed
Lines changed: 1854 additions & 1097 deletions
File tree
- migrations
- redesign
- packages/stream_chat_flutter
- lib
- src
- attachment
- builder
- media_gallery
- message_input/attachment_picker
- message_list_view
- message_modal
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
15 | 38 | | |
16 | 39 | | |
17 | 40 | | |
| |||
118 | 141 | | |
119 | 142 | | |
120 | 143 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
138 | 162 | | |
139 | 163 | | |
140 | 164 | | |
| |||
0 commit comments