Repository navigation
Closed
Labels
androidPrimary Android workenhancementNew feature or requestiosPrimary iOS workpriority: mediumNon-blocking V1 work and polish
Description
Let users remove an added project from the home Session List (the inverse of Add Project — a project can be added but never removed).
What to build
- A × on every project filter chip in the Session List dock.
- Tap × → confirm dialog ("Remove “X” from home? Its sessions stay on the server.") → Remove.
- Project leaves the dock and its sessions leave the time ladder; filter falls back to All; snackbar confirms.
- Removing the last project lands on the existing empty state.
- Pure client-side curation: drop the worktree from the persisted
addedWorktreeslist for the active server URL. No server API. Sessions stay on the server; re-adding the path restores it.
Scope decisions (from prototype)
- Session List home mode only. Project Session Selector is ignored for now.
- Winner: × on chips (prototype variant C). A (dock overflow) hard no; B (chip long-press) scrapped; D/E explored and rejected.
- Confirm dialog: destructive-primary (
OpenCodeDialoggets a destructive option) — confirm during implementation. - Persistence: new
removeWorktree(serverBaseUrl, worktree)onConnectionProfileStore(DataStore Android / UserDefaults iOS).
Prototype
- Artifact:
docs/features/remove-project/prototype/+ published URLs (see README/VERDICT). - Run:
npm run prototype:remove-project→ http://localhost:5182/?variant=C
Acceptance criteria
- × on each project filter chip (Session List dock) on iOS and Android
- Confirm dialog before removal; Remove is destructive-primary, Cancel dismisses
- Removing a project clears its sessions from the ladder and drops the filter to All
- Removing the last project shows the empty state
- Removal persists across app relaunch (re-add restores)
- Design-system: Filter Chip removable variant + gallery entry on both platforms
- Unit tests: ConnectionProfileStore removeWorktree, home view model removal, component render
Imported from Linear OPE-108. Linear status: Done. Priority: Medium. Created 2026-08-05. Completed 2026-08-05.
Related: OPE-160, OPE-156.
Metadata
Metadata
Assignees
Labels
androidPrimary Android workenhancementNew feature or requestiosPrimary iOS workpriority: mediumNon-blocking V1 work and polish
Activity