WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
87497
Web Inspector: Tabbed Settings Screen
https://bugs.webkit.org/show_bug.cgi?id=87497
Summary
Web Inspector: Tabbed Settings Screen
eustas.bug
Reported
2012-05-25 06:14:08 PDT
Created
attachment 144055
[details]
Tabbed settings screen, "settings" tab Combine settings screen and shortcuts screen to a single tabbed settings screen. This will make shortcuts screen more discoverable.
Attachments
Tabbed settings screen, "settings" tab
(147.03 KB, image/png)
2012-05-25 06:14 PDT
,
eustas.bug
no flags
Details
Tabbed settings screen, "shortcuts" tab
(163.93 KB, image/png)
2012-05-25 06:15 PDT
,
eustas.bug
no flags
Details
Patch
(25.94 KB, patch)
2012-05-28 01:30 PDT
,
eustas.bug
no flags
Details
Formatted Diff
Diff
Patch
(26.20 KB, patch)
2012-05-28 22:42 PDT
,
eustas.bug
yurys
: review+
Details
Formatted Diff
Diff
Patch
(26.08 KB, patch)
2012-05-29 00:56 PDT
,
eustas.bug
yurys
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
eustas.bug
Comment 1
2012-05-25 06:15:00 PDT
Created
attachment 144056
[details]
Tabbed settings screen, "shortcuts" tab
eustas.bug
Comment 2
2012-05-28 01:30:42 PDT
Created
attachment 144300
[details]
Patch
Andrey Kosyakov
Comment 3
2012-05-28 06:10:50 PDT
Comment on
attachment 144300
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=144300&action=review
Generally looks good, but see below for a few nits.
> Source/WebCore/inspector/front-end/HelpScreen.js:61 > + _createCloseButton: function() {
style: { needs to be on a line by its own.
> Source/WebCore/inspector/front-end/SettingsScreen.js:62 > + function appendSection(name) {
style: { => new line
> Source/WebCore/inspector/front-end/SettingsScreen.js:140 > + _getTabbedPane: function()
_getOrCreateTabbedPane
> Source/WebCore/inspector/front-end/ShortcutsScreen.js:62 > + view.element.className = "help-content"; > + > + var container = view.element.createChild("div", "help-container");
Can help container be merged into the view element (i.e. help-content)?
eustas.bug
Comment 4
2012-05-28 22:38:20 PDT
Comment on
attachment 144300
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=144300&action=review
>> Source/WebCore/inspector/front-end/HelpScreen.js:61 >> + _createCloseButton: function() { > > style: { needs to be on a line by its own.
Fixed.
>> Source/WebCore/inspector/front-end/SettingsScreen.js:62 >> + function appendSection(name) { > > style: { => new line
Fixed.
>> Source/WebCore/inspector/front-end/SettingsScreen.js:140 >> + _getTabbedPane: function() > > _getOrCreateTabbedPane
Done.
>> Source/WebCore/inspector/front-end/ShortcutsScreen.js:62 >> + var container = view.element.createChild("div", "help-container"); > > Can help container be merged into the view element (i.e. help-content)?
No problems.
eustas.bug
Comment 5
2012-05-28 22:42:28 PDT
Created
attachment 144448
[details]
Patch
Andrey Kosyakov
Comment 6
2012-05-28 23:42:31 PDT
Comment on
attachment 144448
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=144448&action=review
LGTM
> Source/WebCore/inspector/front-end/ShortcutsScreen.js:63 > + var container = view.element; > + container.className = "help-content"; > + container.addStyleClass("help-container");
Just view.element.className = "help-content help-container".
Yury Semikhatsky
Comment 7
2012-05-29 00:36:29 PDT
Comment on
attachment 144448
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=144448&action=review
> Source/WebCore/inspector/front-end/SettingsScreen.js:639 > +WebInspector.SettingsScreen.SettingsTab = "settings";
WebInspector.SettingsScreen.Tabs = { Settings: "Settings", Shortcuts: "Shortcuts" } like we do with constants in other places.
> Source/WebCore/inspector/front-end/SettingsScreen.js:645 > + * @extends {WebInspector.TabbedPane}
@extends should go right after @constructor, the general rule is to mind alphabetic order of @<name>
eustas.bug
Comment 8
2012-05-29 00:53:05 PDT
Comment on
attachment 144448
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=144448&action=review
>> Source/WebCore/inspector/front-end/SettingsScreen.js:639 >> +WebInspector.SettingsScreen.SettingsTab = "settings"; > > WebInspector.SettingsScreen.Tabs = { > Settings: "Settings", > Shortcuts: "Shortcuts" > } > like we do with constants in other places.
Good idea, done.
>> Source/WebCore/inspector/front-end/SettingsScreen.js:645 >> + * @extends {WebInspector.TabbedPane} > > @extends should go right after @constructor, the general rule is to mind alphabetic order of @<name>
Fixed.
>> Source/WebCore/inspector/front-end/ShortcutsScreen.js:63 >> + container.addStyleClass("help-container"); > > Just view.element.className = "help-content help-container".
Done.
eustas.bug
Comment 9
2012-05-29 00:56:23 PDT
Created
attachment 144468
[details]
Patch
Andrey Kosyakov
Comment 10
2012-05-29 03:06:43 PDT
Committed
r118747
: <
http://trac.webkit.org/changeset/118747
>
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