Bug 144063

Summary: Web Inspector: Remove time and weight from the dashboard
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web InspectorAssignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: DoNotImportToRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch joepeck: review+, timothy: commit-queue-

Timothy Hatcher
Reported 2015-04-22 12:11:04 PDT
These two items were the odd men out since they are only available when recording a timeline. We will need the toolbar space soon, so make this lets us make the dashboard skinnier.
Attachments
Patch (8.45 KB, patch)
2015-04-22 12:13 PDT, Timothy Hatcher
joepeck: review+
timothy: commit-queue-
Timothy Hatcher
Comment 1 2015-04-22 12:13:04 PDT
Timothy Hatcher
Comment 2 2015-04-22 12:43:19 PDT
Comment on attachment 251354 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=251354&action=review > Source/WebInspectorUI/UserInterface/Views/DashboardContainerView.js:143 > + console.assert(contentView, "Unknown representedObject", representedObject); > + if (!contentView) I fixed this locally. It should be dashboardView, not contentView.
Joseph Pecoraro
Comment 3 2015-04-22 13:09:33 PDT
Comment on attachment 251354 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=251354&action=review > Source/WebInspectorUI/UserInterface/Views/DefaultDashboardView.js:-40 > - tooltip: WebInspector.UIString("Total size of all resources, click to show the Network Requests timeline"), Be sure to update localized strings as well. > Source/WebInspectorUI/UserInterface/Views/DefaultDashboardView.js:-41 > - handler: this._networkItemWasClicked These are the only callers of "this._networkItemWasClicked" so you should remove that as well. > Source/WebInspectorUI/UserInterface/Views/DefaultDashboardView.js:-76 > - var timeItem = this._items.time; > - timeItem.text = dashboard.time ? Number.secondsToString(dashboard.time) : "\u2014"; > - this._setItemEnabled(timeItem, dashboard.time > 0); This removes what I think are the only users of "dashboard.time" and "dashboard.resourcesSize". Should we then also remove these properties, and management, from the WebInspector.DefaultDashboard Model object?
Timothy Hatcher
Comment 4 2015-04-25 18:36:12 PDT
Note You need to log in before you can comment on or make changes to this bug.