{"action":"opened","issue":{"url":"https://api.github.com/repos/devtools-html/debugger.html/issues/6893","repository_url":"https://api.github.com/repos/devtools-html/debugger.html","labels_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/6893/labels{/name}","comments_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/6893/comments","events_url":"https://api.github.com/repos/devtools-html/debugger.html/issues/6893/events","html_url":"https://github.com/devtools-html/debugger.html/issues/6893","id":354786622,"node_id":"MDU6SXNzdWUzNTQ3ODY2MjI=","number":6893,"title":"ObjectInspector expanded node could be more useful","user":{"login":"nchevobbe","id":578107,"node_id":"MDQ6VXNlcjU3ODEwNw==","avatar_url":"https://avatars3.githubusercontent.com/u/578107?v=4","gravatar_id":"","url":"https://api.github.com/users/nchevobbe","html_url":"https://github.com/nchevobbe","followers_url":"https://api.github.com/users/nchevobbe/followers","following_url":"https://api.github.com/users/nchevobbe/following{/other_user}","gists_url":"https://api.github.com/users/nchevobbe/gists{/gist_id}","starred_url":"https://api.github.com/users/nchevobbe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nchevobbe/subscriptions","organizations_url":"https://api.github.com/users/nchevobbe/orgs","repos_url":"https://api.github.com/users/nchevobbe/repos","events_url":"https://api.github.com/users/nchevobbe/events{/privacy}","received_events_url":"https://api.github.com/users/nchevobbe/received_events","type":"User","site_admin":false},"labels":[{"id":914836081,"node_id":"MDU6TGFiZWw5MTQ4MzYwODE=","url":"https://api.github.com/repos/devtools-html/debugger.html/labels/object-inspector","name":"object-inspector","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-28T15:33:52Z","updated_at":"2018-08-28T15:33:52Z","closed_at":null,"author_association":"MEMBER","body":"In [Bug 1486381](https://bugzilla.mozilla.org/show_bug.cgi?id=1486381), @fvsch suggest that the way we represent expanded ObjectInspector nodes is not the best.\r\n\r\nCurrently, the nodes are being rendered in `TINY` mode, but we could introduce a new `expanded` prop to use in Reps.\r\n\r\nSo instead of having an object rendered as\r\n\r\n```\r\n▼ { … }\r\n|   a: 1\r\n|   b: 2\r\n|   <prototype>\r\n```\r\n\r\nIt could be \r\n\r\n```\r\n▼ Object {\r\n|   a: 1\r\n|   b: 2\r\n|   <prototype>\r\n}\r\n```\r\nor at least\r\n\r\n```\r\n▼ Object\r\n|   a: 1\r\n|   b: 2\r\n|   <prototype>\r\n```\r\nif we don't want to deal with opening and closing brackets."}}
{"actor":{"display_login":"nchevobbe"}}