Skip to content

[Bug] Todo dock persists after all todos are completed #323

@Astro-Han

Description

@Astro-Han

What happened?

When all todos in a session reach a terminal state (completed or cancelled), the todo dock at the top of the composer remains visible indefinitely instead of disappearing. It becomes a persistent UI element that no longer serves a purpose.

This is the third iteration of this area (see #297 and #321). The root cause is that the visibility logic was intentionally simplified in #297 to todos().length > 0, which removed any awareness of completion status. The dock now stays visible as long as the backend sends a non-empty todo array, regardless of whether every item is done.

Steps to reproduce

  1. Start a session that generates todos (e.g., ask the agent to perform a multi-step task).
  2. Wait for all todos to complete (or cancel).
  3. Observe that the todo dock remains visible with all items struck through.

What did you expect to happen?

The todo dock should automatically hide after a short delay once all todos are in a terminal state, so the composer returns to a clean state.

PawWork version

v0.2.2

OS version

macOS 15.4.1

Can you reproduce it again?

Yes, every time

Screenshots, recordings, or extra context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions