Skip to content

fix(ui): apply filter of supported emoji#2698

Merged
renefloor merged 7 commits into
v10.0.0from
fix/filter-supported-emoji
May 29, 2026
Merged

fix(ui): apply filter of supported emoji#2698
renefloor merged 7 commits into
v10.0.0from
fix/filter-supported-emoji

Conversation

@renefloor
Copy link
Copy Markdown
Contributor

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 checks the supportedReactions for the picker sheets.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 29, 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: ca3d953b-04df-470f-a193-20dc203c7e81

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 fix/filter-supported-emoji

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.

final selectedReactions = ownReactionsMap.keys.toSet();
final supportedEmojis = resolver.supportedReactions
.map((type) => streamSupportedEmojis[type])
.whereType<StreamEmojiData>();
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

we can use .nonNulls instead of whereType

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Also better to create a list .toList

@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (v10.0.0@6d71de9). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             v10.0.0    #2698   +/-   ##
==========================================
  Coverage           ?   67.47%           
==========================================
  Files              ?      407           
  Lines              ?    24430           
  Branches           ?        0           
==========================================
  Hits               ?    16485           
  Misses             ?     7945           
  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.

xsahil03x and others added 3 commits May 29, 2026 18:30
docsGoldenTest's default pumpBeforeTest now calls pumpAndSettle before
precacheImages, so modal sheets and paginated list views finish rendering
before the image scan runs — fixing the empty avatar circles in the
reaction detail sheet and reaction list view goldens. Reaction stubs move
into the test builders now that custom pumpBeforeTest overrides are no
longer needed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@renefloor renefloor merged commit ee37fc1 into v10.0.0 May 29, 2026
11 checks passed
@renefloor renefloor deleted the fix/filter-supported-emoji branch May 29, 2026 17:26
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