From 2f7f9569f7461e71aae11afa47df5d92e4b8a756 Mon Sep 17 00:00:00 2001 From: hawkgs Date: Thu, 17 Jul 2025 14:19:48 +0300 Subject: [PATCH] refactor(devtools): rearrange main toolbar menu buttons (#62684) Place the version in the info menu and move both the info and gear buttons to the right-hand side of the toolbar. PR Close #62684 --- .../cypress/integration/comment-nodes.e2e.js | 2 +- .../devtools-tabs.component.html | 75 ++++++----- .../devtools-tabs.component.scss | 127 ++++++++---------- .../devtools-tabs/devtools-tabs.component.ts | 2 +- 4 files changed, 100 insertions(+), 106 deletions(-) diff --git a/devtools/cypress/integration/comment-nodes.e2e.js b/devtools/cypress/integration/comment-nodes.e2e.js index 07595c8345d..2096f5f5b2e 100644 --- a/devtools/cypress/integration/comment-nodes.e2e.js +++ b/devtools/cypress/integration/comment-nodes.e2e.js @@ -7,7 +7,7 @@ */ function showComments() { - cy.get('#main-toolbar > .tools > button:nth-child(2)').click(); + cy.get('.main-toolbar > .settings > button:last-child').click(); cy.get('.cdk-overlay-container mat-slide-toggle + span:contains("Show comment nodes")').click(); } diff --git a/devtools/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.html b/devtools/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.html index 24cef9cd834..2ce419fd98f 100644 --- a/devtools/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.html +++ b/devtools/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.html @@ -1,14 +1,13 @@ -
+
- - -