alexilyaev / runrun-cli

Delightful interactive CLI to quickly run npm scripts.
MIT License
16 stars 0 forks source link

UX Suggestion: Reset selected choice on search updates #12

Open alexilyaev opened 4 years ago

alexilyaev commented 4 years ago

Reproduce

Given:

"start:app-admin": "APP_VARIANT=app-admin npm run start",
"start:app-viewer": "APP_VARIANT=app-viewer npm run start",
"build:app-viewer:staging": "APP_VARIANT=app-viewer npm run build",
"build:app-viewer:prod": "APP_VARIANT=app-viewer npm run build",
"deploy:app-viewer:staging": "npm run lint-and-test && npm run build:app-viewer:staging",
"deploy:app-viewer:prod": "npm run lint-and-test && npm run build:app-viewer:prod",
  1. Search for view
  2. Press Down until highlighting build:app-viewer:prod
  3. Add to search sta

Actual

deploy:app-viewer:prod is highlighted.

Expected

Should reset the selection on search updates.

alexilyaev commented 4 years ago

@julienben Keeping you in the loop.