Repository navigation
feat: save a program line under a name and pick it when starting a thread - #129
Merged
Merged
Conversation
…picker A program line can be saved under a short name, such as Claude, careful. It is listed by name in the new thread picker and the project default, pinned ones first. kg program save, rename, remove and pin change it.
# Conflicts: # .config/size-budget.txt # crates/core/src/host/program.rs # crates/core/src/tests/program.rs # crates/domain/src/lib.rs # crates/domain/src/program.rs # crates/kg/src/tests/cli.rs # crates/store/src/store.rs # crates/ui/src/kagan/picker/render.rs # docs/behaviour.md # docs/decisions.md
…tices Pin, rename, delete and save have keys on the selected saved program. Rows and the project default menu key saved programs by name, and the menu marks only the first row that runs a stored line. A rename checks the source name first, and a saved line is stored trimmed. The notice clears when a field changes. The picker keeps its handle from the start.
# Conflicts: # .config/size-budget.txt # docs/decisions.md
The saved program test compared a label that gains ', selected' on the selected row, and which row is selected depends on the agents a machine has installed. It now checks the name. The branch search test clicked a control below the fold: the custom command's Name and Save rows made the start form taller than a short window. It scrolls the form first, as a person would. The wait helper reports its caller.
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.
Branch feat/saved-programs.
Reviewed by a fresh reviewer, fixed, and re-checked (SHIP). Gate: fmt, clippy -D warnings, workspace tests, scripts.