Skip to content

Add fuzzy autocomplete to account selection prompt#296

Merged
TheMrTeapot merged 3 commits intomasterfrom
autocomplete
Feb 25, 2026
Merged

Add fuzzy autocomplete to account selection prompt#296
TheMrTeapot merged 3 commits intomasterfrom
autocomplete

Conversation

@TheMrTeapot
Copy link
Contributor

Replace the static inquirer list with inquirer-autocomplete-prompt so users can type to filter accounts in real-time using fuzzy matching rather than scrolling through the full list.

Change Log Items

  • A short note to be used in a change log

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Rally:

Replace the static inquirer list with inquirer-autocomplete-prompt so
users can type to filter accounts in real-time using fuzzy matching
rather than scrolling through the full list.
@DevOpsDave DevOpsDave added the release/patch Indicates an update without breaking changes or new features label Feb 25, 2026
Copy link
Contributor

@samsolaimani samsolaimani left a comment

Choose a reason for hiding this comment

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

All 364 tests pass including the 8 in promptForAlksAccountAndRole.test.ts. This code addition looks good. allChoices is built once, at prompt-creation time, rather than per keystroke, the source function correctly treats both undefined, plus empty string as "show all," and the new test cases cover the key filter scenarios well. This is good to merge!

@TheMrTeapot TheMrTeapot merged commit 6badc60 into master Feb 25, 2026
5 checks passed
@TheMrTeapot TheMrTeapot deleted the autocomplete branch February 25, 2026 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/patch Indicates an update without breaking changes or new features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants