Skip to content

feat: add bubble chat layout with right-aligned user messages - #9

Merged
avoidwork merged 1 commit into
mainfrom
feat/bubble-chat-layout
May 24, 2026
Merged

feat: add bubble chat layout with right-aligned user messages#9
avoidwork merged 1 commit into
mainfrom
feat/bubble-chat-layout

Conversation

@avoidwork

@avoidwork avoidwork commented May 24, 2026

Copy link
Copy Markdown
Owner

Description

Adds a chat-bubble style layout for the conversation panel. User messages now appear on the right side with green borders, while assistant messages stay on the left with cyan borders. Removes the redundant separator lines between messages.

Type of Change

  • Bugfix
  • New feature
  • Breaking change
  • Documentation update
  • Refactor
  • Performance improvement
  • CI / build / tooling

Testing

Ran npm run test — 221/221 tests pass. Added "TUI - bubble style" suite in tests/unit/tui.test.js with assertions for user, assistant, and system roles.

Coverage

  • 100% line coverage maintained

Checklist

  • npm run lint passes
  • Tests pass with 100% line coverage
  • No forbidden patterns used
  • Conventional Commit style applied

Add bubble-style rendering for conversation messages with:
- User messages aligned to the right (flex-end), assistant messages to the left
- Round border styling per role (green for user, cyan for assistant, yellow for system)
- Removed redundant separator lines between messages
@avoidwork avoidwork self-assigned this May 24, 2026
@avoidwork
avoidwork merged commit d48ccb0 into main May 24, 2026
@avoidwork
avoidwork deleted the feat/bubble-chat-layout branch May 24, 2026 23:16
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