RESOLVED FIXED 147419
Web Inspector: Allow record filtering by frame duration in Rendering Frames timeline
https://bugs.webkit.org/show_bug.cgi?id=147419
Summary Web Inspector: Allow record filtering by frame duration in Rendering Frames t...
Matt Baker
Reported 2015-07-29 14:27:55 PDT
* SUMMARY Allow record filtering by frame duration in Rendering Frames timeline. We should have three filter options: All | ≥ 1 ms | ≥ 15 ms. We should use the same approach as the Network and Layout & Rendering timelines and place the filter in the sidebar.
Attachments
[Image] New UI, filter applied (297.42 KB, image/png)
2015-07-29 14:47 PDT, Matt Baker
no flags
[Patch] Proposed Fix (5.66 KB, patch)
2015-07-29 15:03 PDT, Matt Baker
no flags
[Image] New UI, filter applied (238.46 KB, image/png)
2015-07-29 15:13 PDT, Matt Baker
no flags
[Image] UI w/ new wording (270.33 KB, image/png)
2015-07-29 17:12 PDT, Matt Baker
no flags
[Patch] Proposed Fix (5.71 KB, patch)
2015-07-29 17:16 PDT, Matt Baker
no flags
[Patch] Proposed Fix (5.71 KB, patch)
2015-07-29 17:18 PDT, Matt Baker
no flags
[Patch] Proposed Fix (5.71 KB, patch)
2015-07-29 17:25 PDT, Matt Baker
no flags
Radar WebKit Bug Importer
Comment 1 2015-07-29 14:28:29 PDT
Matt Baker
Comment 2 2015-07-29 14:47:01 PDT
Created attachment 257773 [details] [Image] New UI, filter applied
Matt Baker
Comment 3 2015-07-29 15:03:56 PDT
Created attachment 257775 [details] [Patch] Proposed Fix
Matt Baker
Comment 4 2015-07-29 15:13:11 PDT
Created attachment 257776 [details] [Image] New UI, filter applied previous screenshot showed broken UI. Fixed.
Timothy Hatcher
Comment 5 2015-07-29 17:12:09 PDT
Comment on attachment 257775 [details] [Patch] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=257775&action=review > Source/WebInspectorUI/UserInterface/Views/RenderingFrameTimelineView.js:101 > + return WebInspector.UIString("⥠1 ms"); > + case WebInspector.RenderingFrameTimelineView.DurationFilter.FifteenMilliseconds: > + return WebInspector.UIString("⥠15 ms"); As discussed on IRC, change these to Over 1ms and Over 15ms. > Source/WebInspectorUI/UserInterface/Views/RenderingFrameTimelineView.js:191 > + var minimumDuration = selectedScopeBarItem.id === WebInspector.RenderingFrameTimelineView.DurationFilter.OneMillisecond ? 1e-3 : 15e-3; Not sure about scientific notation. We typically just write out decimals for milliseconds. > Source/WebInspectorUI/UserInterface/Views/RenderingFrameTimelineView.js:192 > + return treeElement.record.duration >= minimumDuration; Change to > to match the language.
Matt Baker
Comment 6 2015-07-29 17:12:33 PDT
Created attachment 257787 [details] [Image] UI w/ new wording All | Over 1 ms | Over 15 ms
Matt Baker
Comment 7 2015-07-29 17:16:21 PDT
Created attachment 257789 [details] [Patch] Proposed Fix
Matt Baker
Comment 8 2015-07-29 17:18:11 PDT
Created attachment 257790 [details] [Patch] Proposed Fix
Matt Baker
Comment 9 2015-07-29 17:25:47 PDT
Created attachment 257792 [details] [Patch] Proposed Fix
WebKit Commit Bot
Comment 10 2015-07-29 17:26:26 PDT
Comment on attachment 257792 [details] [Patch] Proposed Fix Rejecting attachment 257792 [details] from review queue. mattbaker@apple.com does not have reviewer permissions according to http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/contributors.json. - If you do not have reviewer rights please read http://webkit.org/coding/contributing.html for instructions on how to use bugzilla flags. - If you have reviewer rights please correct the error in Tools/Scripts/webkitpy/common/config/contributors.json by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your reviewer rights.
WebKit Commit Bot
Comment 11 2015-07-29 18:19:32 PDT
Comment on attachment 257792 [details] [Patch] Proposed Fix Clearing flags on attachment: 257792 Committed r187570: <http://trac.webkit.org/changeset/187570>
WebKit Commit Bot
Comment 12 2015-07-29 18:19:38 PDT
All reviewed patches have been landed. Closing bug.
Joseph Pecoraro
Comment 13 2015-07-30 11:20:44 PDT
Comment on attachment 257792 [details] [Patch] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=257792&action=review > Source/WebInspectorUI/UserInterface/Views/RenderingFrameTimelineView.js:103 > + console.error("Unknown tab type", tabType); Tab type? I think this should be "filter". rs=me to fix typo.
Note You need to log in before you can comment on or make changes to this bug.