Skip to content

feat(ui): float the scheduled messages banner above the page composer - #3263

Open
xsahil03x wants to merge 9 commits into
masterfrom
feat/scheduled-messages-banner-accessory
Open

xsahil03x wants to merge 9 commits into
masterfrom
feat/scheduled-messages-banner-accessory

Conversation

@xsahil03x

@xsahil03x xsahil03x commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

What

StreamChannelPage and StreamThreadPage show the scheduled messages banner in StreamScaffold's new bottomAccessory slot instead of inside the composer. It now floats over the message list, right above the composer, as in the Chat SDK Design System's "Scheduled Messages" screens on iOS and Android.

  • PageComposer keeps the composer and long-press scheduling, and is now stateless; the banner moves to a new internal PageScheduledMessagesBanner, still hidden while editing a message or when scheduledMessagesEnabled is false.
  • Snackbars from the composer, such as why scheduling failed, now rest above the banner instead of over it.
  • StreamScaffold keeps a gap above the banner, so the list's jump-to-latest button and newest message rest 16dp above it, as they do above the composer.
  • Command and mention suggestions draw over the banner, as in the designs' "Commands Open" screens.
  • stream_core_flutter is pinned to the git ref of feat(ui): add bottomAccessory to StreamScaffold stream-core-flutter#278 (ce42be81), to be swapped back to a version constraint when core releases.

Verification

  • test/src/channel and test/src/message_input pass, including new tests for the banner floating over the list, hiding on a deleted thread parent with no replies, and a scheduling error resting above it.
  • Pixel 10 emulator:
Light Dark
Banner (regular)
Scheduling error (regular)
Banner (floating)
Scheduling error (floating)

🤖 Generated with Claude Code

https://claude.ai/code/session_012vTgFtpgNRVBF5fFNfHLoQ

The banner of StreamChannelPage and StreamThreadPage moves out of the
composer into StreamScaffold's new bottomAccessory, so it floats over the
message list right above the composer. stream_core_flutter is pinned to
the git ref that adds the slot until its next release.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vTgFtpgNRVBF5fFNfHLoQ
@getstream-metis

getstream-metis Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

👋 Thanks, Sahil! I'm on it.

How to work with me

  • 💬 Disagree with a finding? Reply in its thread and tell me why. I'll withdraw it, or answer with evidence.
  • 🔁 Fixed it? Just push. The next round checks your fix and resolves the thread.
  • 👍 👎 Rate my findings. I learn what your team doesn't want flagged.
  • ✅ I approve once nothing blocking is left: must-fix always blocks, should-fix only in the first two rounds. CI isn't part of that; branch protection still holds the merge until it's green. On repos that require a human approval, a teammate still has to approve too.
Commands

Comment any of these on the PR:

  • /jeffery review · start a review
  • /jeffery next-round · start the next round now
  • /jeffery pause · /jeffery resume · stop or restart reviews on this PR
  • /jeffery status · where things stand
  • /jeffery help · all commands

@github-actions github-actions Bot added ready Pull request ready to be reviewed v10 Targets the v10 release line labels Nov 30, 2026
xsahil03x and others added 4 commits November 30, 2026 17:50
Pins stream_core_flutter to the latest commit of the bottomAccessory
slot, and covers the banner floating over the list and hiding on a
deleted thread parent with no replies.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vTgFtpgNRVBF5fFNfHLoQ
Pins stream_core_flutter to the commit where a composer's snackbars go to
its StreamScaffold, so they rest above the banner instead of over it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vTgFtpgNRVBF5fFNfHLoQ
The banner takes a top margin like the floating composer's own top
padding, so the list's jump-to-latest button and newest message rest
above it instead of on it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vTgFtpgNRVBF5fFNfHLoQ
@xsahil03x xsahil03x added the changelog-override Waive the CHANGELOG placement check (deliberate edit to a published section) label Nov 30, 2026
xsahil03x and others added 2 commits November 30, 2026 23:49
…e list

