[webkit-reviews] review granted: [Bug 202057] Web Inspector: REGRESSION: Elements detail sidebar sometimes starts collapsed : [Attachment 379275] [PATCH] Proposed Fix

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 24 13:33:56 PDT 2019


Devin Rousso <drousso at apple.com> has granted Joseph Pecoraro
<joepeck at webkit.org>'s request for review:
Bug 202057: Web Inspector: REGRESSION: Elements detail sidebar sometimes starts
collapsed
https://bugs.webkit.org/show_bug.cgi?id=202057

Attachment 379275: [PATCH] Proposed Fix

https://bugs.webkit.org/attachment.cgi?id=379275&action=review




--- Comment #5 from Devin Rousso <drousso at apple.com> ---
Comment on attachment 379275
  --> https://bugs.webkit.org/attachment.cgi?id=379275
[PATCH] Proposed Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=379275&action=review

r=me as is, but I'm also r=me for the below suggestion too :)

> Source/WebInspectorUI/UserInterface/Views/TabContentView.js:55
> +	   this._detailsSidebarCollapsedSetting = new WI.Setting(identifier +
"-details-sidebar-collapsed", !this.detailsSidebarExpandedByDefault);

Frankly, is there ever a situation where we don't want the sidebar to be
expanded by default?  I think the default collapsed state should just be
`false`.

I do think there's value in allowing the sidebar to be collapsed in certain
situations (e.g. resource introspection), but I think most of them provide a
lot of super useful utility (especially when the Sources tab becomes default)
that we may just want to expand them all by default.

I'm also 100% on board with not allowing the details sidebar from being
collapsed in the Elements Tab, if we wanted to go that "far".


More information about the webkit-reviews mailing list