yo icon indicating copy to clipboard operation
yo copied to clipboard

Update individual generators from the menu

Open sindresorhus opened this issue 9 years ago • 8 comments

screen shot 2014-08-16 at 00 30 26

When an update is available. Would be nice. Thoughts?

I think we can use https://github.com/TooTallNate/keypress to get the space keypress event.

@yeoman/yeoman-contributors

sindresorhus avatar Aug 15 '14 22:08 sindresorhus

:+1:

robdodson avatar Aug 15 '14 22:08 robdodson

:+1:

btford avatar Aug 15 '14 22:08 btford

:+1:

passy avatar Aug 15 '14 22:08 passy

I love the <3, and the usage can be figured out, but it's not inherently obvious. Nothing explains what hitting enter will do (unless it was scrolled off the screen?)

What about something like:

(?) 'Allo Sindre! What would you like to do?:
Press [Enter] to run, [Space] to update.               <-- always visible (if possible?)
> Webapp <3 Update Available!
  Angular
  Backbone

stephenplusplus avatar Aug 15 '14 23:08 stephenplusplus

@stephenplusplus Enter is the canonical way to run something. I don't think it needs explaining. I prefer to keep it minimalistic. The user has already pressed Enter to run many times before the space message shows up.

sindresorhus avatar Aug 15 '14 23:08 sindresorhus

The user has already pressed Enter to run many times before the space message shows up.

Assuming they're already Yeoman users, this would be an easy transition. But I don't just mean "they won't know they have to hit enter", I mean we don't even say what enter will do, meaning that nothing says "This will run a generator." Just saying!

stephenplusplus avatar Aug 15 '14 23:08 stephenplusplus

@stephenplusplus It does say that, but at the top. Here's a screenshot from the initial view:

sindresorhus avatar Aug 15 '14 23:08 sindresorhus

<3

ragingwind avatar Aug 17 '14 01:08 ragingwind