feat: Add TICKET_PAGER support - #18
Merged
Merged
Conversation
alexander-akhmetov
marked this pull request as ready for review
January 19, 2026 12:12
Owner
|
Been meaning to do this. Thanks! |
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>
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.
Adds pager support for
tk showoutput. UsesTICKET_PAGERenv var, falls back toPAGER. For example with glow: