Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/CONST/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6145,7 +6145,6 @@ const CONST = {
VIDEO_URL: `${CLOUDFRONT_URL}/videos/guided-setup-track-business-v2.mp4`,
LEARN_MORE_LINK: `${USE_EXPENSIFY_URL}/track-expenses`,
},
TEST_DRIVE_COVER_ASPECT_RATIO: 1000 / 508,
},

/**
Expand Down Expand Up @@ -8005,7 +8004,6 @@ const CONST = {
START_CHAT: 'FABMenu-StartChat',
SEND_INVOICE: 'FABMenu-SendInvoice',
BOOK_TRAVEL: 'FABMenu-BookTravel',
TEST_DRIVE: 'FABMenu-TestDrive',
NEW_WORKSPACE: 'FABMenu-NewWorkspace',
QUICK_ACTION: 'FABMenu-QuickAction',
},
Expand Down Expand Up @@ -8346,10 +8344,6 @@ const CONST = {
DISCOVER_SECTION: {
TEST_DRIVE: 'DiscoverSection-TestDrive',
},
TEST_DRIVE_MODAL: {
SKIP: 'TestDriveModal-Skip',
START: 'TestDriveModal-Start',
},
HOME_PAGE: {
WIDGET_ITEM: 'HomePage-WidgetItem',
GETTING_STARTED_ROW: 'HomePage-GettingStartedRow',
Expand Down
1 change: 0 additions & 1 deletion src/NAVIGATORS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export default {
ONBOARDING_MODAL_NAVIGATOR: 'OnboardingModalNavigator',
FEATURE_TRAINING_MODAL_NAVIGATOR: 'FeatureTrainingModalNavigator',
MIGRATED_USER_MODAL_NAVIGATOR: 'MigratedUserModalNavigator',
TEST_DRIVE_MODAL_NAVIGATOR: 'TestDriveModalNavigator',
TEST_DRIVE_DEMO_NAVIGATOR: 'TestDriveDemoNavigator',
REPORTS_SPLIT_NAVIGATOR: 'ReportsSplitNavigator',
SETTINGS_SPLIT_NAVIGATOR: 'SettingsSplitNavigator',
Expand Down
4 changes: 0 additions & 4 deletions src/ROUTES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3380,10 +3380,6 @@ const ROUTES = {
// eslint-disable-next-line @typescript-eslint/no-deprecated -- Legacy route generation, consistent with other onboarding routes
getRoute: (backTo?: string) => getUrlWithBackToParam(`onboarding/personaltrackcase`, backTo),
},
TEST_DRIVE_MODAL_ROOT: {
route: 'onboarding/test-drive',
getRoute: (bossEmail?: string) => `onboarding/test-drive${bossEmail ? `?bossEmail=${encodeURIComponent(bossEmail)}` : ''}` as const,
},
TEST_DRIVE_DEMO_ROOT: 'onboarding/test-drive/demo',
AUTO_SUBMIT_MODAL_ROOT: '/auto-submit',
WORKSPACE_CONFIRMATION: {
Expand Down
3 changes: 0 additions & 3 deletions src/SCREENS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -975,9 +975,6 @@ const SCREENS = {
ROOT: 'MigratedUserWelcomeModal_Root',
},

TEST_DRIVE_MODAL: {
ROOT: 'TestDrive_Modal_Root',
},
TEST_DRIVE_DEMO: {
ROOT: 'TestDrive_Demo_Root',
},
Expand Down
2 changes: 0 additions & 2 deletions src/components/FeatureTrainingModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,3 @@ function FeatureTrainingModal({
}

export default FeatureTrainingModal;

export type {FeatureTrainingModalProps};
60 changes: 0 additions & 60 deletions src/components/TestDrive/Modal/AdminTestDriveModal.tsx

This file was deleted.

82 changes: 0 additions & 82 deletions src/components/TestDrive/Modal/BaseTestDriveModal.tsx

This file was deleted.

155 changes: 0 additions & 155 deletions src/components/TestDrive/Modal/EmployeeTestDriveModal.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions src/components/TestDrive/Modal/index.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion src/components/TestDrive/TestDriveDemo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function TestDriveDemo() {
Navigation.goBack();

if (shouldOpenRHPVariant()) {
Log.hmmm('[AdminTestDriveModal] User was redirected to Workspace Editor, skipping navigation to admin room');
Log.hmmm('[TestDriveDemo] User was redirected to Workspace Editor, skipping navigation to admin room');
return;
}
if (isAdminRoom(onboardingReport)) {
Expand Down
Loading
Loading