feat(condensed): add condensed view support for Messaging and Toast components#156
Merged
garrity-miepub merged 4 commits intomainfrom Apr 1, 2026
Merged
Conversation
- Add 31 data-slot attributes across 7 files: MessageThread (5), ConversationHeader (7), MessageList (7), MessageBubble (8), MessageComposer (6), AttachmentPicker (1) - Add ~315 lines of condensed CSS covering: conversation header, conversation list items, message list, date separators, typing indicator, empty state, load more, message bubbles, composer with aligned input/buttons/char count - Fix composer vertical alignment: flex centering, textarea height override, character counter repositioning
Deploying ui with
|
| Latest commit: |
703b128
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e9913ab1.ui-6d0.pages.dev |
| Branch Preview URL: | https://feature-condensed-view-messa.ui-6d0.pages.dev |
There was a problem hiding this comment.
Pull request overview
Adds condensed-density styling support for the Messaging UI by introducing data-slot hooks in Messaging components and new condensed overrides in condensed-view.css, aligning Messaging with the repo’s existing condensed-mode pattern.
Changes:
- Added
data-slotattributes across Messaging components (thread, header/list items, message list/bubbles, composer, attachment picker, lightbox) to provide stable styling hooks. - Added a new “Messaging – condensed overrides” section to
src/styles/condensed-view.csscovering header, conversation list items, message list states, bubbles, and composer layout/alignment. - Adjusted condensed composer layout (centering/alignment + textarea/character counter positioning).
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| src/styles/condensed-view.css | Adds condensed-mode CSS overrides targeting new Messaging data-slot hooks. |
| src/components/Messaging/MessageThread.tsx | Adds data-slot hooks to thread containers and lightbox/split-view wrappers. |
| src/components/Messaging/MessageList.tsx | Adds data-slot hooks for list container/content and message list states (typing, empty, load more, skeleton). |
| src/components/Messaging/MessageComposer.tsx | Adds data-slot hooks for composer form areas (reply preview, attachments, input area/input, send button). |
| src/components/Messaging/MessageBubble.tsx | Adds data-slot hooks to bubble elements (system, avatar, sender name, reply preview, content, footer, reactions). |
| src/components/Messaging/ConversationHeader.tsx | Adds data-slot hooks for conversation header and conversation list item sub-elements. |
| src/components/Messaging/AttachmentPicker.tsx | Adds data-slot hook for the attachment picker button for condensed styling. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Address Copilot review comments on PR #156: - Reaction pills: use > span direct child selector - Skeleton messages: add skeleton-avatar/bubble/spacer data-slots - Empty state: add message-empty-state-icon data-slot - Composer: add composer-input-wrapper and composer-char-count data-slots
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Condensed view support for Messaging and Toast components
Messaging
Toast
Review fixes
:first-child,:last-child,.relative,#char-count) with dedicated data-slots> spandirect child selector for reaction pills to avoid matching nested spans