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

Issue 1803813002: [DevTools] Added keyboard search while in sources (Closed)

Created:
4 years, 9 months ago by Allada-Google
Modified:
4 years, 8 months ago
Reviewers:
lushnikov, pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Added keyboard search while in sources Issue moves, see: https://codereview.chromium.org/1831903002/#

Patch Set 1 #

Total comments: 11

Patch Set 2 : Code cleanup from last push #

Patch Set 3 : More code cleanup #

Patch Set 4 : Final code cleanup #

Total comments: 47

Patch Set 5 : Code review input implemented/fixed #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -27 lines) Patch
M third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/treeoutline.css View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js View 1 2 3 4 8 chunks +211 lines, -27 lines 8 comments Download

Messages

Total messages: 12 (4 generated)
Allada-Google
PTL
4 years, 9 months ago (2016-03-14 20:23:51 UTC) #1
lushnikov
Just style comments https://codereview.chromium.org/1803813002/diff/1/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js File third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js (right): https://codereview.chromium.org/1803813002/diff/1/third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js#newcode169 third_party/WebKit/Source/devtools/front_end/sources/SourcesNavigator.js:169: // remove filter we usually don't ...
4 years, 9 months ago (2016-03-14 20:56:38 UTC) #2
Allada-Google
PTL
4 years, 9 months ago (2016-03-14 22:48:28 UTC) #3
pfeldman
https://codereview.chromium.org/1803813002/diff/50001/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.css File third_party/WebKit/Source/devtools/front_end/ui/treeoutline.css (right): https://codereview.chromium.org/1803813002/diff/50001/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.css#newcode130 third_party/WebKit/Source/devtools/front_end/ui/treeoutline.css:130: text-decoration:underline; text-decoration:<space>underline; https://codereview.chromium.org/1803813002/diff/50001/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js File third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js (right): https://codereview.chromium.org/1803813002/diff/50001/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js#newcode72 third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js:72: this._currentSelectionFilterString ...
4 years, 9 months ago (2016-03-14 23:51:35 UTC) #5
Allada-Google
PTL https://codereview.chromium.org/1803813002/diff/50001/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.css File third_party/WebKit/Source/devtools/front_end/ui/treeoutline.css (right): https://codereview.chromium.org/1803813002/diff/50001/third_party/WebKit/Source/devtools/front_end/ui/treeoutline.css#newcode130 third_party/WebKit/Source/devtools/front_end/ui/treeoutline.css:130: text-decoration:underline; On 2016/03/14 23:51:34, pfeldman wrote: > text-decoration:<space>underline; ...
4 years, 9 months ago (2016-03-15 17:13:09 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1803813002/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1803813002/70001
4 years, 9 months ago (2016-03-21 19:25:30 UTC) #8
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 9 months ago (2016-03-21 19:25:33 UTC) #10
pfeldman
4 years, 9 months ago (2016-03-22 00:00:34 UTC) #11
https://codereview.chromium.org/1803813002/diff/70001/third_party/WebKit/Sour...
File third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js (right):

https://codereview.chromium.org/1803813002/diff/70001/third_party/WebKit/Sour...
third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js:91:
this._interactiveFilterEnabled = enable;
Should disabling perform the cleanup?

https://codereview.chromium.org/1803813002/diff/70001/third_party/WebKit/Sour...
third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js:109: return new
RegExp(["(", filterString.escapeForRegExp(), ")"].join(""), "gi")
Do you need the () group?

https://codereview.chromium.org/1803813002/diff/70001/third_party/WebKit/Sour...
third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js:124: if
(this._currentSelectionFilterString === "")
if (!this._currentSelectionFilterString)

https://codereview.chromium.org/1803813002/diff/70001/third_party/WebKit/Sour...
third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js:128:
this.selectNext() || this.selectPrevious();
statement per line please.
if (!selectNext)
    selectPrevious();

https://codereview.chromium.org/1803813002/diff/70001/third_party/WebKit/Sour...
third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js:142: if
(ranges.length > 0)
if (ranges.length)

https://codereview.chromium.org/1803813002/diff/70001/third_party/WebKit/Sour...
third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js:147:
this._highlightChangedNodes.push(node);
Can't there only be one highlighted node?

https://codereview.chromium.org/1803813002/diff/70001/third_party/WebKit/Sour...
third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js:160: return
this._currentSelectionFilterString !== "" ?
this._makeFilterRegExpFromString(this._currentSelectionFilterString).test(treeElement._titleElement.textContent)
: true;
this._currentSelectionFilterString ? ...

https://codereview.chromium.org/1803813002/diff/70001/third_party/WebKit/Sour...
third_party/WebKit/Source/devtools/front_end/ui/treeoutline.js:190: if
(currentFilterString.length === 0) {
!length

Powered by Google App Engine
This is Rietveld 408576698