Closed
Bug 727867
Opened 13 years ago
Closed 13 years ago
Rule view indicate when invalid values are entered
Categories
(DevTools :: Inspector, defect, P2)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 13
People
(Reporter: miker, Assigned: miker)
References
Details
(Keywords: dev-doc-complete, Whiteboard: [ruleview])
Attachments
(3 files, 2 obsolete files)
Now that user entered values can be entered in the rule view we need a way to signify the validity of user entered property values.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → mratcliffe
Status: NEW → ASSIGNED
Assignee | ||
Updated•13 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•13 years ago
|
||
Much simpler than I expected.
Attachment #599651 -
Flags: review?(dcamp)
Comment 2•13 years ago
|
||
Can you post a screenshot of this in action please?
Assignee | ||
Comment 3•13 years ago
|
||
Sure, it looks almost identical to webkit's design. Hovering the warning symbol displays "Invalid property value" ... or at least it will do when bug 729539 is fixed (title & tooltips do not show tooltips in the sidebar).
The design may change when Jason has finished his mockup (bug 712469).
Assignee | ||
Updated•13 years ago
|
Whiteboard: [ruleview] → [ruleview][has-patch]
Assignee | ||
Updated•13 years ago
|
Attachment #599950 -
Flags: feedback?(shorlander)
Comment 4•13 years ago
|
||
Comment on attachment 599950 [details]
In Action
I think this is perfectly fine for now. Knowing that you need to hover over the icon for the tooltip might not be immediately obvious.
Probably worth some thought on if we can display this information in a less generic and more obvious way at some point.
Is that icon the right size for the height of the list items?
Attachment #599950 -
Flags: feedback?(shorlander) → feedback+
Assignee | ||
Comment 5•13 years ago
|
||
Good point, I will shrink it a little before we land it
Assignee | ||
Comment 6•13 years ago
|
||
I have shrunk the icon a little as shorlander suggested.
Attachment #599651 -
Attachment is obsolete: true
Attachment #600094 -
Flags: review?(dcamp)
Attachment #599651 -
Flags: review?(dcamp)
Comment 7•13 years ago
|
||
Comment on attachment 600094 [details] [diff] [review]
Shrunk icon as shorlander suggested
Review of attachment 600094 [details] [diff] [review]:
-----------------------------------------------------------------
I'm happy with it if shorlander's happy with the UI!
::: browser/devtools/styleinspector/CssRuleView.jsm
@@ +985,5 @@
>
> appendText(this.element, ";");
>
> + this.warning = createChild(this.element, "div", {
> + // For an unknown reason the hidden attribute does not work here.
Is this comment still an issue? It seems like it's working?
Attachment #600094 -
Flags: review?(dcamp) → review+
Assignee | ||
Comment 8•13 years ago
|
||
(In reply to Dave Camp (:dcamp) from comment #7)
> Comment on attachment 600094 [details] [diff] [review]
> Shrunk icon as shorlander suggested
>
> Review of attachment 600094 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> I'm happy with it if shorlander's happy with the UI!
>
> ::: browser/devtools/styleinspector/CssRuleView.jsm
> @@ +985,5 @@
> >
> > appendText(this.element, ";");
> >
> > + this.warning = createChild(this.element, "div", {
> > + // For an unknown reason the hidden attribute does not work here.
>
> Is this comment still an issue? It seems like it's working?
Yes and no ... I added .ruleview-warning[hidden] { display: none; } to make it work but it should have worked without. Leaving this comment is confusing though so I have removed it.
Attachment #600094 -
Attachment is obsolete: true
Assignee | ||
Updated•13 years ago
|
Whiteboard: [ruleview][has-patch] → [ruleview][land-in-fx-team]
Comment 9•13 years ago
|
||
Whiteboard: [ruleview][land-in-fx-team] → [ruleview][fixed-in-fx-team]
Updated•13 years ago
|
Keywords: dev-doc-needed
Comment 10•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [ruleview][fixed-in-fx-team] → [ruleview]
Target Milestone: --- → Firefox 13
Comment 11•13 years ago
|
||
Documentation updated:
https://developer.mozilla.org/en/Tools/Page_Inspector/Style_panel#New_features_in_Firefox_13
Listed on Firefox 13 for developers
Keywords: dev-doc-needed → dev-doc-complete
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•