Skip to content

Chat input is cleared when a queued message is sent #7861

@hannesrudolph

Description

@hannesrudolph

Type

Bug

Problem

When a queued message is sent, any unsent text in the chatbox is wiped.

Context

Affects users who have messages queued (e.g., while approval is pending) and then type new text before the queue processes. When the queued item sends, the chatbox is cleared.

Reproduction

  1. Environment/setup (OS, VS Code version, Roo-Code extension version)
  2. Steps:
    a) Reach a state where sending is disabled and messages are queued (e.g., waiting for approval)
    b) Queue a message
    c) Type new text in the chatbox; do not send
    d) Wait for the queued message to send automatically
  3. Expected: Unsent text remains
  4. Actual: The chatbox is cleared

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions