Open
Bug 1474012
Opened 6 years ago
Updated 2 years ago
Add options autocompletion to :screenshot command
Categories
(DevTools :: Console, enhancement, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: sebo, Unassigned)
References
(Blocks 1 open bug)
Details
The GCLI provided a great autocompletion UX, which got lost with the reimplementation of the :screenshot command within the Console. This makes using the feature quite cumbersome because you have to remember or look up the correct syntax and available options. Therefore the autocompletion provided by the GCLI should be reimplemented. Here is how it worked in the GCLI (as well as Firebug's Command Line API, for what it's worth) and how it is expected to work in the Console: 1. Typing "s" autosuggested "screenshot" and pressing Tab autocompleted the command. Pressing Up/Down toggled through the different commands. So when entering ":" you should get ":screenshot" autosuggested. As there are no other commands yet (as far as I know), Up/Down may not do anything for now. Though it should be kept in mind when adding more commands. 2. Once the command was autocompleted, its syntax was shown, i.e. "screenshot [filename] [options]". Typing "-" autosuggested the first option ("--clipboard", so the whole shown line was "screenshot --clipboard [filename] [options]") and opened a popup showing all available options. If another character than "-" was entered it was recognized as filename, so the autosuggestion showed something like "screenshot c [options]". Tab autocompleted the suggested option, pressing Up/Down toggled through the different options. Optimally, this should work the same way as before. For simplification, the popup may be left out in the first step. 3. Hitting Enter executed the command and showed a popup with a preview of the screenshot. This may not be taken over, though it was a nice feature to see of what you took the screenshot. Note also bug 789675, which seems to be created to merge the GCLI with the Web Console. Sebastian
Comment 1•6 years ago
|
||
1. Will be solved in Bug 1473923
See Also: → 1473923
Summary: Add autocompletion to :screenshot command → Add options autocompletion to :screenshot command
Updated•6 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•