Closed
Bug 753677
Opened 13 years ago
Closed 13 years ago
Visually distinguish between configurable, enumerable and writable properties
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 15
People
(Reporter: vporof, Assigned: vporof)
References
Details
(Whiteboard: [fixed-in-fx-team])
Attachments
(3 files, 1 obsolete file)
4.53 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
3.66 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
9.13 KB,
patch
|
Details | Diff | Splinter Review |
A few visual metaphors for these properties may be nice.
Assignee | ||
Comment 1•13 years ago
|
||
The "enumerable" part of this bug is mostly taken care of in bug 752834.
Assignee | ||
Updated•13 years ago
|
Priority: -- → P3
Assignee | ||
Comment 2•13 years ago
|
||
We'll just need a lock icon for the unwritable properties.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Comment 3•13 years ago
|
||
Frozen objects should be identified as well:
https://mail.mozilla.org/pipermail/es-discuss/2012-May/022991.html
As a matter of fact, why not indicate all object extensibility characteristics? I imagine a single character at the right side of the object value, with a "float: right" alignment, that reads either F(rozen), S(ealed) or N(on-extensible).
Assignee | ||
Comment 4•13 years ago
|
||
Attachment #628321 -
Flags: review?(past)
Assignee | ||
Comment 5•13 years ago
|
||
(In reply to Panos Astithas [:past] from comment #3)
> Frozen objects should be identified as well:
>
> https://mail.mozilla.org/pipermail/es-discuss/2012-May/022991.html
>
> As a matter of fact, why not indicate all object extensibility
> characteristics? I imagine a single character at the right side of the
> object value, with a "float: right" alignment, that reads either F(rozen),
> S(ealed) or N(on-extensible).
How about a followup for this?
Comment 6•13 years ago
|
||
(In reply to Victor Porof from comment #5)
> (In reply to Panos Astithas [:past] from comment #3)
> > Frozen objects should be identified as well:
> >
> > https://mail.mozilla.org/pipermail/es-discuss/2012-May/022991.html
> >
> > As a matter of fact, why not indicate all object extensibility
> > characteristics? I imagine a single character at the right side of the
> > object value, with a "float: right" alignment, that reads either F(rozen),
> > S(ealed) or N(on-extensible).
>
> How about a followup for this?
I'm fine with that.
Assignee | ||
Comment 7•13 years ago
|
||
Part 2: make the variables obey these same rules as properties (I didn't think we need another bug for this).
Attachment #628360 -
Flags: review?(past)
Comment 8•13 years ago
|
||
Comment on attachment 628321 [details] [diff] [review]
v1
Review of attachment 628321 [details] [diff] [review]:
-----------------------------------------------------------------
I very much like the decorations, but they are not terribly intuitive. Can't we add tooltips or something?
Attachment #628321 -
Flags: review?(past) → review+
Updated•13 years ago
|
Attachment #628360 -
Flags: review?(past) → review+
Assignee | ||
Comment 9•13 years ago
|
||
(In reply to Panos Astithas [:past] from comment #8)
> Comment on attachment 628321 [details] [diff] [review]
> v1
>
> Review of attachment 628321 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> I very much like the decorations, but they are not terribly intuitive. Can't
> we add tooltips or something?
Indeed. I was hoping that this will be just temporary, and shorlander will think of something awesome as always.
Assignee | ||
Comment 10•13 years ago
|
||
Added tooltips copied CSS bits to gnomestripe and pinstripe as well.
Comment 11•13 years ago
|
||
I like the tooltips! One thing I noticed though, after playing with the patch some more, is that the dotted underline beneath non-writable and non-configurable properties is barely visible next to the dotted separator between properties. Perhaps using a dashed underline will make it more prominent, and also emphasize the color difference between noon-writable and non-configurable properties (due to the extra colored pixels), which is now too subtle.
Updated•13 years ago
|
Whiteboard: [land-in-fx-team]
Comment 12•13 years ago
|
||
I could not apply this. Needs a little rebase.
Whiteboard: [land-in-fx-team] → [needs-rebase]
Assignee | ||
Comment 13•13 years ago
|
||
There are two patches in this bug:
v1: which is part1
v1-2-fix: which is part2 with nits addressed from panos.
I'll address comment 11 and reupload a single patch :)
Assignee | ||
Comment 14•13 years ago
|
||
Addressed comments and qfolded. Land me.
Attachment #628612 -
Attachment is obsolete: true
Comment 15•13 years ago
|
||
Whiteboard: [needs-rebase] → [fixed-in-fx-team]
Comment 16•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 15
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•