From 83abc69347091ca175a3541db6ad93ede011ec62 Mon Sep 17 00:00:00 2001 From: "Shridhar Goel (via MelvinBot)" Date: Fri, 17 Apr 2026 15:30:49 +0000 Subject: [PATCH] Remove test drive option from Global Create FAB menu The test drive flow has been deprecated. This removes the TestDriveMenuItem from the FAB popover menu and its entry in the FAB_ITEM_ORDER array. Co-authored-by: Shridhar Goel --- src/pages/inbox/sidebar/FABPopoverContent/FABPopoverMenu.tsx | 1 - src/pages/inbox/sidebar/FloatingActionButtonAndPopover.tsx | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/pages/inbox/sidebar/FABPopoverContent/FABPopoverMenu.tsx b/src/pages/inbox/sidebar/FABPopoverContent/FABPopoverMenu.tsx index b843c41f52bd..f3a491d58077 100644 --- a/src/pages/inbox/sidebar/FABPopoverContent/FABPopoverMenu.tsx +++ b/src/pages/inbox/sidebar/FABPopoverContent/FABPopoverMenu.tsx @@ -20,7 +20,6 @@ const FAB_ITEM_ORDER = [ CONST.FAB_MENU_ITEM_IDS.NEW_CHAT, CONST.FAB_MENU_ITEM_IDS.INVOICE, CONST.FAB_MENU_ITEM_IDS.TRAVEL, - CONST.FAB_MENU_ITEM_IDS.TEST_DRIVE, CONST.FAB_MENU_ITEM_IDS.NEW_WORKSPACE, CONST.FAB_MENU_ITEM_IDS.QUICK_ACTION, ] as const; diff --git a/src/pages/inbox/sidebar/FloatingActionButtonAndPopover.tsx b/src/pages/inbox/sidebar/FloatingActionButtonAndPopover.tsx index 1353aeb54108..d69ea73da64d 100644 --- a/src/pages/inbox/sidebar/FloatingActionButtonAndPopover.tsx +++ b/src/pages/inbox/sidebar/FloatingActionButtonAndPopover.tsx @@ -14,7 +14,6 @@ import InvoiceMenuItem from './FABPopoverContent/menuItems/InvoiceMenuItem'; import NewChatMenuItem from './FABPopoverContent/menuItems/NewChatMenuItem'; import NewWorkspaceMenuItem from './FABPopoverContent/menuItems/NewWorkspaceMenuItem'; import QuickActionMenuItem from './FABPopoverContent/menuItems/QuickActionMenuItem'; -import TestDriveMenuItem from './FABPopoverContent/menuItems/TestDriveMenuItem'; import TrackDistanceMenuItem from './FABPopoverContent/menuItems/TrackDistanceMenuItem'; import TravelMenuItem from './FABPopoverContent/menuItems/TravelMenuItem'; @@ -75,7 +74,6 @@ function FloatingActionButtonAndPopover() { -