WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 144063
Web Inspector: Remove time and weight from the dashboard
https://bugs.webkit.org/show_bug.cgi?id=144063
Summary
Web Inspector: Remove time and weight from the dashboard
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-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Timothy Hatcher
Comment 1
2015-04-22 12:13:04 PDT
Created
attachment 251354
[details]
Patch
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
r183322
–
r183342
http://trac.webkit.org/log/?revs=183322-183342
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug