Skip to content

feat(ui): Improve slow mode UI#2666

Merged
renefloor merged 12 commits into
v10.0.0from
feat/improve-slow-mode-composer
May 20, 2026
Merged

feat(ui): Improve slow mode UI#2666
renefloor merged 12 commits into
v10.0.0from
feat/improve-slow-mode-composer

Conversation

@renefloor
Copy link
Copy Markdown
Contributor

@renefloor renefloor commented May 19, 2026

Submit a pull request

Linear: FLU-496

CLA

  • I have signed the Stream CLA (required).
  • The code changes follow best practices
  • Code changes are tested (add some information if not applicable)

Description of the pull request

Currently slow mode didn't disable the composer, you could still type. This PR disables the composer, the attachment button and shows the timer.

Screenshots / Videos

Before After
image (9) Simulator Screenshot - iPhone 17 Pro Max - 2026-05-19 at 14 06 50

Summary by CodeRabbit

  • New Features

    • Slow mode now displays a live countdown timer showing remaining seconds, replacing the static label
    • Message input is disabled and the send button is replaced with a countdown display while slow mode is active
    • Updated slow mode labels across all supported languages
  • Documentation

    • Updated migration guides and changelog documenting slow mode behavior changes
  • Tests

    • Updated message input tests to validate slow mode countdown display and disabled input state

Review Change Stack

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 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: de1934e6-87b0-4ee0-9aa5-167ba8e0aff5

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/improve-slow-mode-composer

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.

@renefloor renefloor mentioned this pull request May 20, 2026
3 tasks
@codecov
Copy link
Copy Markdown

codecov Bot commented May 20, 2026

Codecov Report

❌ Patch coverage is 97.33333% with 2 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (v10.0.0@b73bb71). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...age_composer/message_composer_component_props.dart 75.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             v10.0.0    #2666   +/-   ##
==========================================
  Coverage           ?   66.69%           
==========================================
  Files              ?      404           
  Lines              ?    24137           
  Branches           ?        0           
==========================================
  Hits               ?    16097           
  Misses             ?     8040           
  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.

Comment thread packages/stream_chat_flutter/lib/src/message_input/stream_chat_message_input.dart Outdated
Copy link
Copy Markdown
Member

@xsahil03x xsahil03x left a comment

Choose a reason for hiding this comment

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

Suggested some improvements, but LGTM

@renefloor renefloor merged commit 95c77b8 into v10.0.0 May 20, 2026
8 of 9 checks passed
@renefloor renefloor deleted the feat/improve-slow-mode-composer branch May 20, 2026 12:23
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