Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Issue 2772643002: DevTools: Changes View (Closed)

Created:
3 years, 9 months ago by einbinder
Modified:
3 years, 8 months ago
Reviewers:
dgozman, lushnikov, luoe
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Changes View Adds a drawer that shows all changes since the target page was last refreshed. BUG=706238 Review-Url: https://codereview.chromium.org/2772643002 Cr-Commit-Position: refs/heads/master@{#460655} Committed: https://chromium.googlesource.com/chromium/src/+/f526b12b1f6e9d442806782bdd49dce8bceb3580

Patch Set 1 #

Total comments: 17

Patch Set 2 : Comments #

Total comments: 13

Patch Set 3 : Add a test #

Total comments: 5

Patch Set 4 : Rename #

Total comments: 54

Patch Set 5 : promise #

Patch Set 6 : no highlighting #

Total comments: 36

Patch Set 7 : comments #

Patch Set 8 : merge #

Total comments: 12

Patch Set 9 : comments #

Patch Set 10 : merge #

Patch Set 11 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1030 lines, -9 lines) Patch
A third_party/WebKit/LayoutTests/inspector/changes/changes-highlighter.html View 1 2 3 4 5 6 7 8 9 10 1 chunk +43 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/changes/changes-highlighter-expected.txt View 1 2 1 chunk +43 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/changes/changes-sidebar.html View 1 2 3 4 5 6 7 1 chunk +69 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/changes/changes-sidebar-expected.txt View 1 2 3 4 5 6 7 1 chunk +14 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/changes/changes-test.js View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/changes/resources/after.css View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/changes/resources/before.css View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/largeIcons.png View 1 2 3 4 5 6 7 Binary file 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/largeIcons_2x.png View 1 2 3 4 5 6 7 Binary file 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/src/largeIcons.svg View 1 2 3 4 5 6 7 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/src/optimize_png.hashes View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/src/svg2png.hashes View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/devtools/front_end/changes/ChangesHighlighter.js View 1 2 3 4 5 1 chunk +67 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/changes/ChangesSidebar.js View 1 2 3 4 5 6 7 1 chunk +124 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js View 1 2 3 4 5 6 7 8 1 chunk +296 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/changes/changesSidebar.css View 1 2 3 4 5 6 7 1 chunk +33 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/changes/changesView.css View 1 2 3 4 5 6 1 chunk +65 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/changes/module.json View 1 2 3 4 5 6 1 chunk +31 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/externs.js View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/inspector.json View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/main/Main.js View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/text_editor/CodeMirrorTextEditor.js View 1 2 3 4 5 6 7 3 chunks +19 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/Icon.js View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/TextEditor.js View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/workspace_diff/WorkspaceDiff.js View 1 2 3 4 5 6 7 5 chunks +119 lines, -4 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 36 (15 generated)
einbinder
ptal
3 years, 9 months ago (2017-03-23 00:47:24 UTC) #2
einbinder
3 years, 9 months ago (2017-03-23 00:49:41 UTC) #4
luoe
https://codereview.chromium.org/2772643002/diff/1/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js File third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js (right): https://codereview.chromium.org/2772643002/diff/1/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js#newcode8 third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js:8: Changes.ChangesView.SharedInstance = this; Not needed? https://codereview.chromium.org/2772643002/diff/1/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js#newcode20 third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js:20: this._fileList = ...
3 years, 9 months ago (2017-03-23 02:03:16 UTC) #5
einbinder
https://codereview.chromium.org/2772643002/diff/1/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js File third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js (right): https://codereview.chromium.org/2772643002/diff/1/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js#newcode8 third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js:8: Changes.ChangesView.SharedInstance = this; On 2017/03/23 at 02:03:16, luoe wrote: ...
3 years, 9 months ago (2017-03-23 04:32:48 UTC) #6
luoe
Overall looks good! https://codereview.chromium.org/2772643002/diff/20001/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js File third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js (right): https://codereview.chromium.org/2772643002/diff/20001/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js#newcode36 third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js:36: this._editor.setLineNumberFormatter(() => ''); Maybe add a ...
3 years, 9 months ago (2017-03-23 21:59:59 UTC) #7
lushnikov
intermediate comments https://codereview.chromium.org/2772643002/diff/40001/third_party/WebKit/Source/devtools/front_end/changes/ChangesHighlighter.js File third_party/WebKit/Source/devtools/front_end/changes/ChangesHighlighter.js (right): https://codereview.chromium.org/2772643002/diff/40001/third_party/WebKit/Source/devtools/front_end/changes/ChangesHighlighter.js#newcode8 third_party/WebKit/Source/devtools/front_end/changes/ChangesHighlighter.js:8: CodeMirror.defineMode('devtools-diff', function(config, parserConfig) { let's have jsdoc ...
3 years, 9 months ago (2017-03-23 22:53:21 UTC) #8
lushnikov
https://codereview.chromium.org/2772643002/diff/60001/third_party/WebKit/Source/devtools/front_end/changes/ChangesHighlighter.js File third_party/WebKit/Source/devtools/front_end/changes/ChangesHighlighter.js (right): https://codereview.chromium.org/2772643002/diff/60001/third_party/WebKit/Source/devtools/front_end/changes/ChangesHighlighter.js#newcode15 third_party/WebKit/Source/devtools/front_end/changes/ChangesHighlighter.js:15: Changes.ChangesHighlighter = function(config, parserConfig) { Now I believe that ...
3 years, 9 months ago (2017-03-24 04:02:35 UTC) #9
dgozman
Please update the description to something more descriptive.
3 years, 9 months ago (2017-03-24 17:14:41 UTC) #11
einbinder
Removed syntax highlighting in this patch. https://codereview.chromium.org/2772643002/diff/20001/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js File third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js (right): https://codereview.chromium.org/2772643002/diff/20001/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js#newcode36 third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js:36: this._editor.setLineNumberFormatter(() => ''); ...
3 years, 9 months ago (2017-03-28 00:07:24 UTC) #13
einbinder
Removed syntax highlighting in this patch. https://codereview.chromium.org/2772643002/diff/60001/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js File third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js (right): https://codereview.chromium.org/2772643002/diff/60001/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js#newcode9 third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js:9: var splitWidget = ...
3 years, 9 months ago (2017-03-28 00:07:25 UTC) #14
lushnikov
this looks good to me! https://codereview.chromium.org/2772643002/diff/100001/third_party/WebKit/LayoutTests/inspector/changes/changes-highlighter.html File third_party/WebKit/LayoutTests/inspector/changes/changes-highlighter.html (right): https://codereview.chromium.org/2772643002/diff/100001/third_party/WebKit/LayoutTests/inspector/changes/changes-highlighter.html#newcode12 third_party/WebKit/LayoutTests/inspector/changes/changes-highlighter.html:12: InspectorTest.waitForScriptSource("after.css", uiSourceCode => uiSourceCode.requestContent().then(onAfterContent)); ...
3 years, 9 months ago (2017-03-28 03:32:11 UTC) #15
einbinder
merge https://codereview.chromium.org/2772643002/diff/100001/third_party/WebKit/LayoutTests/inspector/changes/changes-highlighter.html File third_party/WebKit/LayoutTests/inspector/changes/changes-highlighter.html (right): https://codereview.chromium.org/2772643002/diff/100001/third_party/WebKit/LayoutTests/inspector/changes/changes-highlighter.html#newcode12 third_party/WebKit/LayoutTests/inspector/changes/changes-highlighter.html:12: InspectorTest.waitForScriptSource("after.css", uiSourceCode => uiSourceCode.requestContent().then(onAfterContent)); On 2017/03/28 at 03:32:10, ...
3 years, 8 months ago (2017-03-28 23:51:05 UTC) #16
luoe
https://codereview.chromium.org/2772643002/diff/140001/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js File third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js (right): https://codereview.chromium.org/2772643002/diff/140001/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js#newcode256 third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js:256: return {baselineLineNumber, currentLineNumber, content: text ? [{text, className: 'inner-diff'}] ...
3 years, 8 months ago (2017-03-29 18:25:42 UTC) #18
lushnikov
lgtm! https://codereview.chromium.org/2772643002/diff/140001/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js File third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js (right): https://codereview.chromium.org/2772643002/diff/140001/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js#newcode27 third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js:27: this._rows = []; this._diffRows = []; https://codereview.chromium.org/2772643002/diff/140001/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js#newcode105 third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js:105: ...
3 years, 8 months ago (2017-03-29 18:26:18 UTC) #19
einbinder
https://codereview.chromium.org/2772643002/diff/140001/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js File third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js (right): https://codereview.chromium.org/2772643002/diff/140001/third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js#newcode27 third_party/WebKit/Source/devtools/front_end/changes/ChangesView.js:27: this._rows = []; On 2017/03/29 at 18:26:17, lushnikov wrote: ...
3 years, 8 months ago (2017-03-29 19:06:41 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2772643002/160001
3 years, 8 months ago (2017-03-29 19:07:28 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/180034) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 8 months ago (2017-03-29 19:11:57 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2772643002/180001
3 years, 8 months ago (2017-03-29 20:45:18 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/419417)
3 years, 8 months ago (2017-03-29 22:29:41 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2772643002/200001
3 years, 8 months ago (2017-03-29 22:46:38 UTC) #33
commit-bot: I haz the power
3 years, 8 months ago (2017-03-30 03:59:16 UTC) #36
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/f526b12b1f6e9d442806782bdd49...

Powered by Google App Engine
This is Rietveld 408576698