Closed
Bug 1950865
Opened 21 days ago
Closed 15 days ago
Use LONG mode for Reps in JsonViewer
Categories
(DevTools :: JSON Viewer, enhancement)
DevTools
JSON Viewer
Tracking
(firefox138 fixed)
RESOLVED
FIXED
138 Branch
Tracking | Status | |
---|---|---|
firefox138 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
Attachments
(2 files)
At the moment, the JSON viewer uses TINY mode
https://searchfox.org/mozilla-release/rev/abd9894aa91438f876b3581e6e0c295bbc48f241/devtools/client/jsonview/components/JsonPanel.js#109,120,122,127-128
renderTree() {
...
return TreeView({
...
mode: MODE.TINY,
...
});
}
We have plenty of room in the JSON viewer, let's use the LONG mode so we will be more consistent to what we have in the console (e.g. we'll have preview of items when tree node are collapsed)
Assignee | ||
Comment 1•20 days ago
|
||
This Reps is only displayed for JSON, where we can't have class instances,
so the curly brackets should be enough to indicate this is an object.
Also, we don't show a title for in ArrayRep, so we'll be consistent.
Updated•20 days ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•20 days ago
|
||
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/fec2e4fac7ed
[devtools] Remove "Object" title in ObjectRep. r=devtools-reviewers,ochameau.
https://hg.mozilla.org/integration/autoland/rev/70003c1a6b82
[devtools] Use LONG mode for Reps in JsonViewer. r=devtools-reviewers,ochameau
Comment 4•15 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fec2e4fac7ed
https://hg.mozilla.org/mozilla-central/rev/70003c1a6b82
Status: ASSIGNED → RESOLVED
Closed: 15 days ago
status-firefox138:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•