Skip to content

feat: Add TICKET_PAGER support - #18

Merged
wedow merged 1 commit into
wedow:masterfrom
alexander-akhmetov:pager
Jan 28, 2026
Merged

feat: Add TICKET_PAGER support#18
wedow merged 1 commit into
wedow:masterfrom
alexander-akhmetov:pager

Conversation

@alexander-akhmetov

Copy link
Copy Markdown
Contributor

Adds pager support for tk show output. Uses TICKET_PAGER env var, falls back to PAGER. For example with glow:

image

@alexander-akhmetov
alexander-akhmetov marked this pull request as ready for review January 19, 2026 12:12
@wedow

wedow commented Jan 28, 2026

Copy link
Copy Markdown
Owner

Been meaning to do this. Thanks!

@wedow
wedow merged commit bdceb1b into wedow:master Jan 28, 2026
1 check passed
nickolay-kondratyev added a commit to Thorg-App/note-ticket that referenced this pull request Jul 30, 2026
Flips 'dep' whole into TS_COMMANDS, so cmd_dep's internal tree/cycle
delegation is now dead. The TS_DEP_SUBCOMMANDS= assignment stays: the parity
harness demands exactly one assignment per delegation variable, and a comment
now records that coupling.

Add/remove/membership rules for both id arrays live in one core class,
src/core/ticket-relations.ts, sharing Ticket.arrayField with deps/links/tags.

Divergences wedow#13-wedow#18 declared, each with a positive TS-side pin -- an inverted
parity case asserts only that the two sides differ, so it can never pin what
TS does. Notably bash 'dep'/'undep' on a ticket with no deps: field exits 1
printing nothing (a failing yaml_field pipeline under set -euo pipefail), and
removal is now by exact array element rather than substring, which bash
corrupted when one id contained another.

'link a a' is refused while 'dep a a' still records a self-edge: a self
dependency is a graph error dep cycle reports, a self link is inert. That
asymmetry is deliberate and awaiting a human call in
nid_r3mp6uylht7t77iwxtuqvhxv2_e.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants