canmove, Confirmed users, Bureaucrats and Sysops emeriti
1,093
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{FeatureStatus | {{FeatureStatus | ||
|Feature name=Pseudo-Class View | |Feature name=Pseudo-Class View | ||
|Feature stage= | |Feature stage=Design | ||
|Feature status=In progress | |||
|Feature health=OK | |Feature health=OK | ||
|Feature status note=Working out the UX | |||
}} | }} | ||
{{FeatureTeam | {{FeatureTeam | ||
|Feature product manager=Kevin Dangoor | |Feature product manager=Kevin Dangoor | ||
|Feature feature manager=Kevin Dangoor | |Feature feature manager=Kevin Dangoor | ||
|Feature ux lead=Stephen Horlander | |||
}} | }} | ||
{{FeaturePageBody | {{FeaturePageBody | ||
Line 35: | Line 38: | ||
The [[DevTools/Features/StyleInspector|Style Inspector]] and [[DevTools/Features/RulesView|Rules View]] will display the proper styles based on the pseudo-classes applied to the element (F5). | The [[DevTools/Features/StyleInspector|Style Inspector]] and [[DevTools/Features/RulesView|Rules View]] will display the proper styles based on the pseudo-classes applied to the element (F5). | ||
|Feature ux design= | |Feature ux design=Stephen Horlander offered the suggestion of putting a + at the end of the highlighter Infobar. | ||
* Clicking the + displays a text field with placeholder text along the lines of <tt>:pseudo, #id, or .class</tt>. | |||
* If the user types :, it would the field would contain ":active, focus, hover, visited" with all of the text but the ":" selected. | |||
* :a, :f, :h and :v should autocomplete to the matching pseudo-class so that the user can just hit return to add the pseudo-class. | |||
* the ability to toggle classes by clicking then should also apply to pseudo-classes | |||
* if the user starts the field with anything but "#", "." or ":" the field should turn red (or otherwise show the error state) | |||
* if the user types "#" and the node has an ID, the existing ID should be placed in the field, preselected with the cursor after the # | |||
}} | }} | ||
{{FeatureInfo | {{FeatureInfo | ||
|Feature priority= | |Feature priority=P1 | ||
|Feature rank=5 | |||
|Feature roadmap=Developer Tools | |||
|Feature list=Desktop | |||
|Feature engineering team=DevTools | |||
}} | }} | ||
{{FeatureTeamStatus}} | {{FeatureTeamStatus}} |