The banner drops its top margin: StreamScaffold now keeps a gap above its
bottom accessory, so the list rests clear of the banner while snackbars
rest on it. Pins stream_core_flutter to the commit that adds the gap.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vTgFtpgNRVBF5fFNfHLoQ
It maps the channel's capabilities inline, as StreamMessageComposer does.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vTgFtpgNRVBF5fFNfHLoQ
@xsahil03x xsahil03x removed the changelog-override Waive the CHANGELOG placement check (deliberate edit to a published section) label Nov 30, 2026
@xsahil03x

Copy link
Copy Markdown
Member Author

/jeffery review

@getstream-metis getstream-metis Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Round 1 · 🆕 1 new · nothing blocking

➡️ Round 2 started on 76b5f1b.

getstream-metis[bot]
getstream-metis Bot previously approved these changes Nov 30, 2026

@getstream-metis getstream-metis Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Approved · round 1

Nice work, Sahil! Nothing blocking is left on 832b5037de1a. Ship it 🚀

…ages-banner-accessory

# Conflicts:
#	melos.yaml
#	packages/stream_chat_flutter/CHANGELOG.md
#	packages/stream_chat_flutter/pubspec.yaml
@getstream-metis
getstream-metis Bot dismissed their stale review December 1, 2026 13:15

Withdrawing approval until 76b5f1b is reviewed.

getstream-metis[bot]
getstream-metis Bot previously approved these changes Dec 1, 2026

@getstream-metis getstream-metis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Round 2 · 💬 1 dropped · 🎉 Approved

Nice work, Sahil! Nothing blocking is left on 76b5f1b0f995. Ship it 🚀

…ages-banner-accessory

# Conflicts:
#	docs/docs_screenshots/pubspec.yaml
#	melos.yaml
#	packages/stream_chat_flutter/pubspec.yaml
#	packages/stream_chat_flutter/test/src/poll/creator/goldens/ci/poll_option_reorderable_list_view_dark.png
#	packages/stream_chat_flutter/test/src/poll/creator/goldens/ci/poll_option_reorderable_list_view_error_dark.png
#	packages/stream_chat_flutter/test/src/poll/creator/goldens/ci/poll_option_reorderable_list_view_error_light.png
#	packages/stream_chat_flutter/test/src/poll/creator/goldens/ci/poll_option_reorderable_list_view_light.png
#	packages/stream_chat_flutter/test/src/poll/creator/goldens/ci/stream_poll_creator_sheet_dark.png
#	packages/stream_chat_flutter/test/src/poll/creator/goldens/ci/stream_poll_creator_sheet_light.png
#	packages/stream_chat_flutter/test/src/poll/creator/goldens/ci/stream_poll_creator_sheet_options_dark.png
#	packages/stream_chat_flutter/test/src/poll/creator/goldens/ci/stream_poll_creator_sheet_options_light.png
#	packages/stream_chat_flutter/test/src/poll/goldens/ci/poll_option_reorderable_list_view_dark.png
#	packages/stream_chat_flutter/test/src/poll/goldens/ci/poll_option_reorderable_list_view_error.png
#	packages/stream_chat_flutter/test/src/poll/goldens/ci/poll_option_reorderable_list_view_light.png
#	packages/stream_chat_flutter/test/src/poll/interactor/goldens/ci/poll_add_comment_dialog_dark.png
#	packages/stream_chat_flutter/test/src/poll/interactor/goldens/ci/poll_add_comment_dialog_light.png
#	packages/stream_chat_flutter/test/src/poll/interactor/goldens/ci/poll_add_comment_dialog_with_initial_value_dark.png
#	packages/stream_chat_flutter/test/src/poll/interactor/goldens/ci/poll_add_comment_dialog_with_initial_value_light.png
#	packages/stream_chat_flutter/test/src/poll/interactor/goldens/ci/poll_suggest_option_dialog_dark.png
#	packages/stream_chat_flutter/test/src/poll/interactor/goldens/ci/poll_suggest_option_dialog_light.png
#	packages/stream_chat_flutter/test/src/poll/interactor/goldens/ci/poll_suggest_option_dialog_with_initial_option_dark.png
#	packages/stream_chat_flutter/test/src/poll/interactor/goldens/ci/poll_suggest_option_dialog_with_initial_option_light.png
@getstream-metis
getstream-metis Bot dismissed their stale review December 1, 2026 13:34

