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

Issue 2646283002: ClassesPaneWidget - Add ability to quickly preview autocompleted CSS classes. (Closed)

Created:
3 years, 11 months ago by kdzwinel
Modified:
3 years, 8 months ago
Reviewers:
lushnikov
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/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: ClassesPaneWidget - Add ability to quickly preview autocompleted CSS classes. In action - https://i.imgur.com/yucn4TI.gif 📽 BUG=683623 Review-Url: https://codereview.chromium.org/2646283002 Cr-Commit-Position: refs/heads/master@{#463104} Committed: https://chromium.googlesource.com/chromium/src/+/56d5720cf9a277a61d859d6829bf1a5bfb7d845c

Patch Set 1 #

Patch Set 2 : Code cleanup #

Patch Set 3 : Add missing jsdoc #

Total comments: 8

Patch Set 4 : Rewrite based on @lushnikov's code #

Patch Set 5 : Do not modify node if there are no classes being previewed. #

Patch Set 6 : Revert FlavorChanged change listener. Prevent reace condition in _installNodeClasses. #

Total comments: 4

Patch Set 7 : Use Common.Throttler; Fix textprompt issue; Fix ESC key issue #

Total comments: 5

Patch Set 8 : Fixes after code review. #

Total comments: 4

Patch Set 9 : Code review fixes. #

Patch Set 10 : Clean up Enter key handling. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -21 lines) Patch
M third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js View 1 2 3 4 5 6 7 8 9 3 chunks +74 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/DOMModel.js View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (8 generated)
kdzwinel
PTAL
3 years, 10 months ago (2017-02-01 01:06:09 UTC) #5
lushnikov
Hey @kdzwinel, Thanks for pinging me in the bug and sorry for the wait! As ...
3 years, 10 months ago (2017-02-07 22:01:37 UTC) #6
kdzwinel
Thank you for a review! Your solution is much simpler but it might have two ...
3 years, 10 months ago (2017-02-07 23:20:06 UTC) #7
lushnikov
On 2017/02/07 23:20:06, kdzwinel wrote: > Thank you for a review! > > Your solution ...
3 years, 10 months ago (2017-02-08 01:49:51 UTC) #8
kdzwinel
It does help! Thank you. I adopted your code and fixed issues #1 and #2. ...
3 years, 10 months ago (2017-02-09 13:07:29 UTC) #9
lushnikov
On 2017/02/09 13:07:29, kdzwinel wrote: > It does help! Thank you. > > I adopted ...
3 years, 10 months ago (2017-02-10 19:27:26 UTC) #10
lushnikov
It would be really nice to have this! Let me know if I can help ...
3 years, 10 months ago (2017-02-18 04:48:27 UTC) #11
kdzwinel
On 2017/02/18 at 04:48:27, lushnikov wrote: > It would be really nice to have this! ...
3 years, 10 months ago (2017-02-21 23:47:19 UTC) #12
lushnikov
On 2017/02/21 23:47:19, kdzwinel wrote: > On 2017/02/18 at 04:48:27, lushnikov wrote: > > It ...
3 years, 10 months ago (2017-02-22 21:41:49 UTC) #13
kdzwinel
On 2017/02/22 at 21:41:49, lushnikov wrote: > On 2017/02/21 23:47:19, kdzwinel wrote: > > On ...
3 years, 9 months ago (2017-03-01 15:33:16 UTC) #14
lushnikov
https://codereview.chromium.org/2646283002/diff/100001/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js File third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js (right): https://codereview.chromium.org/2646283002/diff/100001/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js#newcode100 third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js:100: this._prompt.setText(''); to avoid that issue with selection you had, ...
3 years, 9 months ago (2017-03-07 02:55:12 UTC) #15
kdzwinel
Thanks for help, I finally found some time to push that further. Besides fixing previously ...
3 years, 9 months ago (2017-03-15 15:23:45 UTC) #16
lushnikov
https://codereview.chromium.org/2646283002/diff/120001/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js File third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js (right): https://codereview.chromium.org/2646283002/diff/120001/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js#newcode55 third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js:55: text = ''; i don't quite follow the logic ...
3 years, 9 months ago (2017-03-17 17:41:19 UTC) #17
kdzwinel
https://codereview.chromium.org/2646283002/diff/120001/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js File third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js (right): https://codereview.chromium.org/2646283002/diff/120001/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js#newcode55 third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js:55: text = ''; On 2017/03/17 at 17:41:19, lushnikov wrote: ...
3 years, 9 months ago (2017-03-20 09:51:13 UTC) #18
lushnikov
thanks! Looks like we're heading the right way! https://codereview.chromium.org/2646283002/diff/140001/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js File third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js (right): https://codereview.chromium.org/2646283002/diff/140001/third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js#newcode83 third_party/WebKit/Source/devtools/front_end/elements/ClassesPaneWidget.js:83: this._update(); ...
3 years, 9 months ago (2017-03-22 01:37:33 UTC) #20
kdzwinel
Thanks for all the tips! I updated my code based on yours, rebased it with ...
3 years, 8 months ago (2017-04-06 11:00:08 UTC) #21
lushnikov
Nice work! lgtm
3 years, 8 months ago (2017-04-07 23:40:20 UTC) #22
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/2646283002/180001
3 years, 8 months ago (2017-04-07 23:41:04 UTC) #24
commit-bot: I haz the power
3 years, 8 months ago (2017-04-08 01:52:50 UTC) #27
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/56d5720cf9a277a61d859d6829bf...

Powered by Google App Engine
This is Rietveld 408576698