(00a14e7) Suggest the selected ticket where a ticket argument goes, and accept it with tab, and bump to 0.33.3
The reader has the ticket selected, which is the whole reason to type a command on the board rather than in a shell, so where the line is naming a ticket the selected card's short id is drawn after the cursor in grey and tab takes it into the line. Where a ticket goes is completions.rs's answer, through a new `ticket_argument` over the three tables the fish half is generated from. A copy of the positions on the board would go wrong the next time a command grew a ticket argument, and silently, since the tests guarding the first copy would not read the second. TICKET_FLAGS holds (command, flag) pairs now, the shape TAG_FLAGS already had, and the `chown --clear` rule the fish block wrote out by hand is generated from it. Only chown's --clear names a ticket: relate's takes a kind and set's a field, and the flag alone cannot tell the three apart. The suggestion is derived on every call rather than held on the Prompt, so what the row draws and what tab takes are one answer, and it is offered only with the cursor at the end of the line, while a card is selected, and while the id still starts with what is typed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
a017f9002e
commit
c714c73a75
Generated
+1
-1
@@ -1563,7 +1563,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "worklane"
|
||||
version = "0.33.2"
|
||||
version = "0.33.3"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"assert_cmd",
|
||||
|
||||
Reference in New Issue
Block a user