Code cleanup

This commit is contained in:
Bala Lakshmi Narayanasami 2022-05-09 19:04:17 +05:30
parent 6add6d2e86
commit 7ffc1bc35a
3 changed files with 3 additions and 30 deletions

View File

@ -18,7 +18,7 @@
"workers/libs/**": true "workers/libs/**": true
}, },
"typescript.tsdk": "node_modules/typescript/lib", "typescript.tsdk": "node_modules/typescript/lib",
"editor.formatOnSave": true, "editor.formatOnSave": false,
"editor.codeActionsOnSave": { "editor.codeActionsOnSave": {
"source.fixAll.eslint": true, "source.fixAll.eslint": true,
"source.organizeImports": true "source.organizeImports": true

View File

@ -217,27 +217,6 @@ export function createControlCommandBarButtons(container: Explorer): CommandButt
disabled: false, disabled: false,
className: "fonticoncustom" className: "fonticoncustom"
}; };
// const label = "Chat Assistant";
// const supportPaneButton: CommandButtonComponentProps = {
// iconSrc: FeedbackPortalIcon,
// iconAlt: label,
// onCommandClick: () => {
// useSidePanel.getState().openSidePanel("Chat Assistant (Beta)", <SupportPaneComponent
// directLineToken={container.conversationToken()}
// userToken={userContext.authorizationToken}
// subId={userContext.subscriptionId}
// rg={userContext.resourceGroup}
// accName={userContext.databaseAccount.name}
// />);
// },
// commandButtonLabel: undefined,
// ariaLabel: label,
// tooltipText: label,
// hasPopup: false,
// disabled: false,
// className: "Chatbot",
// };
buttons.push(supportPaneButton); buttons.push(supportPaneButton);
} }

View File

@ -22,17 +22,11 @@
.panelInfoIcon { .panelInfoIcon {
font-size: @mediumFontSize; font-size: @mediumFontSize;
width: @mediumFontSize; width: @mediumFontSize;
margin: auto 10 auto @SmallSpace; margin: auto 0 auto @SmallSpace;
cursor: default; cursor: default;
vertical-align: middle; vertical-align: middle;
} }
.customIcon {
height: 80% !important;
padding-top: 20px !important;
margin-top: 20px !important;
}
.panelTextBold { .panelTextBold {
font-weight: 600; font-weight: 600;
line-height: 20px; line-height: 20px;