Skip to content

Move user message metadata outside the chat bubble#836

Open
dbalders wants to merge 1 commit intopingdotgg:mainfrom
dbalders:message-footer-cleanup
Open

Move user message metadata outside the chat bubble#836
dbalders wants to merge 1 commit intopingdotgg:mainfrom
dbalders:message-footer-cleanup

Conversation

@dbalders
Copy link
Contributor

@dbalders dbalders commented Mar 10, 2026

What Changed

Added a wrapper div around user chat messages so only the message content keeps the gray background, while the timestamp and action buttons render outside the bubble on the white background.

Why

Fixes #832 - Just feel this has a better look, especially for longer messages so there isn't a huge gray area below every message.

UI Changes

Before:
Screenshot 2026-03-10 at 12 30 05 PM

After:
Screenshot 2026-03-10 at 12 30 13 PM

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes

Note

Move user message metadata outside the chat bubble in MessagesTimeline

Restructures the user message layout in ChatView.tsx so the action toolbar sits below the bubble as a sibling element rather than inside it. The bubble is now wrapped in a right-aligned flex column container, sized to its content with w-fit, and the toolbar gets slight right padding (pr-1) to align with the bubble edge.

Macroscope summarized 823c24a.

Split the user message container so the gray bubble wraps only the
message content. Render the timestamp and action buttons below the
bubble on the white background to remove the large gray gap under
short messages.
Copilot AI review requested due to automatic review settings March 10, 2026 19:30
@coderabbitai
Copy link

coderabbitai bot commented Mar 10, 2026

Important

Review skipped

Auto reviews are disabled on this repository. 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: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: c71a293a-958e-42a4-ad2e-77ae3464e1e2

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
  • Post copyable unit tests in a comment

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.

@github-actions github-actions bot added the vouch:unvouched PR author is not yet trusted in the VOUCHED list. label Mar 10, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the user-message layout in the chat timeline so the “bubble” background applies only to the message content (text/attachments), while the timestamp and hover action buttons render outside the bubble on the page background—addressing the UI concern raised in #832.

Changes:

  • Wrapped user messages in an outer flex column container and moved the metadata/actions row outside the bubble container.
  • Adjusted sizing/alignment classes to keep the bubble fitting content while preserving the existing max width constraint.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move the time and action buttons outside of chat background

2 participants