Skip to content

Add back navigation and 30-day pre-selection to TUI - #2

Merged
damianh merged 2 commits into
mainfrom
damianh-gh-package-manager-cli
Aug 8, 2026
Merged

Add back navigation and 30-day pre-selection to TUI#2
damianh merged 2 commits into
mainfrom
damianh-gh-package-manager-cli

Conversation

@damianh

@damianh damianh commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Why

Follow-up UX improvements to the ghpkg interactive TUI (#1), driven by usage on long package lists.

What

  • Back navigation in every menu. Spectre.Console prompts cannot intercept the Escape key, so each menu now has explicit (back) / (quit) entries: scope -> quit, org selector -> back to scope (manual entry accepts empty input to go back), type -> back to scope, package list -> back to type or quit, version pre-select -> back to package list. The flow is restructured as a small state machine; menus fixed via CLI flags (--owner, --type) are skipped when navigating back.
  • "Older than 30 days" pre-selection option in the version multi-select, alongside None / All / Prerelease only. Versions created before the cutoff are pre-checked and can be fine-tuned before confirming.

Validation

Clean Release build; interactive flows exercised locally.

damianh and others added 2 commits August 8, 2026 17:08
Spectre.Console prompts cannot intercept Escape, so each menu now has
explicit (back)/(quit) entries: scope -> quit, org selector -> back to
scope, type -> back to scope, package list -> back to type or quit,
version pre-select -> back to package list. Flow is restructured as a
state machine. CLI-fixed values (--owner/--type) are skipped in back
navigation.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@damianh
damianh merged commit 929cdb3 into main Aug 8, 2026
1 check passed
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.

1 participant