Repository navigation
feat: saved prompts you can star, search and send into a thread - #123
Merged
Merged
Conversation
A person can keep a title and a body, search it, and star it, then paste it through the same path as thread send.
A saved prompt is stored text the person can send, not a question waiting for an answer.
…ee bodies, add list keys A saved prompt now names its thread: `SavedPromptOp::Send` takes a thread id that the CLI reads from KG_THREAD_ID, and the window passes the thread it shows. Core no longer keeps a copy of the shown thread. The saved-prompt chord moves from Shift+G, which collided with Next match off macOS, to Shift+I. A body of only control characters is refused on Add, the same as a send. Star, delete, new and save get keys on the list, and Escape drops a draft before it closes the list. The Save key is Cmd+Alt+S because the text box binds Cmd+Enter itself. A new key does not replace a draft that has text in it. The docs say send, not paste, and say Enter is pressed. The branch's decision is renumbered to 231.
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-prompts.
Reviewed by a fresh reviewer, fixed, and re-checked (SHIP). Gate: fmt, clippy -D warnings, workspace tests, scripts.