Skip to content

feat: align iconOnly API and unread badge styling#2982

Merged
oliverlaz merged 1 commit intomasterfrom
react-844-icononly-unread-badge
Mar 6, 2026
Merged

feat: align iconOnly API and unread badge styling#2982
oliverlaz merged 1 commit intomasterfrom
react-844-icononly-unread-badge

Conversation

@oliverlaz
Copy link
Member

🎯 Goal

Align the ChatView selector prop naming with other SDKs and include the unread badge styling updates needed for the threads selector.

Related ticket: REACT-844

🛠 Implementation details

  • rename the selector API from showLabels to iconOnly, keeping the default behavior as icon-only
  • update the ChatView selector tests and the Vite example settings flow to use iconOnly
  • add unread badge styling into the source Threads styling entrypoint and wire it into the main styling index
  • stop double-importing the dist unread badge styles in the Vite example stylesheet imports

🎨 UI Changes

The threads selector badge uses the new source unread badge styling, and the selector API now matches the iconOnly naming used in other SDKs.
No screenshots attached.

@oliverlaz oliverlaz changed the title REACT-844: align iconOnly API and unread badge styling feat: align iconOnly API and unread badge styling Mar 6, 2026
@github-actions
Copy link

github-actions bot commented Mar 6, 2026

Size Change: +256 B (+0.06%)

Total Size: 416 kB

Filename Size Change
./dist/cjs/index.js 212 kB +1 B (0%)
./dist/css/index.css 38 kB +255 B (+0.68%)
ℹ️ View Unchanged
Filename Size
./dist/audioProcessing-BbOs2wMd.js 1.32 kB
./dist/Channel-MhCKe2pq.js 20.9 kB
./dist/ChannelPreview-CqYTq6Ri.js 8.82 kB
./dist/cjs/emojis.js 2.97 kB
./dist/cjs/experimental.js 3.62 kB
./dist/cjs/mp3-encoder.js 1.27 kB
./dist/css/v2/emoji-mart.css 1.84 kB
./dist/css/v2/emoji-replacement.css 300 B
./dist/css/v2/index.css 39.4 kB
./dist/css/v2/index.layout.css 22.8 kB
./dist/limits-DuUuDo7N.js 63.4 kB

compressed-size-action

@oliverlaz oliverlaz merged commit c28b8ff into master Mar 6, 2026
4 of 6 checks passed
@oliverlaz oliverlaz deleted the react-844-icononly-unread-badge branch March 6, 2026 17:13
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