From 5a64fc258205b671bffd3ed551664e84168cd2b6 Mon Sep 17 00:00:00 2001 From: JustinKol <144163838+JustinKol@users.noreply.github.com> Date: Wed, 21 Feb 2024 13:30:04 -0500 Subject: [PATCH] Revert "Adding CESCVA feedback button (#1736)" (#1753) This reverts commit 9cebe5f9ba1606fb3c4a3942d99856231fea4490. --- src/Explorer/Explorer.tsx | 8 -------- .../Menus/CommandBar/CommandBarComponentButtonFactory.tsx | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/Explorer/Explorer.tsx b/src/Explorer/Explorer.tsx index 4af478475..3a945d3ed 100644 --- a/src/Explorer/Explorer.tsx +++ b/src/Explorer/Explorer.tsx @@ -296,14 +296,6 @@ export default class Explorer { } } - public async openCESCVAFeedbackBlade(): Promise { - sendMessage({ type: MessageTypes.OpenCESCVAFeedbackBlade }); - Logger.logInfo( - `CES CVA Feedback logging current date when survey is shown ${Date.now().toString()}`, - "Explorer/openCESCVAFeedbackBlade", - ); - } - public async refreshDatabaseForResourceToken(): Promise { const databaseId = userContext.parsedResourceToken?.databaseId; const collectionId = userContext.parsedResourceToken?.collectionId; diff --git a/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx b/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx index cdb478ad8..78810e9db 100644 --- a/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx +++ b/src/Explorer/Menus/CommandBar/CommandBarComponentButtonFactory.tsx @@ -236,7 +236,7 @@ export function createControlCommandBarButtons(container: Explorer): CommandButt const feedbackButtonOptions: CommandButtonComponentProps = { iconSrc: FeedbackIcon, iconAlt: label, - onCommandClick: () => container.openCESCVAFeedbackBlade(), + onCommandClick: () => container.provideFeedbackEmail(), commandButtonLabel: undefined, ariaLabel: label, tooltipText: label,