Skip to content

fix(platform): add horizontal padding to chat system messages#842

Merged
larryro merged 1 commit into
mainfrom
fix/chat-system-message-padding
Mar 24, 2026
Merged

fix(platform): add horizontal padding to chat system messages#842
larryro merged 1 commit into
mainfrom
fix/chat-system-message-padding

Conversation

@larryro
Copy link
Copy Markdown
Collaborator

@larryro larryro commented Mar 24, 2026

Summary

  • Adds px-4 horizontal padding to system messages (error/warning) in chat so they align with other message content

Test plan

  • Verify system messages (error and warning) display with correct horizontal padding
  • Confirm alignment is consistent with other chat message types

Summary by CodeRabbit

  • Style
    • Improved visual spacing for warning and error system messages in the chat interface by enhancing padding.

Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 24, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: de99922e-35ef-44b9-9961-393a01399c1e

📥 Commits

Reviewing files that changed from the base of the PR and between f0e034e and a37f584.

📒 Files selected for processing (1)
  • services/platform/app/features/chat/components/chat-messages.tsx

📝 Walkthrough

Walkthrough

The pull request modifies the styling of short system messages in the chat component. Specifically, for system messages with systemMessageDisplay set to warning or error, the container styling is updated to include horizontal padding (px-4) in addition to the existing vertical padding (py-1). This adjustment affects only the warning and error message branches; all other message rendering logic and paths remain unchanged.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and specifically describes the main change: adding horizontal padding to chat system messages, which matches the file summary.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/chat-system-message-padding

Comment @coderabbitai help to get the list of available commands and usage tips.

@larryro larryro merged commit 8af8457 into main Mar 24, 2026
17 checks passed
@larryro larryro deleted the fix/chat-system-message-padding branch March 24, 2026 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant