WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
169585
Web Inspector: RTL: add support for Timeline graphs
https://bugs.webkit.org/show_bug.cgi?id=169585
Summary
Web Inspector: RTL: add support for Timeline graphs
Devin Rousso
Reported
2017-03-13 21:25:21 PDT
This also includes Network and Memory graphs.
Attachments
Patch
(15.61 KB, patch)
2017-03-13 22:19 PDT
,
Devin Rousso
bburg
: review+
Details
Formatted Diff
Diff
[Image] After Patch is applied
(292.80 KB, image/png)
2017-03-13 22:19 PDT
,
Devin Rousso
no flags
Details
Patch
(17.04 KB, patch)
2017-03-14 11:54 PDT
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Devin Rousso
Comment 1
2017-03-13 22:19:02 PDT
Created
attachment 304351
[details]
Patch
Devin Rousso
Comment 2
2017-03-13 22:19:17 PDT
Created
attachment 304352
[details]
[Image] After Patch is applied
Blaze Burg
Comment 3
2017-03-13 22:28:14 PDT
Comment on
attachment 304351
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=304351&action=review
r=me but please consider renames for clarity.
> Source/WebInspectorUI/UserInterface/Views/TimelineRecordBar.css:61 > +body[dir=ltr] .timeline-record-bar.has-inactive-segment > .segment:not(.inactive),
Can you add a comment, this is somewhat inscrutable and looks like a bug at first sight.
> Source/WebInspectorUI/UserInterface/Views/TimelineRecordBar.js:-274 > - this._updateElementPosition(this._element, newBarLeftPosition, "left");
LOL, we even parameterized it already.
> Source/WebInspectorUI/UserInterface/Views/TimelineRuler.js:671 > + let rightProperty = WebInspector.resolvedLayoutDirection() === WebInspector.LayoutDirection.RTL ? "left" : "right";
These names make me dizzy. Can we clean them up somehow? If this one could appear on the right side but denote the interval start, maybe we should rename the pairs to start/end.
Devin Rousso
Comment 4
2017-03-13 22:31:37 PDT
Comment on
attachment 304351
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=304351&action=review
>> Source/WebInspectorUI/UserInterface/Views/TimelineRecordBar.css:61 >> +body[dir=ltr] .timeline-record-bar.has-inactive-segment > .segment:not(.inactive), > > Can you add a comment, this is somewhat inscrutable and looks like a bug at first sight.
Sure! From what I can tell, it seems like this is used to differentiate between the "Request" (inactive) and "Response" (not inactive) sections of a network segment. This is how we are able to display the two different colors.
>> Source/WebInspectorUI/UserInterface/Views/TimelineRecordBar.js:-274 >> - this._updateElementPosition(this._element, newBarLeftPosition, "left"); > > LOL, we even parameterized it already.
(☞゚ヮ゚)☞
>> Source/WebInspectorUI/UserInterface/Views/TimelineRuler.js:671 >> + let rightProperty = WebInspector.resolvedLayoutDirection() === WebInspector.LayoutDirection.RTL ? "left" : "right"; > > These names make me dizzy. Can we clean them up somehow? If this one could appear on the right side but denote the interval start, maybe we should rename the pairs to start/end.
Whoops. Totally forgot to change these.
Devin Rousso
Comment 5
2017-03-14 11:54:45 PDT
Created
attachment 304408
[details]
Patch
WebKit Commit Bot
Comment 6
2017-03-14 12:21:00 PDT
Comment on
attachment 304408
[details]
Patch Clearing flags on attachment: 304408 Committed
r213928
: <
http://trac.webkit.org/changeset/213928
>
WebKit Commit Bot
Comment 7
2017-03-14 12:21:03 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.
Top of Page
Format For Printing
XML
Clone This Bug