Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

Summary

Makes the "Queued" indicator that appears below queued messages clickable. When clicked, it interrupts the current stream and immediately sends the queued message.

Changes

  • Backend: Added sendQueuedImmediately option to interruptStream IPC. When set, the queued message is sent instead of being restored to the input box.
  • Frontend: Made the "Queued" label a clickable button with:
    • Hover underline effect
    • Tooltip: "Click to send immediately"
    • Disabled state while processing

Behavior

  1. User sends a message while assistant is streaming → message is queued
  2. "Queued" indicator appears below the queued message
  3. On hover: underline appears, tooltip shows
  4. On click: current stream is interrupted, queued message is sent immediately
  5. Button is disabled during the operation to prevent race conditions

Generated with mux

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

- Add sendQueuedImmediately option to interruptStream IPC
- Make QueuedMessage 'Queued' label clickable when stream is active
- Add hover underline effect and tooltip explaining the action
- Clicking interrupts the current stream and sends the queued message

_Generated with mux_
@ammar-agent ammar-agent force-pushed the clickable-queued-indicator branch from 937a767 to 5168b46 Compare December 2, 2025 16:37
Tests that interrupting with sendQueuedImmediately:true sends the
queued message instead of restoring it to the input box.
@ammar-agent ammar-agent force-pushed the clickable-queued-indicator branch from 33f5ce3 to d2abbad Compare December 2, 2025 17:07
@ammario ammario merged commit 526e770 into main Dec 2, 2025
13 checks passed
@ammario ammario deleted the clickable-queued-indicator branch December 2, 2025 17:26
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