Withdrawing approval until 0e4faa8 is reviewed.

@getstream-metis getstream-metis Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Round 3 · 💬 1 dropped · 🎉 Approved

Nice work, Sahil! Nothing blocking is left on 0e4faa8c7574. Ship it 🚀

@stream-flutter-ci-bot

stream-flutter-ci-bot Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

SDK Size

title master branch diff status
android_stream_chat 1.38 MB 1.38 MB 0 KB 🟢
android_stream_chat_flutter 10.04 MB 10.04 MB -4 KB 🚀
android_stream_chat_flutter_core 2.2 MB 2.2 MB 0 KB 🟢
android_stream_chat_persistence 4.02 MB 4.02 MB 0 KB 🟢
pub_stream_chat 0.53 MB 0.53 MB +4 KB 🟢
pub_stream_chat_flutter 5.0 MB 5.0 MB 0 KB 🟢
pub_stream_chat_flutter_core 0.22 MB 0.23 MB +4 KB 🟢
pub_stream_chat_localizations 0.17 MB 0.17 MB +1 KB 🟢
pub_stream_chat_persistence 0.78 MB 0.79 MB +1 KB 🟢

Measured on 0e4faa8.

@stream-flutter-ci-bot

Copy link
Copy Markdown
Contributor

Size Breakdown

📦 Size change against master:

  • android · stream_chat: 1.46 MB, +12.3 KB (+0.8%) ⚠️
  • android · stream_chat_flutter: 10.01 MB, +16.5 KB (+0.2%) ⚠️
  • android · stream_chat_flutter_core: 2.22 MB, +12.2 KB (+0.5%) ⚠️
  • android · stream_chat_persistence: 4.06 MB, +21.4 KB (+0.5%) ⚠️

This run does not measure ios.

Measured on 0e4faa8.

Largest changes

Component Variant master Branch Δ
package:flutter android · stream_chat_flutter 2.07 MB 2.05 MB -14.9 KB
package:stream_chat android · stream_chat_flutter 599.1 KB 612.8 KB +13.8 KB
package:stream_thumbnail android · stream_chat_flutter 12.6 KB 21.8 KB +9.2 KB
package:stream_chat_flutter android · stream_chat_flutter 742.6 KB 750.1 KB +7.5 KB
package:stream_core_flutter android · stream_chat_flutter 448.1 KB 455.6 KB +7.4 KB
dart:convert android · stream_chat_flutter 31.8 KB 24.6 KB -7.2 KB
package:stream_chat_persistence android · stream_chat_persistence 373.8 KB 381.0 KB +7.2 KB
dart:mixin_deduplication android · stream_chat_flutter 483.5 KB 488.7 KB +5.2 KB
org android · stream_chat_flutter 4.8 KB 0.0 KB -4.8 KB
dart:core android · stream_chat_flutter 89.2 KB 85.4 KB -3.8 KB
dart:_http android · stream_chat_flutter 167.0 KB 170.5 KB +3.4 KB
package:pool android · stream_chat_flutter 0.0 KB 2.8 KB +2.8 KB
package:flutter_markdown_plus android · stream_chat_flutter 48.8 KB 46.3 KB -2.5 KB
dart:@unknown android · stream_chat_persistence 201.0 KB 203.2 KB +2.3 KB
dart:@stubs android · stream_chat_flutter 61.3 KB 60.0 KB -1.3 KB
Full breakdown

What each SDK adds to an empty release app, per Dart package and native library. Dart sizes are uncompressed symbol sizes. Open the sdk-size-analysis artifacts of this run in the DevTools App Size tool to drill down further.

