Repository navigation
Ateam Go: swipe a task to archive or delete it, and a + for a new task in the sidebar - #576
Merged
Merged
Conversation
…k in the sidebar A task row on Home and a card on the Board slide left to uncover Archive (Restore on an archived one) and Delete, one open at a time. Delete is the desktop's: confirmed, the worktree and branch removed, and asked again when the box refuses because work would be lost. The phone now drops a task when its box says it was removed, from here or anywhere else. The wide-window sidebar gets a + beside Tasks that opens the board and hands the composer the keyboard, set to Task.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Ateam Go had no way to archive or delete a task: only box cards swiped. And in a wide window (iPad, landscape) the sidebar had a + for projects and loops but none for tasks, so with a terminal, Mission or Loops open there was no way to start one.
What
Swipe a task (Home rows, the sidebar's rows, Board cards): slide left to uncover two actions, one row open at a time, closed when the list scrolls or the row is tapped.
tasks.removewithdeleteBranch): the agent stops, the worktree and branch go. When the box refuses because of uncommitted or unmerged work, a second confirmation offers Delete anyway.The board follows removals. The phone never listened to
taskRemoved, so a task deleted or archived anywhere stayed listed until the next full read. It now drops the row and card, and closes that task's terminal if it was open.+ beside Tasks in the sidebar: opens the board, turns the composer's switch to Task and focuses it.
Notes
SwipeActions.tsxis a new shared row; the Boxes card keeps its own copy of the gesture (it also carries a tray), left untouched here.Checks
bun test srcinapps/mobile: 164 pass (2 new intask-refusals.test.ts)tsc --noEmitinapps/mobile: cleanbiome checkon the changed files: clean, except the import order inHomeScreen.tsxthat main already has