diff --git a/assets/images/home.svg b/assets/images/home.svg
index 9d9302ab6319b..6bc6bf833f2c3 100644
--- a/assets/images/home.svg
+++ b/assets/images/home.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/contributingGuides/NAVIGATION.md b/contributingGuides/NAVIGATION.md
index 35b18e8b173b6..026c122790e1c 100644
--- a/contributingGuides/NAVIGATION.md
+++ b/contributingGuides/NAVIGATION.md
@@ -64,7 +64,7 @@ import Navigation from '@libs/Navigation/Navigation';
import ROUTES from '@src/ROUTES';
// Basic navigation to a route
-Navigation.navigate(ROUTES.HOME);
+Navigation.navigate(ROUTES.INBOX);
// Navigation with parameters
Navigation.navigate(
@@ -1344,7 +1344,7 @@ import {ROUTES} from '@src/ROUTES';
Navigation.goBack();
// Back navigation with fallback
-Navigation.goBack(ROUTES.HOME);
+Navigation.goBack(ROUTES.INBOX);
const reportID = 123;
// Back navigation to a route with specific params
diff --git a/src/CONST/index.ts b/src/CONST/index.ts
index 17ae75357d2cb..cc0a933af57de 100755
--- a/src/CONST/index.ts
+++ b/src/CONST/index.ts
@@ -7944,6 +7944,7 @@ const CONST = {
REPORTS: 'NavigationTabBar-Reports',
WORKSPACES: 'NavigationTabBar-Workspaces',
ACCOUNT: 'NavigationTabBar-Account',
+ HOME: 'NavigationTabBar-Home',
FLOATING_ACTION_BUTTON: 'NavigationTabBar-FloatingActionButton',
FLOATING_RECEIPT_BUTTON: 'NavigationTabBar-FloatingReceiptButton',
},
diff --git a/src/ROUTES.ts b/src/ROUTES.ts
index d0bb5e0ed1e8d..10f1331eb97ba 100644
--- a/src/ROUTES.ts
+++ b/src/ROUTES.ts
@@ -60,7 +60,9 @@ const MULTIFACTOR_AUTHENTICATION_PROTECTED_ROUTES = {
const ROUTES = {
...PUBLIC_SCREENS_ROUTES,
// This route renders the list of reports.
- HOME: 'home',
+ INBOX: 'home',
+ // @TODO: Rename it to 'home' and INBOX to 'inbox' when removing the newDotHome beta
+ HOME: 'home-page',
// eslint-disable-next-line no-restricted-syntax -- Legacy route generation
WORKSPACES_LIST: {route: 'workspaces', getRoute: (backTo?: string) => getUrlWithBackToParam('workspaces', backTo)},
diff --git a/src/SCREENS.ts b/src/SCREENS.ts
index c672d4e1a0c80..d43b2eddf91f8 100644
--- a/src/SCREENS.ts
+++ b/src/SCREENS.ts
@@ -6,6 +6,7 @@ import type DeepValueOf from './types/utils/DeepValueOf';
const PROTECTED_SCREENS = {
HOME: 'Home',
+ INBOX: 'Inbox',
CONCIERGE: 'Concierge',
REPORT_ATTACHMENTS: 'ReportAttachments',
REPORT_ADD_ATTACHMENT: 'ReportAddAttachment',
diff --git a/src/components/FloatingActionButton.tsx b/src/components/FloatingActionButton.tsx
index 783fe383530a6..debb870f86493 100644
--- a/src/components/FloatingActionButton.tsx
+++ b/src/components/FloatingActionButton.tsx
@@ -6,6 +6,7 @@ import {View} from 'react-native';
import Animated, {Easing, interpolateColor, useAnimatedStyle, useSharedValue, withTiming} from 'react-native-reanimated';
import Svg, {Path} from 'react-native-svg';
import useLocalize from '@hooks/useLocalize';
+import usePermissions from '@hooks/usePermissions';
import useResponsiveLayout from '@hooks/useResponsiveLayout';
import useTheme from '@hooks/useTheme';
import useThemeStyles from '@hooks/useThemeStyles';
@@ -53,6 +54,8 @@ function FloatingActionButton({onPress, onLongPress, isActive, accessibilityLabe
const {shouldUseNarrowLayout} = useResponsiveLayout();
const isLHBVisible = !shouldUseNarrowLayout;
const {translate} = useLocalize();
+ const {isBetaEnabled} = usePermissions();
+ const isNewDotHomeEnabled = isBetaEnabled(CONST.BETAS.NEW_DOT_HOME);
const fabSize = isLHBVisible ? variables.iconSizeSmall : variables.iconSizeNormal;
@@ -94,7 +97,7 @@ function FloatingActionButton({onPress, onLongPress, isActive, accessibilityLabe
onLongPress?.(event);
};
- if (isLHBVisible) {
+ if (isLHBVisible || isNewDotHomeEnabled) {
return (