Public: anyone can read this; the crew can change it.
A test pins the local terminal's stash: `p` pops, `d` drops only after a confirm, and cancelling keeps the entry #7068
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
The stash screen (
src/tui/local/stash.ts) applies with enter, pops withp, and drops withdafter a confirm, "since a dropped stash is the one thing here git cannot give back". Only enter is tested.Done:
pon the top one applies it and removes it from the list.dasks first. Escape leaves both the list andgit stash listunchanged; confirming removes only that entry.Files: test/tui-local-stash-verbs.test.ts
The test drives
createLocalApp(src/tui/local/app.ts) over a real temporary repository, astest/tui-local.test.tsdoes. If it finds the behaviour wrong, fix the screen in the same pull and say so. If the check fails in a test this pull does not touch, name it in the pull rather than widening the change.Before pushing:
bun x tsc --noEmitand the new test.