Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

Simplified chat input UX by removing manual resize dragger in favor of auto-growing textarea based on content.

Changes

VimTextArea:

  • Changed max-height from 200px to 50vh
  • Updated auto-resize logic to use window.innerHeight * 0.5

ChatInput:

  • Removed ResizeHandle component and all drag logic
  • Updated focusMessageInput and editingMessage effects to use 50vh max

Result

Input grows naturally as you type, scrolls when content exceeds 50% of viewport height. No manual resizing needed - much simpler UX.

Generated with cmux

Simplified chat input UX by removing manual resize dragger in favor of
auto-growing textarea based on content.

Changes:
- VimTextArea: max-height 200px → 50vh
- Auto-resize logic now uses window.innerHeight * 0.5
- Removed ResizeHandle component and all drag logic
- Updated focusMessageInput and editingMessage effects

Result: Input grows naturally as you type, scrolls at 50% viewport height.
No manual resizing needed.
Copy link
Member

@ammario ammario left a comment

Choose a reason for hiding this comment

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

tested manually -- looks good

@ammario ammario added this pull request to the merge queue Oct 9, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 9, 2025
@ammario ammario added this pull request to the merge queue Oct 9, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 9, 2025
@ammario ammario added this pull request to the merge queue Oct 9, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 9, 2025
@ammario ammario added this pull request to the merge queue Oct 9, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 9, 2025
@ammario ammario enabled auto-merge October 9, 2025 18:46
@ammario ammario added this pull request to the merge queue Oct 9, 2025
Merged via the queue into main with commit 71f10a7 Oct 9, 2025
6 checks passed
@ammario ammario deleted the expand-chat branch October 9, 2025 18:59
ammario pushed a commit that referenced this pull request Oct 30, 2025
Adds optional URL parameter to `status_set` tool for linking to external
resources (e.g., Pull Request URLs).

When URL is provided:
- Stored with agent status until replaced
- Displayed in status tooltip
- Emoji becomes clickable, opens URL in new tab

```typescript
status_set({
  emoji: "🔗",
  message: "PR #123 submitted",
  url: "https://github.com/owner/repo/pull/123"
});
```

_Generated with `cmux`_
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.

2 participants