Skip to content

Ability to pin new/in-progress worktree #696

Description

@aaadotpm

What problem does this solve?

Hello! First off. Thanks for making this great app, and pushing the envelope of modern mac development, in public. Hats off! this is great as a tool and a learning resource! 🙏 🙇


I often find myself wanting to pin a worktree that I've just started creating, this isn't possible until the worktree has finised setting up which may be anywhere from 20 sec on a small project, to minutes on a large project.

I often switch to another worktree to continue working while it is preparing the new one, and when I go back to the sidebar to see if it's done, it is no longer in the active list, and may be buried deep in a nested branch name structure.

Sometimes I can't remember the exact name and I have to read through the list to find it and pin it!

I am happy to take a look at this, but I know you prefer a human written issue than a random person's pull request.

For the record I work on about 7–10 repos in Supacode, with anywhere from 2 to 20 worktrees each.

Proposed solution

Add Pin Worktree menu item to the "in-progress worktree" context menu.

Alternatives considered

Another option could be to keep recently created worktrees in its own section, like "In progess/New" but this feels like unnecessary overhead for simpler workflows where people don't lose track of their worktrees.

Supacode version

Version 0.10.6 (1783877721)

Are you planning to build this yourself?

  • I intend to open a pull request once this is approved and marked ready.
  • I could open a pull request once this is approved and marked ready

Before submitting

  • I searched existing issues and this is not a duplicate.
  • I understand feature pull requests are closed until the issue is marked ready.
  • I agree to follow this project's Code of Conduct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestreadyApproved for a pull request. Added by a maintainer once an issue is triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions