After deleting a value in Rules, show autocomplete popup as long as the user has the field focused
Categories
(DevTools :: Inspector, defect, P3)
Tracking
(firefox71 fixed)
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: victoria, Assigned: daisuke)
References
Details
(Keywords: parity-chrome, Whiteboard: [dt-q])
Attachments
(6 files)
When deleting a CSS value, the Rules pane should have the same behavior as when the user first enters a value field: The user should see a dropdown with the possible keyword values.
This will be especially useful for the many flexbox values which are tough to remember. (Reported by :birtles)
Comment 1•6 years ago
|
||
I think it would be good to introduce a keyboard shortcut to always bring back auto-complete if it's lost. VSCode uses for example ctrl+space
by default to achieve this.
Comment 2•6 years ago
|
||
Good idea! In the interim, pressing the down key on the keyboard will re-trigger the autocomplete.
Comment 3•6 years ago
|
||
I believe this should be a dt-q bug as this was reported as frustrating by people many times.
Myself, after using the rule-view for many years, I didn't even know that pressing the down key would work, so I have developed the habit of going back to the name (shift-tab), and then back to the value again (tab). This is cumbersome, I shouldn't have to do this.
This is also a chrome-parity problem. In Chrome devtools, when you delete the value, the list re-appears automatically.
I also tested ctrl+space and it indeed works in Chrome too, so we should add this too.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
Depends on D43719
Assignee | ||
Comment 6•6 years ago
|
||
Depends on D43720
Assignee | ||
Comment 7•6 years ago
|
||
Depends on D43721
Assignee | ||
Comment 8•6 years ago
|
||
Depends on D43722
Comment 10•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/cb477711fa64
https://hg.mozilla.org/mozilla-central/rev/822638e9789a
https://hg.mozilla.org/mozilla-central/rev/703a2947c350
https://hg.mozilla.org/mozilla-central/rev/2081fd72fd28
https://hg.mozilla.org/mozilla-central/rev/d7b6b036d777
Comment 11•6 years ago
|
||
Backed out 5 changesets (Bug 1543782) for devtools failures on browser_rules_completion-on-empty.js.
Backout: https://hg.mozilla.org/integration/autoland/rev/c5ad764d28355ec966faaed00e94076fd39a9a4a
Push that started the failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=d7b6b036d777c0d3290f5d923a987f2cefebff73
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=264216520&repo=autoland&lineNumber=4666
![]() |
||
Comment 12•6 years ago
|
||
Backout merged to central: https://hg.mozilla.org/mozilla-central/rev/c5ad764d2835
Assignee | ||
Comment 13•6 years ago
|
||
try again: https://treeherder.mozilla.org/#/jobs?repo=try&revision=280c55fc10b5895e2e708163dbb49d80f89fefbb
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/158098f49ec2
https://hg.mozilla.org/mozilla-central/rev/541172579196
https://hg.mozilla.org/mozilla-central/rev/ed8158ce9770
https://hg.mozilla.org/mozilla-central/rev/e1ba24ca37a4
https://hg.mozilla.org/mozilla-central/rev/90f33e9e1c48
![]() |
||
Updated•6 years ago
|
Updated•5 years ago
|
Description
•