Skip to content

Align select hints and disable filtering#29

Merged
jclusso merged 1 commit into
masterfrom
align-select-hints
Jun 2, 2026
Merged

Align select hints and disable filtering#29
jclusso merged 1 commit into
masterfrom
align-select-hints

Conversation

@jclusso
Copy link
Copy Markdown
Member

@jclusso jclusso commented Jun 2, 2026

Cleans up the interactive select prompts.

  • Aligned hints — option labels are padded to a common width so the dimmed hint text renders as an aligned column instead of trailing each label with a fixed two-space gap.
  • No filtering — the / filter binding is disabled on selects, scoped to ui.Select (leaving the shared input/confirm keymap untouched). None of the current menus have enough options to warrant searching.
  • Skill wizard — the install path now lives in the hint column instead of being parenthesized inside the option label.

Pad option labels to a common width so the dimmed hint text lines up in a column instead of trailing each label raggedly.

Disable the "/" filter binding on selects — none of the current menus have enough options to warrant searching.

In the skill install wizard, move the install path into the hint column rather than parenthesizing it inside the option label.
Copilot AI review requested due to automatic review settings June 2, 2026 18:35
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refines interactive select prompts in the CLI UI by aligning hint text into a consistent column and disabling select filtering/search behavior. It also updates the skill installation wizard menu to move install paths into the hint column for cleaner option labels.

Changes:

  • Pad select option labels to a shared width so dimmed hints render in an aligned column.
  • Disable select filtering (including the / filter binding) within ui.Select.
  • Update the skill wizard choices to show the install path as a hint instead of embedding it in the label.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
internal/ui/select.go Aligns hint rendering via label padding and disables select filtering/search keybinding.
cmd/skill.go Moves skill target install paths from label text into the select hint column.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jclusso jclusso merged commit fc04e9a into master Jun 2, 2026
4 checks passed
@jclusso jclusso deleted the align-select-hints branch June 2, 2026 18:52
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