[AE-1999] tix --mini: narrow-pane reverse-chrono reader#1
Merged
Conversation
Module-level helpers so mini.py can share the exact pager fallback and wt-spawn flow. App methods now thin wrappers; behavior unchanged.
Filters done/cancelled (case-insensitive over STATUS_META aliases), sorts by `created` desc with id tiebreak. Reuses tui.Ticket + parse_created for parity with tui's `created` sort mode.
`tix --mini` and `tix <project> --mini` both dispatch to the mini reader. Project resolution unchanged — flag is stripped after the positional pop.
Owner
Author
|
@claude review |
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.
Linear: https://linear.app/cartage/issue/AE-1999
Changed
tix --miniflag: flat reverse-chrono list of non-terminal tickets across$TICKETS_DIR, ↑/↓ + PgUp/PgDn/Home/End nav, Enter→pager,p→wtlane,q/Ctrl-C exit.src/tix/mini.py(new, ~150 LOC): curses loop + purebuild_rows()(filter done/cancelled, sortcreateddesc).open_in_pager()andpickup_ticket()to module scope insrc/tix/tui.pyso default tix and mini share one impl.src/tix/__main__.py: routes--mini(composes withtix <project>); flag stripped after positional pop.tests/test_mini.pyfor sort order, hide rules (incl. legacy title-case aliases), and CLI routing.Preserved
tixbehavior, key bindings, render hot paths, status frontmatter contract.claude_argv()via the shared helper — no bareclaudeinvocation.pyproject.tomlunchanged.created:fall back to fs birthtime (parity withtui.App.sort_within_groupcreatedmode).Test plan
pytest -qpasses (13 tests).tix --miniin ≥20-col pane lists newest first; ↑/↓ moves; Enter opens via glow/$PAGER;qexits cleanly.tix <project> --miniresolves project + launches mini.pon a non-active ticket spawnswt <slug>lane (orwt --ralphfor an epic).tix(no--mini) behaves identically to pre-PR — Enter,p, all key bindings unchanged.