-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
UI improvements: make prompt more succinct #14
Comments
Wow, really nice suggestions! I think we'd go for that. Plus it's in sync with some of the visual improvement asked over on the Yeoman-generator repo. I'll keep you posted on the advancement. |
Thanks! |
@robwierzbowski Can you give a try to the lastest master? I implemented your suggestion. And also, now the lists type prompts fold once they're answered letting the answer easier to review. |
Just noticed the folding. Very cool. |
It just keeps getting better and better 🆒 |
I fixed some of the remaining issue here. Could someone give it a try on the lastest master? I was wondering if it could be nice to have the prefix
|
Although I don't know if the check character is universal, or if I added a font with it at one point when configuring zshell. |
I agree. Might also consider dropping the brackets |
I removed the square brackets Should be almost ready for a 0.2! |
Yay \o/ |
Just wanted to say you're doing an awesome job with this prompt. I've had "create a better more interactive prompt" high on my todo-list for a long time, but never was able to realize it. So happy we finally have this. |
Thanks, happy to reduce your OS workload :) I'm closing this issue as 0.2 is getting out in the next minutes. Feel free to reopen issue for any other UI improvements; these comments and suggestions are incredibly usefuls. |
First, thanks for the new library. After using it I have some suggestions to simplify the prompts and make them feel less lengthy.
Prompt line spaces
Right now in Inquirer there are empty lines in between each prompt:
In the last Yeoman prompt I grouped my questions together by category, and added a single empty line break between each section:
Removing the whitespace will allow for grouping, make the prompt seem shorter to the user, and keep possibly related information on the screen longer.
Defaults:
Currently defaults display like this:
The word 'default' lengthens the prompt, and for me interrupts the reading flow. The previous prompt added the default after the colon:
This seems more understandable, since the default value is in the area that you are adding content to, and avoids some repetition within and between prompts. I think the quotes could be removed with no negative effects as well. If you wanted to get really fancy you could remove the parenthesis after the user hits enter, like this:
List help
The list choice is awesome. It includes a "use arrow keys tip" that disappears on first arrow keypress:
This is minor, but I think this could be made more compact by adding the tooltip after the last choice or after the prompt message:
When a generator has 10+ prompts it's essential to keep them as compact as possible to avoid overloading the user. Pages of prompts create the perception of complexity.
Thoughts?
The text was updated successfully, but these errors were encountered: