Archived
feat(workspaces): refresh worktrees on browser resume
Call WorkspaceController.refreshSelectedProjectTopology() from the existing browser-resume refresh and the plugin-facing refreshAppData path, so worktrees created or removed outside PI WEB become visible with no user action. No new timer, watcher, process, or push channel; the resume path is already debounced per animation frame and collapses concurrent requests. Document the resume-scoped detection and the hiding of gone checkouts in the FAQ, and add the changeset for the user-visible behavior.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@jmfederico/pi-web": patch
|
||||
---
|
||||
|
||||
Pick up git worktrees created or removed outside PI WEB without any user action. The selected project's workspace list is re-read whenever the browser tab regains focus or becomes visible, on local and remote machines, keeping the current workspace, session, and scroll position untouched. Worktrees whose checkout directory no longer exists are hidden instead of being offered as selectable workspaces.
|
||||
Reference in New Issue
Block a user