New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 670220 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 607681
Owner:
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Feature



Sign in to add a comment

DevTools: add previews to objects node in property trees

Reported by zac.spit...@gmail.com, Dec 1 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.99 Safari/537.36

Steps to reproduce the problem:
1. trigger a javascript breakpoint
2. hover mouse over object to inspect
3. see only top level of tree and size

What is the expected behavior?

What went wrong?
Rather than having to click each item in the property tree to see the contents, why not show a simple preview of the child tree content same line.

> DATA: Array[2]
> FORMATTER: Object
> CONFIG: Object

becomes

> DATA: Array[2] ['one', '2', 'free']
> FORMATTER: Object {render: function(arg1, arg2) }
> CONFIG: Object {"debug": true }

Did this work before? N/A 

Chrome version: 54.0.2840.99  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 23.0 r0
 
currently it requires two extra clicks expose basic information
dev tools property_summary_2.jpg
9.3 KB View Download
dev tools property_detail_2.jpg
13.0 KB View Download
Labels: Needs-Triage-M54 M-54
The network panel already does this in the preview panel for JSON responses
Cc: krajshree@chromium.org
Labels: Needs-Feedback
zac.spitzer@ - Thanks for filing this issue...!!

Could you please provide a sample URL to test this issue.

This will help us in triaging the issue further.

Thanks...!!
how come? anyone who can address this issue knows how to preview an object with breakpoint set and how to look at a json response preview in the network panel?
Project Member

Comment 6 by sheriffbot@chromium.org, Dec 9 2016

Labels: -Needs-Feedback Needs-Review
Owner: krajshree@chromium.org
Thank you for providing more feedback. Adding requester "krajshree@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Owner: l...@chromium.org
Status: Assigned (was: Unconfirmed)
thanks zac. appreciate you filing bugs like these.

luoe, this is all you. 

Comment 8 by l...@chromium.org, Dec 15 2016

Labels: -Type-Bug -Needs-Review Type-Feature
Mergedinto: 607681
Status: Duplicate (was: Assigned)
Hi zac, thanks for the request!  The progress on this request is actually: started.  The use case of seeing your data is pretty important, and adding object previews is my priority.

I'll be merging it into a duplicate, and you can track related updates to formatting in general here:
 crbug.com/405845 

Glad to hear that you want this, and I look forward to landing it!

Sign in to add a comment