Persona is no longer an option for authentication on BMO. For more details see Persona Deprecated.
Last Comment Bug 776998 - [gcli] Behavior when part of a command is entered is unhelpful
: [gcli] Behavior when part of a command is entered is unhelpful
Product: Firefox
Classification: Client Software
Component: Developer Tools: Console (show other bugs)
: unspecified
: All All
: P2 normal (vote)
: Firefox 18
Assigned To: Nobody; OK to take it and work on it
: (Unavailable until Nov 1) Brian Grinstead [:bgrins]
Depends on:
  Show dependency treegraph
Reported: 2012-07-24 11:00 PDT by Ian Bicking (:ianb)
Modified: 2012-08-27 05:21 PDT (History)
4 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description Ian Bicking (:ianb) 2012-07-24 11:00:35 PDT
I was looking for the first time at the Developer Toolbar, tried to explore it and found it a bit difficult to discover the functionality.

One issue is that if I enter "help" I get a list of top-level commands, but I expected to be able to use those top level commands (instead really each one requires further help in order to use it).  For instance, if I enter "console" then nothing happens, and hitting Enter is ignored – no error, help, or anything at all.  Some of the commands (like inspect) do show a little bit of help.

In many cases I think there could be a default.  For instance, if you enter "console" you could treat that as "console open".  "cookie list" and "addon list" also make sense – and ideally you'd default to these *and* show the other commands available.  Kind of like git does.  Another approach would simply be to do something to indicate that more input is required.

Making "console help" etc work would also be helpful here – when I realize I've entered something I don't know how to use I now have to rewrite "console" into "help console".  Help could also be a default – if I enter "console" and hit enter, you could leave the text in the input box but also show help in a popup.
Comment 1 Paul Rouget [:paul] 2012-07-24 11:36:42 PDT
I agree, this is confusing.

"Return" should always do something. If the entry is not valid, it should say it's not valid.

Joe, what do you think?
Comment 2 Michael Ratcliffe [:miker] [:mratcliffe] 2012-07-24 16:57:04 PDT
I agree ... there are a few things that we could do here.

1. Make help text more complete.
2. Each row under the help menu could be expandable, showing the command's help when expanded. This way you could navigate the help tree without typing multiple help commands.
3. Auto-completion should be improved e.g. typing console<space> should show clear, close and open.
4. Improve the default selections ... except where there are multiple possibilities, then number 5 makes more sense.
5. I really like the idea of having help as the default when a command is not complete so that typing console and pressing enter would display the info for "help console" without changing the input text.
6. After clicking on help, e.g. "help console" in the help dialog, it should not be necessary to press enter.

What do you think Joe?
Comment 3 Joe Walker [:jwalker] (needinfo me or ping on irc) 2012-08-10 04:43:25 PDT
We've done several of the things mentioned here. I think we need to take a look after 17 to see what else we need to do then raise separate bugs for additional work.
Comment 4 Joe Walker [:jwalker] (needinfo me or ping on irc) 2012-08-27 05:21:39 PDT
A number of these issues are fixed in various other bugs and I've just raised bug 785844 to focus on the default command idea.
I'd like to focus on things that are concrete so I think we should close this now (it's not all FIXED but some of it is) and work on smaller bugs.
Thanks for the report.

Note You need to log in before you can comment on or make changes to this bug.