android · stream_chat: 1.46 MB (+12.3 KB) ⚠️
Component Size Δ vs master
package:stream_chat 522.7 KB +10.7 KB
dart:_http 146.5 KB +0.0 KB
dart:@unknown 134.2 KB +1.4 KB
dart:io 93.2 KB +0.2 KB
package:dio 69.6 KB -0.0 KB
dart:@shared 50.0 KB +0.2 KB
dart:async 48.2 KB +0.0 KB
package:source_span 42.2 KB -0.0 KB
dart:core 41.7 KB -0.1 KB
dart:typed_data 38.7 KB -0.0 KB
package:collection 36.9 KB -0.0 KB
package:rxdart 34.3 KB 0
package:path 26.3 KB +0.0 KB
dart:_internal 21.1 KB +0.0 KB
dart:collection 18.5 KB +0.0 KB
other (37) 166.2 KB -0.1 KB
android · stream_chat_flutter: 10.01 MB (+16.5 KB) ⚠️
Component Size Δ vs master
package:flutter 2.05 MB -14.9 KB
classes.dex 925.2 KB -0.7 KB
dart:@unknown 782.0 KB +1.6 KB
package:stream_chat_flutter 750.1 KB +7.5 KB
package:stream_chat 612.8 KB +13.8 KB
dart:mixin_deduplication 488.7 KB +5.2 KB
package:stream_core_flutter 455.6 KB +7.4 KB
dart:@shared 364.6 KB -0.8 KB
package:material_ui 347.4 KB +1.1 KB
assets 190.7 KB +1.1 KB
package:vector_graphics_compiler 188.7 KB -0.0 KB
dart:_http 170.5 KB +3.4 KB
dart:io 148.0 KB +0.3 KB
native:libdartjni.so 128.7 KB 0
package:chewie 114.3 KB +0.1 KB
other (157) 2.42 MB -8.6 KB
android · stream_chat_flutter_core: 2.22 MB (+12.2 KB) ⚠️
Component Size Δ vs master
package:stream_chat 536.3 KB +10.9 KB
package:flutter 465.6 KB +0.1 KB
dart:@unknown 207.3 KB +0.9 KB
dart:_http 145.7 KB +0.0 KB
dart:io 92.0 KB +0.0 KB
package:dio 69.2 KB +0.0 KB
dart:mixin_deduplication 66.6 KB -0.0 KB
dart:@shared 59.3 KB +0.2 KB
package:stream_chat_flutter_core 51.0 KB 0
dart:async 49.4 KB -0.0 KB
dart:collection 45.5 KB +0.0 KB
dart:typed_data 44.5 KB -0.1 KB
dart:core 44.2 KB -0.0 KB
package:rxdart 43.4 KB +0.0 KB
package:source_span 42.2 KB 0
other (54) 307.4 KB +0.1 KB
android · stream_chat_persistence: 4.06 MB (+21.4 KB) ⚠️
Component Size Δ vs master
native:libsqlite3.so 1.67 MB 0
package:stream_chat 550.2 KB +10.6 KB
package:stream_chat_persistence 381.0 KB +7.2 KB
dart:@unknown 203.2 KB +2.3 KB
dart:_http 146.5 KB +0.0 KB
native:libdartjni.so 128.7 KB 0
package:drift 123.0 KB -0.0 KB
dart:io 96.2 KB +0.2 KB
package:dio 69.7 KB +0.0 KB
dart:@shared 64.7 KB +0.4 KB
dart:async 56.4 KB -0.0 KB
dart:typed_data 55.8 KB +0.0 KB
package:sqlite3 52.1 KB +0.0 KB
dart:core 51.9 KB +0.0 KB
dart:mixin_deduplication 46.0 KB -0.0 KB
other (57) 424.2 KB +0.7 KB

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

jeffery:review ready Pull request ready to be reviewed v10 Targets the v10 release line

Development

Successfully merging this pull request may close these issues.

1 participant