Skip to content

fix(vscode): remove copy button and improve spacing for user messages - #1120

Open
Shreya657 wants to merge 2 commits into
Nano-Collective:mainfrom
Shreya657:fix/user-message-spacing
Open

fix(vscode): remove copy button and improve spacing for user messages#1120
Shreya657 wants to merge 2 commits into
Nano-Collective:mainfrom
Shreya657:fix/user-message-spacing

Conversation

@Shreya657

@Shreya657 Shreya657 commented Sep 1, 2026

Copy link
Copy Markdown

Description

Closes #1093

Fixes the cramped and visually awkward layout of user messages in the VS Code chat panel, especially for short prompts such as hi.

This implements the proposed changes from the issue:

  • Removes the copy button from user messages while keeping it available for assistant messages.
  • Increases the spacing between the user message bubble and its timestamp.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Changeset

  • Added a changeset (pnpm changeset) describing this change for the changelog

Docs-only or internal chores need no changeset (or run pnpm changeset --empty to note that intentionally).

This is a small VS Code UI improvement with no user-facing API or behavior changes.

Changes

  • Removed the copy button from user messages since users generally don't need to copy their own prompts.
  • Increased the spacing between the user message bubble and its timestamp from mt-1 to mt-2.
  • Kept the copy button for assistant messages.

Testing

Automated Tests

  • New features include passing tests in .spec.ts/tsx files
  • All existing tests pass (pnpm test:all completes successfully)
  • Tests cover both success and error scenarios

Manual Testing

  • Verified the VS Code chat panel UI locally.
  • Verified that user messages no longer display the copy button.
  • Verified that assistant messages still display the copy button.
  • Verified the increased spacing below user messages, including short prompts.
  • Tested with Ollama
  • Tested with OpenRouter
  • Tested with OpenAI-compatible API
  • Tested MCP integration (if applicable)

Checklist

  • If this was for an open issue, I was assigned to it
  • Code follows project style guidelines
  • Self-review completed
  • Documentation updated (if needed)
  • No breaking changes (or clearly documented)
  • Appropriate logging added using structured logging (see CONTRIBUTING.md)

@github-actions github-actions Bot added the area:vscode VS Code extension and host integration label Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:vscode VS Code extension and host integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Improve spacing and remove copy button for user messages in VS Code chat panel

1 participant