Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend multi-step user input lib to support selection lists #76

Open
maninak opened this issue Sep 20, 2023 · 0 comments
Open

Extend multi-step user input lib to support selection lists #76

maninak opened this issue Sep 20, 2023 · 0 comments
Labels
enhancement New feature extending the app's current capabilities

Comments

@maninak
Copy link
Collaborator

maninak commented Sep 20, 2023

Previously we developed a utility called askUser() allowing us to create multi-step text user inputs.

While the current solution wraps the native InputBox API, it still doesn't support the native QuickPick API which lets the user pick an item from a list of items. Without it, we cannot augment the UX of our Troubleshooting flow (going back to select another answer, cleaner code, etc) and we also won't have it ready to use when we'll definitely need it in the future.

Luckily the existing architectural design already accounts for this future expansion (in reality development of the feature was cut short due to time constraints).

Acceptance Criteria:

  1. askUser() accepts Question definitions where kind can additionally have the value 'single-select' or 'multi-select' corresponding to the QuickPick.canSelectMany option
  2. existing uses of the QuickPick API across the codebase are replaced with askUser()
@maninak maninak converted this from a draft issue Sep 20, 2023
@maninak maninak added the enhancement New feature extending the app's current capabilities label Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature extending the app's current capabilities
Projects
Status: 🆕 Backlog
Development

No branches or pull requests

1 participant