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 afa678c.

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: 589fd18c-777b-477f-b12a-71e1cd68b90e

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
📝 Coding Plan
  • Generate coding plan for human review comments

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.

Tip

You can customize the high-level summary generated by CodeRabbit.

Configure the reviews.high_level_summary_instructions setting to provide custom instructions for generating the high-level summary.

@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.

@maria-rcks maria-rcks added the enhancement Requested improvement or new capability. label Mar 15, 2026
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.
@dbalders dbalders force-pushed the message-footer-cleanup branch from 823c24a to afa678c Compare March 15, 2026 23:20
@github-actions github-actions bot added the size:M 30-99 changed lines (additions + deletions). label Mar 15, 2026
@dbalders
Copy link
Contributor Author

Rebased onto latest main and reapplied the same UI change into MessagesTimeline instead of ChatView.

@maria-rcks maria-rcks added needs-julius accepted feature request accepted and removed vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Mar 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted feature request accepted enhancement Requested improvement or new capability. needs-julius size:M 30-99 changed lines (additions + deletions).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move the time and action buttons outside of chat background

3 participants