Skip to content

fix: composer keyboard behavior and allow sending while agent is running#422

Merged
tiann merged 1 commit intotiann:mainfrom
mrrnb:fix/composer-keyboard-and-send
Apr 9, 2026
Merged

fix: composer keyboard behavior and allow sending while agent is running#422
tiann merged 1 commit intotiann:mainfrom
mrrnb:fix/composer-keyboard-and-send

Conversation

@mrrnb
Copy link
Copy Markdown
Contributor

@mrrnb mrrnb commented Apr 9, 2026

  • Enter no longer inserts newline when sending is blocked (no-op instead)
  • Shift+Enter now inserts newline (standard convention)
  • Allow appending messages while agent is running (remove threadIsRunning gate from canSend) — matches Claude Code CLI behavior where users can queue messages during execution

- Enter no longer inserts newline when sending is blocked (no-op instead)
- Shift+Enter now inserts newline (standard convention)
- Allow appending messages while agent is running (remove threadIsRunning
  gate from canSend) — matches Claude Code CLI behavior where users can
  queue messages during execution
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Findings

  • No actionable issues found in the added/modified lines.

Summary

  • Review mode: initial
  • No diff-attributed correctness, security, or regression issues found.
  • Residual risk: web/src/components/AssistantChat/HappyComposer.tsx still has no focused keyboard-behavior test coverage for Enter/Shift+Enter or send-while-running.

Testing

  • Not run (automation environment missing bun). Existing web tests do not appear to cover HappyComposer keyboard behavior.

HAPI Bot

@tiann tiann merged commit f1daed8 into tiann:main Apr 9, 2026
2 checks passed
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