display_ticket_items printed both fields raw, so a ticket with no due date showed _Not set_ in the default foreground. show already honoured the guideline through colorize_metadata, leaving the listing as the one place that ignored it. Reuses is_unknown_value rather than matching the markers a second time. Grey is indexed colour 8 in the 256-colour form. Two SGR spellings were tried against a real terminal and both read as white: 90 leans on the palette's bright-black slot, and 37 can sit right on top of the default foreground. \x1b[38;5;8m is byte for byte what crossterm emits for ratatui's Color::DarkGray, which is the grey frig and pantop already use for dimmed rows, so this is the spelling known to render here. Pinned by a test and written down in AGENTS.md, since only an eye in a real terminal would catch it drifting back. Patch bump covering the three colour tickets, 9991698, 934bf1a and this one, as one body of work: nothing new, three places where output did not do what the guideline said. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
16 lines
303 B
TOML
16 lines
303 B
TOML
[package]
|
|
name = "worklane"
|
|
version = "0.1.2"
|
|
edition = "2024"
|
|
|
|
[dependencies]
|
|
clap = { version = "4", features = ["derive"] }
|
|
anyhow = "1"
|
|
uuid = { version = "1", features = ["v4"] }
|
|
chrono = { version = "0.4", features = ["serde"] }
|
|
|
|
[dev-dependencies]
|
|
assert_cmd = "2"
|
|
assert_fs = "1"
|
|
tempfile = "3"
|