Skip to content

fix: adjust padding for messages containing only padding#3102

Merged
MartinCupela merged 1 commit intomasterfrom
fix/padding-only-attachment-messages
Apr 9, 2026
Merged

fix: adjust padding for messages containing only padding#3102
MartinCupela merged 1 commit intomasterfrom
fix/padding-only-attachment-messages

Conversation

@MartinCupela
Copy link
Copy Markdown
Contributor

🎯 Goal

Remove redundant padding around attachments in attachment-only messages

🎨 UI Changes

image image

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 9, 2026

Codecov Report

βœ… All modified and coverable lines are covered by tests.
βœ… Project coverage is 80.83%. Comparing base (9156f6f) to head (f32b190).
⚠️ Report is 9 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3102   +/-   ##
=======================================
  Coverage   80.83%   80.83%           
=======================================
  Files         417      417           
  Lines       12035    12038    +3     
  Branches     3873     3874    +1     
=======================================
+ Hits         9728     9731    +3     
  Misses       2307     2307           

β˜” 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.
  • πŸ“¦ JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@MartinCupela MartinCupela force-pushed the fix/padding-only-attachment-messages branch from dd80155 to f32b190 Compare April 9, 2026 09:42
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

Size Change: +89 B (+0.01%)

Total Size: 614 kB

πŸ“¦ View Changed
Filename Size Change
dist/cjs/emojis.js 2.96 kB -3 B (-0.1%)
dist/cjs/index.js 237 kB +20 B (+0.01%)
dist/cjs/WithAudioPlayback.js 43.2 kB +20 B (+0.05%)
dist/css/index.css 45.4 kB +3 B (+0.01%)
dist/es/emojis.mjs 2.47 kB +1 B (+0.04%)
dist/es/index.mjs 235 kB +24 B (+0.01%)
dist/es/WithAudioPlayback.mjs 43 kB +24 B (+0.06%)
ℹ️ View Unchanged
Filename Size
dist/cjs/audioProcessing.js 1.32 kB
dist/cjs/mp3-encoder.js 1.27 kB
dist/css/emoji-replacement.css 456 B
dist/es/audioProcessing.mjs 1.31 kB
dist/es/mp3-encoder.mjs 756 B

compressed-size-action

@MartinCupela MartinCupela merged commit 443b9a8 into master Apr 9, 2026
8 checks passed
@MartinCupela MartinCupela deleted the fix/padding-only-attachment-messages branch April 9, 2026 12:30
github-actions bot pushed a commit that referenced this pull request Apr 14, 2026
## [14.0.0-beta.7](v14.0.0-beta.6...v14.0.0-beta.7) (2026-04-14)

### ⚠ BREAKING CHANGES

* remove onlySenderCanEdit from MessageProps
* - Removed legacy notification text callback props from Message props:
  getDeleteMessageErrorNotification,
  getFetchReactionsErrorNotification,
  getFlagMessageErrorNotification,
  getFlagMessageSuccessNotification,
  getMarkMessageUnreadErrorNotification,
  getMarkMessageUnreadSuccessNotification,
  getMuteUserErrorNotification,
  getMuteUserSuccessNotification,
  getPinMessageErrorNotification.
Notification customization must now be done through notification
translators
(Streami18n translationBuilder topic: "notification") and/or custom
MessageActions.
* - Message action handlers no longer publish notifications internally.
Errors now propagate to call sites, which are responsible for
success/error notifications.
* - Removed ConnectionStatus component. Connection notification UI is app
responsibility now.
* externalize sidebar toggle and remove navOpen state from the SDK (#3088)
* remove deprecated APIs ahead of v14 stable (#3086)

### Bug Fixes

* adjust padding for messages containing only padding ([#3102](#3102)) ([443b9a8](443b9a8))
* **AudioPlayback:** improve wave progress bar smoothness and sizing ([#3094](#3094)) ([982cf2a](982cf2a))
* correct various UI glitches ([#3110](#3110)) ([6605f63](6605f63))
* **Giphy:** use fixed height for giphy preview to prevent layout shifts ([#3095](#3095)) ([30e45fa](30e45fa))
* **MessageList:** prevent jump-to-message snap-back from bottom autoscroll ([#3109](#3109)) ([be8ed26](be8ed26))

### Features

* add EmojiPicker plugin stylesheet ([#3108](#3108)) ([b4ed464](b4ed464))
* add MediaBadge ([#3103](#3103)) ([e15caa4](e15caa4))
* add new styles for unsupported attachments (preview, message, channel preview) ([#3107](#3107)) ([19a0add](19a0add))
* add notification API wrapper ([#3096](#3096)) ([2060768](2060768))
* externalize sidebar toggle and remove navOpen state from the SDK ([#3088](#3088)) ([dc16bb5](dc16bb5))
* introduce extended reaction list to a reactions detail component ([#3100](#3100)) ([b284802](b284802))
* redesign UnsupportedAttachment ([#3099](#3099)) ([9156f6f](9156f6f))
* remove onlySenderCanEdit prop from MessageProps ([#3098](#3098)) ([759cadf](759cadf))
* track upload progress in attachment preview components ([#3060](#3060)) ([8b13863](8b13863))

### Refactors

* remove deprecated APIs ahead of v14 stable ([#3086](#3086)) ([8317b73](8317b73)), closes [#1804](https://github.com/GetStream/stream-chat-react/issues/1804)
@stream-ci-bot
Copy link
Copy Markdown

πŸŽ‰ This PR is included in version 14.0.0-beta.7 πŸŽ‰

The release is available on:

Your semantic-release bot πŸ“¦πŸš€

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants