Skip to content

refactor(messaging): Redesign message bubbles and reaction UI#4217

Merged
jamesarich merged 1 commit into
mainfrom
feat/tweak-reactions
Jan 15, 2026
Merged

refactor(messaging): Redesign message bubbles and reaction UI#4217
jamesarich merged 1 commit into
mainfrom
feat/tweak-reactions

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

This commit refactors the message item display for a cleaner and more intuitive user interface.

  • Message Bubble Redesign:

    • The user's name is now displayed above the message bubble for incoming messages, rather than inside it.
    • Padding and spacing have been adjusted for a less cluttered look. Local messages are indented further for clearer distinction.
    • Text size for the message body has been increased (bodyMedium to bodyLarge).
    • The layout of metadata (SNR, RSSI, timestamp, status icon) within the bubble has been streamlined.
  • Reaction UI Improvements:

    • An "Add Reaction" button (+ icon) is now persistently visible next to existing reactions, providing a clear entry point for adding new ones.
    • The visual style of reaction items has been updated. They now use SurfaceVariant with a border instead of PrimaryContainer, and the count is displayed next to the emoji rather than as a badge.
    • The "React" icon in the message action sheet has been changed from EmojiEmotions to the more specific AddReaction.
  • Code & Layout Cleanup:

    • Reactions are now displayed below the message bubble using AnimatedVisibility, preventing them from overlapping with the bubble.
    • The logic for determining message bubble corner rounding has been corrected to properly handle consecutive messages from the same sender.
image

This commit refactors the message item display for a cleaner and more intuitive user interface.

-   **Message Bubble Redesign:**
    -   The user's name is now displayed above the message bubble for incoming messages, rather than inside it.
    -   Padding and spacing have been adjusted for a less cluttered look. Local messages are indented further for clearer distinction.
    -   Text size for the message body has been increased (`bodyMedium` to `bodyLarge`).
    -   The layout of metadata (SNR, RSSI, timestamp, status icon) within the bubble has been streamlined.

-   **Reaction UI Improvements:**
    -   An "Add Reaction" button (`+` icon) is now persistently visible next to existing reactions, providing a clear entry point for adding new ones.
    -   The visual style of reaction items has been updated. They now use `SurfaceVariant` with a border instead of `PrimaryContainer`, and the count is displayed next to the emoji rather than as a badge.
    -   The "React" icon in the message action sheet has been changed from `EmojiEmotions` to the more specific `AddReaction`.

-   **Code & Layout Cleanup:**
    -   Reactions are now displayed below the message bubble using `AnimatedVisibility`, preventing them from overlapping with the bubble.
    -   The logic for determining message bubble corner rounding has been corrected to properly handle consecutive messages from the same sender.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@github-actions github-actions Bot added the enhancement New feature or request label Jan 15, 2026
@jamesarich jamesarich enabled auto-merge January 15, 2026 02:33
@jamesarich jamesarich added this pull request to the merge queue Jan 15, 2026
@codecov

codecov Bot commented Jan 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (b84dcb3) to head (b28061b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4217   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          3       3           
  Lines         23      23           
  Branches       7       7           
=====================================
  Misses        23      23           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Merged via the queue into main with commit f144454 Jan 15, 2026
8 checks passed
@jamesarich jamesarich deleted the feat/tweak-reactions branch January 15, 2026 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant