With the ticket suggested, the rest of the line was still typed blind. The prompt now completes everything fish does: the verb and the verbs of a group, the five statuses, the tags the board carries, the campaigns a codename resolves against, and relate --clear's three kinds. `ticket_argument` becomes `argument_at`, which answers what a position names rather than whether it is a ticket. The tables say Ticket, Campaign or Tag; clap says the rest, so the verbs, the statuses, `set --clear`'s fields and the `completions` shells are never written down twice. Only `relate --clear` needed a table of its own: the flag takes a kind and then a target, so possible values on it would refuse every target. The row draws the longest opening every candidate agrees on, which is exactly what the next tab takes. One rule for one candidate and for many: a ticket position has only the selected card, so the rest of its id is drawn as before; the five statuses agree on nothing, so nothing is drawn and tab steps through them one press at a time. The walk holds the line as it stood before the first press, not the list and not the candidate the last press chose, so every press re-derives the candidates and stepping cannot narrow them to what it just typed. Every edit ends it, beside `refused` and for the same reason. 193f9be is not inherited: `tags set` is offered only the tags the vocabulary declares, and `tags add` and both `--tags` that take the whole list are offered nothing. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
25 lines
702 B
TOML
25 lines
702 B
TOML
[package]
|
|
name = "worklane"
|
|
version = "0.33.4"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
clap = { version = "4", features = ["derive"] }
|
|
anyhow = "1"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
libc = "0.2"
|
|
# unstable-rendered-line-info for Paragraph::line_count, which is how the detail view
|
|
# knows where its text ends. Counting the wrapping by hand would only agree with the
|
|
# widget until one of us changed.
|
|
ratatui = { version = "0.29", features = ["unstable-rendered-line-info"] }
|
|
crossterm = "0.28"
|
|
clap_complete = "4.6.9"
|
|
serde = { version = "1", features = ["derive"] }
|
|
toml = "0.8"
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2"
|
|
assert_fs = "1"
|
|
tempfile = "3"
|