Skip to content

add missing inputfield properties#83

Merged
renefloor merged 1 commit intomain-design-systemfrom
feature/add-missing-features-composer-input
Mar 26, 2026
Merged

add missing inputfield properties#83
renefloor merged 1 commit intomain-design-systemfrom
feature/add-missing-features-composer-input

Conversation

@renefloor
Copy link
Collaborator

@renefloor renefloor commented Mar 24, 2026

Submit a pull request

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

This adds some missing fields in the inputfield that are available in the current chat sdk.

Summary by CodeRabbit

  • New Features
    • Message composer input field now supports additional customization options, allowing configuration of keyboard type, text capitalization preferences, autofocus behavior, and autocorrect settings for improved control over text input interactions.

@renefloor renefloor requested a review from a team as a code owner March 24, 2026 15:24
@coderabbitai
Copy link

coderabbitai bot commented Mar 24, 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: 70ea2cf9-354a-4796-b673-f4bd128bae38

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:

  • ✅ Review completed - (🔄 Check again to review again)
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/add-missing-features-composer-input

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 24, 2026

Codecov Report

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

Files with missing lines Patch % Lines
...nents/message_composer/message_composer_input.dart 0.00% 5 Missing ⚠️

❌ Your patch status has failed because the patch coverage (0.00%) 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      #83   +/-   ##
=====================================================
  Coverage                      ?   28.48%           
=====================================================
  Files                         ?      139           
  Lines                         ?     4676           
  Branches                      ?        0           
=====================================================
  Hits                          ?     1332           
  Misses                        ?     3344           
  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.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In
`@packages/stream_core_flutter/lib/src/components/message_composer/message_composer_input.dart`:
- Around line 79-83: The StreamMessageComposerInput currently hardcodes the
inner StreamMessageComposerInputField construction so callers cannot override
textInputAction, keyboardType, textCapitalization, autofocus, and autocorrect;
add these five properties to the StreamMessageComposerInput class/constructor
(matching the defaults used by StreamMessageComposerInputField, e.g.
TextCapitalization.sentences, autofocus=false, autocorrect=true) and forward
them when instantiating StreamMessageComposerInputField inside
StreamMessageComposerInput so the values are plumbed through to the inner field.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 02ed1925-95c1-4ccf-bacc-7e01cc623b50

📥 Commits

Reviewing files that changed from the base of the PR and between 3de81c9 and 05d145a.

📒 Files selected for processing (1)
  • packages/stream_core_flutter/lib/src/components/message_composer/message_composer_input.dart

@renefloor renefloor merged commit 7f559b9 into main-design-system Mar 26, 2026
3 of 4 checks passed
@renefloor renefloor deleted the feature/add-missing-features-composer-input branch March 26, 2026 16:12
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