Bug 63803 - Web Inspector: Adding new CSS rules should be more discoverable in the UI
Summary: Web Inspector: Adding new CSS rules should be more discoverable in the UI
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Alexander Pavlov (apavlov)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-01 06:20 PDT by Alexander Pavlov (apavlov)
Modified: 2011-07-04 04:56 PDT (History)
11 users (show)

See Also:


Attachments
[PATCH] Suggested solution (2.70 KB, patch)
2011-07-01 09:12 PDT, Alexander Pavlov (apavlov)
no flags Details | Formatted Diff | Diff
[IMAGE] Screenshot of the new UI (the button has a tooltip) (35.37 KB, image/png)
2011-07-01 09:13 PDT, Alexander Pavlov (apavlov)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.