RESOLVED FIXED 129627
Web Inspector: probe sidebar should use overflow:scroll and split space evenly
https://bugs.webkit.org/show_bug.cgi?id=129627
Summary Web Inspector: probe sidebar should use overflow:scroll and split space evenly
Blaze Burg
Reported 2014-03-03 15:04:48 PST
Currently, one probe that receives a lot more data will flood out the others making them hard to see.
Attachments
sidebar split between two probe sections (77.43 KB, image/png)
2014-03-03 15:07 PST, Katie Madonna
no flags
the patch (9.03 KB, patch)
2014-03-03 15:57 PST, Katie Madonna
no flags
Patch (4.52 KB, patch)
2014-03-19 21:25 PDT, Katie Madonna
no flags
Probes sidebar with two evenly distributed elements. Minus scrollbar styles. (36.56 KB, image/png)
2014-03-19 21:28 PDT, Katie Madonna
no flags
Show collapsed styles for probes sidebar. (42.91 KB, image/png)
2014-03-19 21:29 PDT, Katie Madonna
no flags
Patch (3.69 KB, patch)
2014-03-20 12:10 PDT, Katie Madonna
no flags
Radar WebKit Bug Importer
Comment 1 2014-03-03 15:05:32 PST
Katie Madonna
Comment 2 2014-03-03 15:07:40 PST
Created attachment 225693 [details] sidebar split between two probe sections
Timothy Hatcher
Comment 3 2014-03-03 15:27:21 PST
What is up with the scrollbars?
Blaze Burg
Comment 4 2014-03-03 15:52:56 PST
(In reply to comment #3) > What is up with the scrollbars? In the old branch I made them skinnier for the replay drawer's sidebar to save a little space, and apparently copied that idea into the probe sidebar. It can be safely removed.
Katie Madonna
Comment 5 2014-03-03 15:57:58 PST
Created attachment 225703 [details] the patch
Timothy Hatcher
Comment 6 2014-03-03 16:06:02 PST
(In reply to comment #4) > (In reply to comment #3) > > What is up with the scrollbars? > > In the old branch I made them skinnier for the replay drawer's sidebar to save a little space, and apparently copied that idea into the probe sidebar. It can be safely removed. Yes, lets revert the scrollbar change. People still use the scrollbar to drag with the mouse, and this size is non-standard. Also revert the whitespace changes in the ChangeLog.
Katie Madonna
Comment 7 2014-03-19 21:25:13 PDT
Katie Madonna
Comment 8 2014-03-19 21:28:01 PDT
Created attachment 227252 [details] Probes sidebar with two evenly distributed elements. Minus scrollbar styles.
Katie Madonna
Comment 9 2014-03-19 21:29:24 PDT
Created attachment 227253 [details] Show collapsed styles for probes sidebar.
Timothy Hatcher
Comment 10 2014-03-20 11:31:12 PDT
Comment on attachment 227251 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=227251&action=review Some tweaks and questions remain before this should land. But looking good! > Source/WebInspectorUI/UserInterface/Views/ProbeDetailsSidebarPanel.css:79 > + min-height: 250px; What happens if this min-height is triggered? Will that cause double scrollbars? That would be bad. > Source/WebInspectorUI/UserInterface/Views/ProbeSetDataGrid.css:39 > +.details-section.probe-set .data-grid .data-container { > + top: 23px; > +} This is a layering violation. details-section is not related and at a higher level than this data grid. This rule should be in ProbeDetailsSidebarPanel.css.
Katie Madonna
Comment 11 2014-03-20 12:10:42 PDT
Katie Madonna
Comment 12 2014-03-20 12:12:07 PDT
The min-height did trigger the double scroll bar, so I removed it and moved the CSS rule.
WebKit Commit Bot
Comment 13 2014-03-20 12:47:20 PDT
Comment on attachment 227314 [details] Patch Clearing flags on attachment: 227314 Committed r165987: <http://trac.webkit.org/changeset/165987>
WebKit Commit Bot
Comment 14 2014-03-20 12:47:24 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.