From 7ffc1bc35ae0df46208e8b99a2e56071f80bd05d Mon Sep 17 00:00:00 2001 From: Bala Lakshmi Narayanasami Date: Mon, 9 May 2022 19:04:17 +0530 Subject: [PATCH] Code cleanup --- .vscode/settings.json | 4 ++-- .../CommandBarComponentButtonFactory.tsx | 21 ------------------- src/Explorer/Panes/PanelComponent.less | 8 +------ 3 files changed, 3 insertions(+), 30 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 0716cae8f..fae02df07 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -18,10 +18,10 @@ "workers/libs/**": true }, "typescript.tsdk": "node_modules/typescript/lib", - "editor.formatOnSave": true, + "editor.formatOnSave": false, "editor.codeActionsOnSave": { "source.fixAll.eslint": true, "source.organizeImports": true }, "typescript.preferences.importModuleSpecifier": "non-relative" -} +} \ No newline at end of file diff --git a/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx b/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx index b7611e62f..cac221d15 100644 --- a/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx +++ b/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx @@ -217,27 +217,6 @@ export function createControlCommandBarButtons(container: Explorer): CommandButt disabled: false, className: "fonticoncustom" }; - - // const label = "Chat Assistant"; - // const supportPaneButton: CommandButtonComponentProps = { - // iconSrc: FeedbackPortalIcon, - // iconAlt: label, - // onCommandClick: () => { - // useSidePanel.getState().openSidePanel("Chat Assistant (Beta)", ); - // }, - // commandButtonLabel: undefined, - // ariaLabel: label, - // tooltipText: label, - // hasPopup: false, - // disabled: false, - // className: "Chatbot", - // }; buttons.push(supportPaneButton); } diff --git a/src/Explorer/Panes/PanelComponent.less b/src/Explorer/Panes/PanelComponent.less index 4b62ca31e..75e36786a 100644 --- a/src/Explorer/Panes/PanelComponent.less +++ b/src/Explorer/Panes/PanelComponent.less @@ -22,17 +22,11 @@ .panelInfoIcon { font-size: @mediumFontSize; width: @mediumFontSize; - margin: auto 10 auto @SmallSpace; + margin: auto 0 auto @SmallSpace; cursor: default; vertical-align: middle; } - .customIcon { - height: 80% !important; - padding-top: 20px !important; - margin-top: 20px !important; - } - .panelTextBold { font-weight: 600; line-height: 20px;