Hide the worktree × on mobile (#57) #58

Merged
pedromcaraujo merged 1 commit from mobile-hide-worktree-close into main 2026-11-12 06:51:59 +00:00

Summary

  • In the mobile layout (≤700px), hide the × on worktree pills. It was easy to hit by accident and closed clean worktrees with no confirmation.
  • On mobile, worktrees are now closed from the palette: "Close worktree " or "Prune worktrees". Desktop is unchanged and keeps its hover-only ×.

Closes #57

Test plan

  • On a phone, worktree pills show no ×, and tapping a pill switches to that worktree
  • The palette's "Close worktree" still closes the current worktree
  • On desktop, the × still appears on hover
## Summary - In the mobile layout (≤700px), hide the × on worktree pills. It was easy to hit by accident and closed clean worktrees with no confirmation. - On mobile, worktrees are now closed from the palette: "Close worktree <name>" or "Prune worktrees". Desktop is unchanged and keeps its hover-only ×. Closes #57 ## Test plan - [ ] On a phone, worktree pills show no ×, and tapping a pill switches to that worktree - [ ] The palette's "Close worktree" still closes the current worktree - [ ] On desktop, the × still appears on hover
Hide the worktree × on mobile; close from the palette instead (#57)
All checks were successful
CI / check (pull_request) Successful in 2m21s
228f28da01
On a phone the always-visible × sat at the edge of each worktree pill, so
taps meant to switch sessions closed them. Closes #57.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pedromcaraujo/forge!58
No description provided.