Skip to content

fix(desktop): clear a steered follow-up card after it is consumed #4191

Description

@Sun-GLiang

What happened

When a user submits a follow-up while a turn is already running and chooses adjust direction immediately (steer), the follow-up is accepted and applied to the active turn. However, after the task finishes, the same follow-up still remains in the pending-message card above the composer, with Edit and Delete actions.

This leaves the UI showing the message as though it were still queued even though it has already been consumed. In the observed case, the follow-up asked Maka to comment take on a newly created issue. The comment was successfully posted and the final response confirmed it, but the follow-up card continued to display the same message.

Expected: once an immediate-direction adjustment has been accepted/consumed, its pending-message card should be cleared. After the task completes, no stale follow-up should remain above the composer.

How to reproduce

  1. Open a session in Maka Desktop.
  2. Submit a task that runs long enough to add another message while it is executing.
  3. While the task is running, submit a follow-up message.
  4. Choose adjust direction immediately rather than waiting for the current task to finish.
  5. Let the task consume the follow-up and finish.
  6. Confirm that the follow-up took effect and appears as accepted in the conversation/result.
  7. Observe that the same follow-up still remains in the pending-message card above the composer.

Environment

  • Maka commit: 6fca2f51e
  • OS and version: macOS 15.6
  • Surface: Desktop
  • Node.js version, if running from source: v24.19.0

Logs, screenshots, or additional context

The stale card displays the consumed follow-up with Edit and Delete controls after the final response has already confirmed that the requested action succeeded. This may incorrectly suggest that the message is still waiting to be sent.

Generated with assistance from Maka.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions