ProLoser / Github-Omnibox

Github Commands from Google Chrome Omnibox (address bar)
http://goo.gl/n5HJw
MIT License
384 stars 24 forks source link

Add support for ? #14

Closed ProLoser closed 10 years ago

ProLoser commented 11 years ago

Since it's not going to be anytime soon that we can disable the trimming of user input, it would be nice if there was a way to see all the options available to you at this step:

gh ? gh my ? gh !? etc

This is essentially the same as gh help but more concise. I think we should not overwhelm the user with every single help option (since at the top, we display multiple my actions but only 1 repo action and we're limited to 5 items in the suggestions.

In other words:

gh ? will show: my [action], ![action], *[repo], /[repo], new [action] gh my ? will show: my new [action], my users, my followers, etc

Finally, if the user hits enter on a ? action, it should take them to the help page WITH the previous step in the hash:

gh ? goes to: help.html# gh my ? goes to: help.html#my gh !? goes to: help.html#! etc...

We would then be able to place <h3 id="my"> into the help to make things easier for the user.

ProLoser commented 10 years ago

3be3fb9eb19ccdb7767ef621c20bec05a511cbc4