Skip to content

Share Send behavior between Home and chat #140

Closed

Description

@m4rocks

Use a shared Send button on the right of the Home and chat composers.

  • Disable Send for empty and whitespace-only messages.
  • Make Enter use the same eligibility check.
  • Prevent an empty submission from queuing a launch while a worktree is being created.
  • Refresh button state as the draft changes.
  • Add a regression check for empty Home submissions.

Home and chat share the Send control and empty-message check. Enter and clicking Send use the same path. A regression test covers empty and whitespace-only Home submissions, including a pending worktree launch.

Validation: cargo build --locked; cargo test --locked --quiet -- --test-threads=1 (454 passed, 31 ignored); cargo clippy --locked --all-targets -- -D warnings; git diff --check. Plugin tests: claude plugin test mod (29 passed). Changes are uncommitted.

Activity

  1. m4rocks commented on Nov 23, 2026

    @m4rocks
    OwnerAuthor

    Done in #145; every item is in main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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