Bug 63803

Summary: Web Inspector: Adding new CSS rules should be more discoverable in the UI
Product: WebKit Reporter: Alexander Pavlov (apavlov) <apavlov>
Component: Web Inspector (Deprecated)Assignee: Alexander Pavlov (apavlov) <apavlov>
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, webkit.review.bot, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Description Flags
[PATCH] Suggested solution
[IMAGE] Screenshot of the new UI (the button has a tooltip) none

Description Alexander Pavlov (apavlov) 2011-07-01 06:20:30 PDT
Currently you have to click the Gear button and select New Style Rule from the dropdown, which is poorly discoverable. A better option might be to add a [+] button that would add a new rule.
Comment 1 Alexander Pavlov (apavlov) 2011-07-01 09:12:32 PDT
Created attachment 99480 [details]
[PATCH] Suggested solution
Comment 2 Alexander Pavlov (apavlov) 2011-07-01 09:13:15 PDT
Created attachment 99481 [details]
[IMAGE] Screenshot of the new UI (the button has a tooltip)
Comment 3 Yury Semikhatsky 2011-07-04 01:32:02 PDT
Comment on attachment 99480 [details]
[PATCH] Suggested solution

View in context: https://bugs.webkit.org/attachment.cgi?id=99480&action=review

> Source/WebCore/inspector/front-end/StylesSidebarPane.js:582
> +        if (WebInspector.isEditingAnyField())

Is it there a case when the editing is not complete yet by the moment click event is handled here?
Comment 4 WebKit Review Bot 2011-07-04 04:56:12 PDT
Comment on attachment 99480 [details]
[PATCH] Suggested solution

Clearing flags on attachment: 99480

Committed r90360: <http://trac.webkit.org/changeset/90360>
Comment 5 WebKit Review Bot 2011-07-04 04:56:16 PDT
All reviewed patches have been landed.  Closing bug.