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

Issue 1304173004: Devtools UI: Add node-specific actions into a ghost toolbar in DOM (Closed)

Created:
5 years, 3 months ago by samli
Modified:
5 years, 3 months ago
Reviewers:
pfeldman
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, sergeyv+blink_chromium.org, yurys+blink_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Devtools UI: Add node-specific actions into a ghost toolbar in DOM This change adds a button in the elements gutter which toggles the node-specific toolbar. This toolbar is triggered from this icon or markers when present. When markers are present, the icon is not visible and the toolbar is automatically opened. This change also removes the elements toolbar completely by moving layout mode to the styles sidebar pane. BUG=528387 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=202482

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : Show only for element nodes #

Patch Set 6 : #

Patch Set 7 : Show below if it doesn't fit above #

Patch Set 8 : #

Total comments: 1

Patch Set 9 : #

Patch Set 10 : #

Total comments: 9

Patch Set 11 : #

Patch Set 12 : #

Total comments: 8

Patch Set 13 : Address nits #

Patch Set 14 : Rebase; remove material breadcrumb from experiment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+203 lines, -109 lines) Patch
M Source/devtools/front_end/elements/ElementsPanel.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 10 chunks +97 lines, -59 lines 0 comments Download
M Source/devtools/front_end/elements/ElementsTreeElement.js View 1 2 3 4 5 6 7 8 9 10 11 12 8 chunks +31 lines, -7 lines 0 comments Download
M Source/devtools/front_end/elements/ElementsTreeOutline.js View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +2 lines, -1 line 0 comments Download
M Source/devtools/front_end/elements/StylesSidebarPane.js View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +23 lines, -0 lines 0 comments Download
M Source/devtools/front_end/elements/breadcrumbs.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +0 lines, -36 lines 0 comments Download
M Source/devtools/front_end/elements/elementsPanel.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +0 lines, -6 lines 0 comments Download
M Source/devtools/front_end/elements/elementsTreeOutline.css View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +50 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (6 generated)
samli
PTAL. One known bug I don't know how to fix yet. When you collapse a ...
5 years, 3 months ago (2015-09-04 18:20:57 UTC) #2
paulirish
Can you make a tracking bug and attach a screenshot/video? I'd prefer if this started ...
5 years, 3 months ago (2015-09-04 18:23:47 UTC) #3
samli
On 2015/09/04 at 18:23:47, paulirish wrote: > Can you make a tracking bug and attach ...
5 years, 3 months ago (2015-09-04 18:24:51 UTC) #4
samli
On 2015/09/04 at 18:24:51, samli wrote: > On 2015/09/04 at 18:23:47, paulirish wrote: > > ...
5 years, 3 months ago (2015-09-04 18:36:52 UTC) #5
pfeldman
Can we have the three dots icon there by default?
5 years, 3 months ago (2015-09-05 01:14:14 UTC) #6
paulirish
On 2015/09/05 at 01:14:14, pfeldman wrote: > Can we have the three dots icon there ...
5 years, 3 months ago (2015-09-08 16:43:44 UTC) #7
samli
PTAL; see updated description for change in behavior Screenshots: http://i.imgur.com/pDNDRB7 http://i.imgur.com/BJaqLvk http://i.imgur.com/ER2nsF5 http://i.imgur.com/rSvrJfa http://i.imgur.com/ziXSgnN
5 years, 3 months ago (2015-09-09 18:48:56 UTC) #8
samli
Screenshots: http://i.imgur.com/pDNDRB7.png http://i.imgur.com/BJaqLvk.png http://i.imgur.com/ER2nsF5.png http://i.imgur.com/rSvrJfa.png http://i.imgur.com/ziXSgnN.png
5 years, 3 months ago (2015-09-09 18:51:55 UTC) #9
paulirish
We're thinking the dots don't look actionable. One attempt to fix (bg color lighter): http://i.imgur.com/lx5v1MJ.png ...
5 years, 3 months ago (2015-09-09 19:07:34 UTC) #10
samli
On 2015/09/09 at 19:07:34, paulirish wrote: > We're thinking the dots don't look actionable. > ...
5 years, 3 months ago (2015-09-09 20:28:29 UTC) #11
samli
ping, is there an issue with this? This is behind the material experiment.
5 years, 3 months ago (2015-09-15 20:45:34 UTC) #12
pfeldman
https://codereview.chromium.org/1304173004/diff/140001/Source/devtools/front_end/elements/ElementsTreeOutline.js File Source/devtools/front_end/elements/ElementsTreeOutline.js (right): https://codereview.chromium.org/1304173004/diff/140001/Source/devtools/front_end/elements/ElementsTreeOutline.js#newcode446 Source/devtools/front_end/elements/ElementsTreeOutline.js:446: _createNodeToolbar: function() I think this all needs to be ...
5 years, 3 months ago (2015-09-15 20:56:50 UTC) #13
samli
PTAL. Updated, also removes elements toolbar completely.
5 years, 3 months ago (2015-09-16 21:36:22 UTC) #14
pfeldman
https://codereview.chromium.org/1304173004/diff/180001/Source/devtools/front_end/elements/ElementsPanel.js File Source/devtools/front_end/elements/ElementsPanel.js (right): https://codereview.chromium.org/1304173004/diff/180001/Source/devtools/front_end/elements/ElementsPanel.js#newcode155 Source/devtools/front_end/elements/ElementsPanel.js:155: _initializeActionsToolbar: function() Move this above for a better diff. ...
5 years, 3 months ago (2015-09-16 21:53:14 UTC) #15
samli
Addressed all comments, PTAL. https://codereview.chromium.org/1304173004/diff/180001/Source/devtools/front_end/elements/ElementsPanel.js File Source/devtools/front_end/elements/ElementsPanel.js (right): https://codereview.chromium.org/1304173004/diff/180001/Source/devtools/front_end/elements/ElementsPanel.js#newcode213 Source/devtools/front_end/elements/ElementsPanel.js:213: if (this._forceShowActions) { On 2015/09/16 ...
5 years, 3 months ago (2015-09-16 22:12:54 UTC) #16
pfeldman
Upload?
5 years, 3 months ago (2015-09-16 22:14:43 UTC) #17
samli
On 2015/09/16 at 22:14:43, pfeldman wrote: > Upload? Oops, didn't press enter
5 years, 3 months ago (2015-09-16 22:15:38 UTC) #18
samli
Done, did not add a clear button here.
5 years, 3 months ago (2015-09-16 23:25:38 UTC) #19
pfeldman
https://codereview.chromium.org/1304173004/diff/220001/Source/devtools/front_end/elements/ElementsPanel.js File Source/devtools/front_end/elements/ElementsPanel.js (right): https://codereview.chromium.org/1304173004/diff/220001/Source/devtools/front_end/elements/ElementsPanel.js#newcode166 Source/devtools/front_end/elements/ElementsPanel.js:166: if (treeElement.selected && actionsToolbar.__node !== node) { You just ...
5 years, 3 months ago (2015-09-17 00:06:18 UTC) #20
pfeldman
lgtm % nits
5 years, 3 months ago (2015-09-17 00:08:04 UTC) #21
samli
https://codereview.chromium.org/1304173004/diff/220001/Source/devtools/front_end/elements/ElementsPanel.js File Source/devtools/front_end/elements/ElementsPanel.js (right): https://codereview.chromium.org/1304173004/diff/220001/Source/devtools/front_end/elements/ElementsPanel.js#newcode166 Source/devtools/front_end/elements/ElementsPanel.js:166: if (treeElement.selected && actionsToolbar.__node !== node) { On 2015/09/17 ...
5 years, 3 months ago (2015-09-17 18:08:04 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1304173004/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1304173004/230001
5 years, 3 months ago (2015-09-17 18:08:49 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/114593)
5 years, 3 months ago (2015-09-17 18:11:11 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1304173004/250001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1304173004/250001
5 years, 3 months ago (2015-09-17 21:09:01 UTC) #30
commit-bot: I haz the power
5 years, 3 months ago (2015-09-17 22:50:08 UTC) #31
Message was sent while issue was closed.
Committed patchset #14 (id:250001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=202482

Powered by Google App Engine
This is Rietveld 408576698