Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add ability to edit queued messages with pause for top item #129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1code-async wants to merge 1 commit into main
base: main
Choose a base branch
Loading
from feat/edit-queued-messages

Conversation

@1code-async
Copy link
Contributor

@1code-async 1code-async bot commented Jan 29, 2026

Summary

  • Adds the ability to edit queued messages before they are sent
  • Automatically pauses queue processing when editing the first item in the queue to prevent the message from being sent while being modified
  • Resumes processing automatically when the edit dialog is closed (save or cancel)

Changes

  • message-queue-store.ts: Added updateQueueItem, setEditingItem, and isItemEditing functions to track and update queue items being edited
  • edit-queued-message-dialog.tsx: New dialog component for editing queued message text with keyboard shortcuts (Cmd/Ctrl+Enter to save, Escape to cancel)
  • queue-processor.tsx: Added logic to pause processing when the first queue item is being edited, with subscription to editing state changes
  • agent-queue-indicator.tsx: Added edit button (pencil icon) to each queue item row
  • active-chat.tsx: Passed subChatId prop to AgentQueueIndicator for edit dialog context

Test plan

  • Queue multiple messages while the agent is streaming
  • Click edit icon on a queued message to open edit dialog
  • Verify that editing the first item in queue shows "Queue processing is paused while editing" message
  • Verify that editing items not at the front of the queue shows "Edit the message before it's sent" message
  • Make changes and click Save - verify the queued message is updated
  • Click Cancel or press Escape - verify no changes are made
  • Verify queue processing resumes after closing the edit dialog

🤖 Generated with Claude Code

Implements ENG-583: Users can now edit queued messages before they are sent.
When editing the first item in the queue, processing is automatically paused
to prevent the message from being sent while being edited.
Changes:
- Add updateQueueItem, setEditingItem, isItemEditing to message-queue-store
- Add EditQueuedMessageDialog component for editing message content
- Update QueueProcessor to pause when editing first queue item
- Add edit button (pencil icon) to queue item rows in AgentQueueIndicator
- Pass subChatId to AgentQueueIndicator for edit dialog context
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

0 participants

AltStyle によって変換されたページ (->オリジナル) /