Skip to content

fix(app): confirm removing projects, and explain why a folder can't open or initialize - #574

Merged
iamnbutler merged 2 commits into
mainfrom
fix-projects
Oct 22, 2026
Merged

iamnbutler merged 2 commits into
mainfrom
fix-projects

Conversation

@iamnbutler

Copy link
Copy Markdown
Contributor

Projects fixes from the Ace map (decided in Q100–Q103). Map ids: ^346 ^348 ^303 ^312 ^313 ^343 ^351 ^352.

  • Remove project (^346, ^348, Q100): asks first with a Don't ask again checkbox, and is offered from the project picker (× and Delete on each of this host's projects), the project's Channels header (⋯ → Remove project…, and right-click), and All Projects.
  • Open a folder (^303, Q102): relative paths are refused with Enter a full folder path, such as ~/code/project; a missing path says There's no folder at <path>. Check the path. instead of ENOENT … lstat.
  • Initialize Git (^312, ^313, Q103): success toasts Initialized Git; a folder that already has a .gitignore gets a card saying to run git init and commit it yourself, with no Initialize Git button.
  • Collapsed groups (^343): sidebar group collapse, including All Projects' project headers, survives a reload.
  • Share project (^351, ^352, Q101): hidden until this host has joined a team directory.

Smoked on an isolated loopback host (port 4433) with headless Playwright: each error message, the toast and commit, the .gitignore card, picker and Channels ⋯ removal with confirmation, Don't ask again skipping the dialog, collapse after reload, and Share project absent from ⋯ with no directory for a folder whose access is their folder.

Built in Ace

No. Built by Claude Code (fix train worker) outside Ace, editing in a lane and smoking with headless Playwright against an isolated host; Ace has no unattended multi-agent queue runner for this. See #5.

…pen or initialize

- Remove project asks first, with Don't ask again, and is offered from the project picker and the
  project's Channels header (⋯ and right-click) as well as All Projects.
- Open a folder rejects relative paths and says when no folder is at a path, instead of ENOENT.
- Initialize Git confirms with a toast, and a folder that already has a .gitignore says on the card
  to commit it by hand instead of offering a button that fails.
- Collapsed sidebar groups, including All Projects' project headers, survive a reload.
- Share project is hidden until this host has joined a team directory.

Why: apps/host/src/projects.ts#function open | open accepts only absolute or ~ paths; a relative one would resolve against Ace Helper's working directory
@iamnbutler
iamnbutler merged commit 6e8bbc7 into main Oct 22, 2026
1 check passed
@iamnbutler
iamnbutler deleted the fix-projects branch October 22, 2026 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant