diff --git a/src/Expensify.tsx b/src/Expensify.tsx index b3947c1f3aba..be2d83ad55a1 100644 --- a/src/Expensify.tsx +++ b/src/Expensify.tsx @@ -55,8 +55,8 @@ import './libs/telemetry/TelemetrySynchronizer'; import './libs/UnreadIndicatorUpdater'; import Visibility from './libs/Visibility'; import ONYXKEYS from './ONYXKEYS'; -import PopoverReportActionContextMenu from './pages/home/report/ContextMenu/PopoverReportActionContextMenu'; -import * as ReportActionContextMenu from './pages/home/report/ContextMenu/ReportActionContextMenu'; +import PopoverReportActionContextMenu from './pages/inbox/report/ContextMenu/PopoverReportActionContextMenu'; +import * as ReportActionContextMenu from './pages/inbox/report/ContextMenu/ReportActionContextMenu'; import type {Route} from './ROUTES'; import {useSplashScreenActions, useSplashScreenState} from './SplashScreenStateContext'; import type {ScreenShareRequest} from './types/onyx'; diff --git a/src/components/AccountSwitcher.tsx b/src/components/AccountSwitcher.tsx index b347b69ebb96..997b8891a71b 100644 --- a/src/components/AccountSwitcher.tsx +++ b/src/components/AccountSwitcher.tsx @@ -15,7 +15,7 @@ import {clearDelegatorErrors, connect, disconnect} from '@libs/actions/Delegate' import {close} from '@libs/actions/Modal'; import {getLatestError} from '@libs/ErrorUtils'; import {getPersonalDetailByEmail} from '@libs/PersonalDetailsUtils'; -import TextWithEmojiFragment from '@pages/home/report/comment/TextWithEmojiFragment'; +import TextWithEmojiFragment from '@pages/inbox/report/comment/TextWithEmojiFragment'; import variables from '@styles/variables'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; diff --git a/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly.tsx b/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly.tsx index 5c34ce3fee4a..884dcf5d9436 100644 --- a/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly.tsx +++ b/src/components/AnchorForCommentsOnly/BaseAnchorForCommentsOnly.tsx @@ -11,7 +11,7 @@ import useResponsiveLayout from '@hooks/useResponsiveLayout'; import useStyleUtils from '@hooks/useStyleUtils'; import useThemeStyles from '@hooks/useThemeStyles'; import {canUseTouchScreen} from '@libs/DeviceCapabilities'; -import {hideContextMenu, showContextMenu} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import {hideContextMenu, showContextMenu} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import CONST from '@src/CONST'; import type {BaseAnchorForCommentsOnlyProps, LinkProps} from './types'; diff --git a/src/components/DisplayNames/index.native.tsx b/src/components/DisplayNames/index.native.tsx index b59564609767..a3aedfcd8b53 100644 --- a/src/components/DisplayNames/index.native.tsx +++ b/src/components/DisplayNames/index.native.tsx @@ -4,7 +4,7 @@ import useLocalize from '@hooks/useLocalize'; import {containsCustomEmoji, containsOnlyCustomEmoji} from '@libs/EmojiUtils'; import Parser from '@libs/Parser'; import StringUtils from '@libs/StringUtils'; -import TextWithEmojiFragment from '@pages/home/report/comment/TextWithEmojiFragment'; +import TextWithEmojiFragment from '@pages/inbox/report/comment/TextWithEmojiFragment'; import type DisplayNamesProps from './types'; // As we don't have to show tooltips of the Native platform so we simply render the full display names list. diff --git a/src/components/EmptyStateComponent/index.tsx b/src/components/EmptyStateComponent/index.tsx index 9e3cb9dd0126..ced3a2025f0e 100644 --- a/src/components/EmptyStateComponent/index.tsx +++ b/src/components/EmptyStateComponent/index.tsx @@ -11,7 +11,7 @@ import VideoPlayer from '@components/VideoPlayer'; import useResponsiveLayout from '@hooks/useResponsiveLayout'; import useThemeStyles from '@hooks/useThemeStyles'; import {containsCustomEmoji, containsOnlyCustomEmoji} from '@libs/EmojiUtils'; -import TextWithEmojiFragment from '@pages/home/report/comment/TextWithEmojiFragment'; +import TextWithEmojiFragment from '@pages/inbox/report/comment/TextWithEmojiFragment'; import CONST from '@src/CONST'; import type {EmptyStateComponentProps} from './types'; diff --git a/src/components/LHNOptionsList/OptionRowLHN.tsx b/src/components/LHNOptionsList/OptionRowLHN.tsx index 16790819d875..df0bd683c2f9 100644 --- a/src/components/LHNOptionsList/OptionRowLHN.tsx +++ b/src/components/LHNOptionsList/OptionRowLHN.tsx @@ -29,8 +29,8 @@ import Performance from '@libs/Performance'; import ReportActionComposeFocusManager from '@libs/ReportActionComposeFocusManager'; import {isAdminRoom, isChatUsedForOnboarding as isChatUsedForOnboardingReportUtils, isConciergeChatReport, isGroupChat, isOneOnOneChat, isSystemChat} from '@libs/ReportUtils'; import {startSpan} from '@libs/telemetry/activeSpans'; -import TextWithEmojiFragment from '@pages/home/report/comment/TextWithEmojiFragment'; -import {showContextMenu} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import TextWithEmojiFragment from '@pages/inbox/report/comment/TextWithEmojiFragment'; +import {showContextMenu} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import FreeTrial from '@pages/settings/Subscription/FreeTrial'; import variables from '@styles/variables'; import Timing from '@userActions/Timing'; diff --git a/src/components/MenuItem.tsx b/src/components/MenuItem.tsx index 23d5d73eb3d2..ba06841c08c1 100644 --- a/src/components/MenuItem.tsx +++ b/src/components/MenuItem.tsx @@ -18,8 +18,8 @@ import getButtonState from '@libs/getButtonState'; import mergeRefs from '@libs/mergeRefs'; import Parser from '@libs/Parser'; import type {AvatarSource} from '@libs/UserAvatarUtils'; -import TextWithEmojiFragment from '@pages/home/report/comment/TextWithEmojiFragment'; -import {showContextMenu} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import TextWithEmojiFragment from '@pages/inbox/report/comment/TextWithEmojiFragment'; +import {showContextMenu} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import variables from '@styles/variables'; import {callFunctionIfActionIsAllowed} from '@userActions/Session'; import CONST from '@src/CONST'; diff --git a/src/components/MenuItemList.tsx b/src/components/MenuItemList.tsx index e45621aa65bd..3c6b15d3ca1b 100644 --- a/src/components/MenuItemList.tsx +++ b/src/components/MenuItemList.tsx @@ -3,7 +3,7 @@ import React, {useRef} from 'react'; import type {GestureResponderEvent, StyleProp, View, ViewStyle} from 'react-native'; import useSingleExecution from '@hooks/useSingleExecution'; import mergeRefs from '@libs/mergeRefs'; -import {showContextMenu} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import {showContextMenu} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import CONST from '@src/CONST'; import type * as OnyxCommon from '@src/types/onyx/OnyxCommon'; import type IconAsset from '@src/types/utils/IconAsset'; diff --git a/src/components/MoneyReportHeader.tsx b/src/components/MoneyReportHeader.tsx index c4b7c7cea435..814d0658badd 100644 --- a/src/components/MoneyReportHeader.tsx +++ b/src/components/MoneyReportHeader.tsx @@ -101,7 +101,7 @@ import { isScanning, shouldShowBrokenConnectionViolationForMultipleTransactions, } from '@libs/TransactionUtils'; -import type {ExportType} from '@pages/home/report/ReportDetailsExportPage'; +import type {ExportType} from '@pages/inbox/report/ReportDetailsExportPage'; import variables from '@styles/variables'; import { approveMoneyRequest, diff --git a/src/components/MoneyRequestReportView/MoneyRequestReportActionsList.tsx b/src/components/MoneyRequestReportView/MoneyRequestReportActionsList.tsx index 6c03be04eef0..f63c39d6eacf 100644 --- a/src/components/MoneyRequestReportView/MoneyRequestReportActionsList.tsx +++ b/src/components/MoneyRequestReportView/MoneyRequestReportActionsList.tsx @@ -58,11 +58,11 @@ import markOpenReportEnd from '@libs/telemetry/markOpenReportEnd'; import {isTransactionPendingDelete} from '@libs/TransactionUtils'; import Visibility from '@libs/Visibility'; import isSearchTopmostFullScreenRoute from '@navigation/helpers/isSearchTopmostFullScreenRoute'; -import FloatingMessageCounter from '@pages/home/report/FloatingMessageCounter'; -import getInitialNumToRender from '@pages/home/report/getInitialNumReportActionsToRender'; -import ReportActionsListItemRenderer from '@pages/home/report/ReportActionsListItemRenderer'; -import shouldDisplayNewMarkerOnReportAction from '@pages/home/report/shouldDisplayNewMarkerOnReportAction'; -import useReportUnreadMessageScrollTracking from '@pages/home/report/useReportUnreadMessageScrollTracking'; +import FloatingMessageCounter from '@pages/inbox/report/FloatingMessageCounter'; +import getInitialNumToRender from '@pages/inbox/report/getInitialNumReportActionsToRender'; +import ReportActionsListItemRenderer from '@pages/inbox/report/ReportActionsListItemRenderer'; +import shouldDisplayNewMarkerOnReportAction from '@pages/inbox/report/shouldDisplayNewMarkerOnReportAction'; +import useReportUnreadMessageScrollTracking from '@pages/inbox/report/useReportUnreadMessageScrollTracking'; import variables from '@styles/variables'; import {openReport, readNewestAction, subscribeToNewActionEvent} from '@userActions/Report'; import CONST from '@src/CONST'; diff --git a/src/components/MoneyRequestReportView/MoneyRequestReportView.tsx b/src/components/MoneyRequestReportView/MoneyRequestReportView.tsx index f96ce35ec9f3..324fd1a748b0 100644 --- a/src/components/MoneyRequestReportView/MoneyRequestReportView.tsx +++ b/src/components/MoneyRequestReportView/MoneyRequestReportView.tsx @@ -29,8 +29,8 @@ import {canEditReportAction, getReportOfflinePendingActionAndErrors, isReportTra import {buildCannedSearchQuery} from '@libs/SearchQueryUtils'; import {cancelSpan} from '@libs/telemetry/activeSpans'; import Navigation from '@navigation/Navigation'; -import ReportActionsView from '@pages/home/report/ReportActionsView'; -import ReportFooter from '@pages/home/report/ReportFooter'; +import ReportActionsView from '@pages/inbox/report/ReportActionsView'; +import ReportFooter from '@pages/inbox/report/ReportFooter'; import CONST from '@src/CONST'; import NAVIGATORS from '@src/NAVIGATORS'; import ONYXKEYS from '@src/ONYXKEYS'; diff --git a/src/components/Navigation/NavigationTabBar/HomeNavigationTabBar.tsx b/src/components/Navigation/NavigationTabBar/HomeNavigationTabBar.tsx index fa34e27dc461..30648c47f653 100644 --- a/src/components/Navigation/NavigationTabBar/HomeNavigationTabBar.tsx +++ b/src/components/Navigation/NavigationTabBar/HomeNavigationTabBar.tsx @@ -37,8 +37,8 @@ import type {BrickRoad} from '@libs/WorkspacesSettingsUtils'; import {getChatTabBrickRoad} from '@libs/WorkspacesSettingsUtils'; import navigationRef from '@navigation/navigationRef'; import type {DomainSplitNavigatorParamList, RootNavigatorParamList, SearchFullscreenNavigatorParamList, State, WorkspaceSplitNavigatorParamList} from '@navigation/types'; -import NavigationTabBarAvatar from '@pages/home/sidebar/NavigationTabBarAvatar'; -import NavigationTabBarFloatingActionButton from '@pages/home/sidebar/NavigationTabBarFloatingActionButton'; +import NavigationTabBarAvatar from '@pages/inbox/sidebar/NavigationTabBarAvatar'; +import NavigationTabBarFloatingActionButton from '@pages/inbox/sidebar/NavigationTabBarFloatingActionButton'; import variables from '@styles/variables'; import CONST from '@src/CONST'; import NAVIGATORS from '@src/NAVIGATORS'; diff --git a/src/components/Navigation/NavigationTabBar/InboxNavigationTabBar.tsx b/src/components/Navigation/NavigationTabBar/InboxNavigationTabBar.tsx index 94c0334d581d..c6e746dffa61 100644 --- a/src/components/Navigation/NavigationTabBar/InboxNavigationTabBar.tsx +++ b/src/components/Navigation/NavigationTabBar/InboxNavigationTabBar.tsx @@ -37,8 +37,8 @@ import type {BrickRoad} from '@libs/WorkspacesSettingsUtils'; import {getChatTabBrickRoad} from '@libs/WorkspacesSettingsUtils'; import navigationRef from '@navigation/navigationRef'; import type {DomainSplitNavigatorParamList, RootNavigatorParamList, SearchFullscreenNavigatorParamList, State, WorkspaceSplitNavigatorParamList} from '@navigation/types'; -import NavigationTabBarAvatar from '@pages/home/sidebar/NavigationTabBarAvatar'; -import NavigationTabBarFloatingActionButton from '@pages/home/sidebar/NavigationTabBarFloatingActionButton'; +import NavigationTabBarAvatar from '@pages/inbox/sidebar/NavigationTabBarAvatar'; +import NavigationTabBarFloatingActionButton from '@pages/inbox/sidebar/NavigationTabBarFloatingActionButton'; import variables from '@styles/variables'; import CONST from '@src/CONST'; import NAVIGATORS from '@src/NAVIGATORS'; diff --git a/src/components/Navigation/TopBar.tsx b/src/components/Navigation/TopBar.tsx index 71e7a9aa5f50..c84f90722521 100644 --- a/src/components/Navigation/TopBar.tsx +++ b/src/components/Navigation/TopBar.tsx @@ -11,7 +11,7 @@ import useLoadingBarVisibility from '@hooks/useLoadingBarVisibility'; import useLocalize from '@hooks/useLocalize'; import useOnyx from '@hooks/useOnyx'; import useThemeStyles from '@hooks/useThemeStyles'; -import SignInButton from '@pages/home/sidebar/SignInButton'; +import SignInButton from '@pages/inbox/sidebar/SignInButton'; import {isAnonymousUser as isAnonymousUserUtil} from '@userActions/Session'; import ONYXKEYS from '@src/ONYXKEYS'; import type {Session} from '@src/types/onyx'; diff --git a/src/components/Reactions/AddReactionBubble.tsx b/src/components/Reactions/AddReactionBubble.tsx index 773076f46ffc..bcf856f90252 100644 --- a/src/components/Reactions/AddReactionBubble.tsx +++ b/src/components/Reactions/AddReactionBubble.tsx @@ -10,7 +10,7 @@ import useLocalize from '@hooks/useLocalize'; import useStyleUtils from '@hooks/useStyleUtils'; import useThemeStyles from '@hooks/useThemeStyles'; import getButtonState from '@libs/getButtonState'; -import {contextMenuRef} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import {contextMenuRef} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import variables from '@styles/variables'; import {emojiPickerRef, resetEmojiPopoverAnchor, showEmojiPicker} from '@userActions/EmojiPickerAction'; import type {AnchorOrigin} from '@userActions/EmojiPickerAction'; diff --git a/src/components/Reactions/EmojiReactionBubble.tsx b/src/components/Reactions/EmojiReactionBubble.tsx index 141fbca3002d..41028c8eafe7 100644 --- a/src/components/Reactions/EmojiReactionBubble.tsx +++ b/src/components/Reactions/EmojiReactionBubble.tsx @@ -5,7 +5,7 @@ import Text from '@components/Text'; import useResponsiveLayout from '@hooks/useResponsiveLayout'; import useStyleUtils from '@hooks/useStyleUtils'; import useThemeStyles from '@hooks/useThemeStyles'; -import type {ReactionListEvent} from '@pages/home/ReportScreenContext'; +import type {ReactionListEvent} from '@pages/inbox/ReportScreenContext'; import CONST from '@src/CONST'; type EmojiReactionBubbleProps = { diff --git a/src/components/Reactions/QuickEmojiReactions/index.tsx b/src/components/Reactions/QuickEmojiReactions/index.tsx index 661338082748..b8e28ee930de 100644 --- a/src/components/Reactions/QuickEmojiReactions/index.tsx +++ b/src/components/Reactions/QuickEmojiReactions/index.tsx @@ -1,5 +1,5 @@ import React from 'react'; -import {contextMenuRef} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import {contextMenuRef} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import CONST from '@src/CONST'; import BaseQuickEmojiReactions from './BaseQuickEmojiReactions'; import type {OpenPickerCallback, QuickEmojiReactionsProps} from './types'; diff --git a/src/components/Reactions/ReportActionItemEmojiReactions.tsx b/src/components/Reactions/ReportActionItemEmojiReactions.tsx index b17837826644..bc8bbb28f178 100644 --- a/src/components/Reactions/ReportActionItemEmojiReactions.tsx +++ b/src/components/Reactions/ReportActionItemEmojiReactions.tsx @@ -10,8 +10,8 @@ import type {WithCurrentUserPersonalDetailsProps} from '@components/withCurrentU import useOnyx from '@hooks/useOnyx'; import useThemeStyles from '@hooks/useThemeStyles'; import {getEmojiReactionDetails, getLocalizedEmojiName} from '@libs/EmojiUtils'; -import {ReactionListContext} from '@pages/home/ReportScreenContext'; -import type {ReactionListAnchor, ReactionListEvent} from '@pages/home/ReportScreenContext'; +import {ReactionListContext} from '@pages/inbox/ReportScreenContext'; +import type {ReactionListAnchor, ReactionListEvent} from '@pages/inbox/ReportScreenContext'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import type {Locale, ReportAction, ReportActionReactions} from '@src/types/onyx'; diff --git a/src/components/ReportActionItem/ExportWithDropdownMenu.tsx b/src/components/ReportActionItem/ExportWithDropdownMenu.tsx index ac64d50c1f1f..0ddf931bb40b 100644 --- a/src/components/ReportActionItem/ExportWithDropdownMenu.tsx +++ b/src/components/ReportActionItem/ExportWithDropdownMenu.tsx @@ -13,7 +13,7 @@ import useThemeStyles from '@hooks/useThemeStyles'; import {savePreferredExportMethod as savePreferredExportMethodUtils} from '@libs/actions/Policy/Policy'; import {exportToIntegration, markAsManuallyExported} from '@libs/actions/Report'; import {canBeExported as canBeExportedUtils, getIntegrationIcon, isExported as isExportedUtils} from '@libs/ReportUtils'; -import type {ExportType} from '@pages/home/report/ReportDetailsExportPage'; +import type {ExportType} from '@pages/inbox/report/ReportDetailsExportPage'; import variables from '@styles/variables'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; diff --git a/src/components/ReportActionItem/MoneyReportView.tsx b/src/components/ReportActionItem/MoneyReportView.tsx index 70e260c4ec45..b484b58de41b 100644 --- a/src/components/ReportActionItem/MoneyReportView.tsx +++ b/src/components/ReportActionItem/MoneyReportView.tsx @@ -36,7 +36,7 @@ import { isSettled as isSettledReportUtils, shouldHideSingleReportField, } from '@libs/ReportUtils'; -import AnimatedEmptyStateBackground from '@pages/home/report/AnimatedEmptyStateBackground'; +import AnimatedEmptyStateBackground from '@pages/inbox/report/AnimatedEmptyStateBackground'; import variables from '@styles/variables'; import CONST from '@src/CONST'; import {clearReportFieldKeyErrors} from '@src/libs/actions/Report'; diff --git a/src/components/ReportActionItem/MoneyRequestAction.tsx b/src/components/ReportActionItem/MoneyRequestAction.tsx index f13ec3ecd32c..758be23528a0 100644 --- a/src/components/ReportActionItem/MoneyRequestAction.tsx +++ b/src/components/ReportActionItem/MoneyRequestAction.tsx @@ -23,9 +23,9 @@ import { isSplitBillAction as isSplitBillActionReportActionsUtils, isTrackExpenseAction as isTrackExpenseActionReportActionsUtils, } from '@libs/ReportActionsUtils'; -import type {ContextMenuAnchor} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; -import {contextMenuRef} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; -import ReportActionItemContext from '@pages/home/report/ReportActionItemContext'; +import type {ContextMenuAnchor} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; +import {contextMenuRef} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; +import ReportActionItemContext from '@pages/inbox/report/ReportActionItemContext'; import CONST from '@src/CONST'; import type {TranslationPaths} from '@src/languages/types'; import ONYXKEYS from '@src/ONYXKEYS'; diff --git a/src/components/ReportActionItem/MoneyRequestReportPreview/index.tsx b/src/components/ReportActionItem/MoneyRequestReportPreview/index.tsx index 957cc1db45f8..918ebb9955a1 100644 --- a/src/components/ReportActionItem/MoneyRequestReportPreview/index.tsx +++ b/src/components/ReportActionItem/MoneyRequestReportPreview/index.tsx @@ -13,7 +13,7 @@ import {getIOUActionForReportID, isSplitBillAction as isSplitBillActionReportAct import {isIOUReport} from '@libs/ReportUtils'; import {startSpan} from '@libs/telemetry/activeSpans'; import Navigation from '@navigation/Navigation'; -import {contextMenuRef} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import {contextMenuRef} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import Timing from '@userActions/Timing'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; diff --git a/src/components/ReportActionItem/MoneyRequestReportPreview/types.ts b/src/components/ReportActionItem/MoneyRequestReportPreview/types.ts index 0fb20456c25c..56eb8b73a0c6 100644 --- a/src/components/ReportActionItem/MoneyRequestReportPreview/types.ts +++ b/src/components/ReportActionItem/MoneyRequestReportPreview/types.ts @@ -2,7 +2,7 @@ import type {LayoutChangeEvent, ListRenderItem, StyleProp, ViewStyle} from 'reac import type {OnyxCollection, OnyxEntry} from 'react-native-onyx'; import type {TransactionPreviewStyleType} from '@components/ReportActionItem/TransactionPreview/types'; import type {ForwardedFSClassProps} from '@libs/Fullstory/types'; -import type {ContextMenuAnchor} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import type {ContextMenuAnchor} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import type {PersonalDetails, Policy, Report, ReportAction, Transaction, TransactionViolations} from '@src/types/onyx'; type TransactionPreviewCarouselStyle = { diff --git a/src/components/ReportActionItem/MoneyRequestView.tsx b/src/components/ReportActionItem/MoneyRequestView.tsx index 3391bb538dbb..d6603b945a84 100644 --- a/src/components/ReportActionItem/MoneyRequestView.tsx +++ b/src/components/ReportActionItem/MoneyRequestView.tsx @@ -103,7 +103,7 @@ import { } from '@libs/TransactionUtils'; import ViolationsUtils from '@libs/Violations/ViolationsUtils'; import Navigation from '@navigation/Navigation'; -import AnimatedEmptyStateBackground from '@pages/home/report/AnimatedEmptyStateBackground'; +import AnimatedEmptyStateBackground from '@pages/inbox/report/AnimatedEmptyStateBackground'; import CONST from '@src/CONST'; import type {TranslationPaths} from '@src/languages/types'; import ONYXKEYS from '@src/ONYXKEYS'; diff --git a/src/components/ReportActionItem/TaskPreview.tsx b/src/components/ReportActionItem/TaskPreview.tsx index 4e98d9af4919..0793670e39ea 100644 --- a/src/components/ReportActionItem/TaskPreview.tsx +++ b/src/components/ReportActionItem/TaskPreview.tsx @@ -30,7 +30,7 @@ import getButtonState from '@libs/getButtonState'; import Navigation from '@libs/Navigation/Navigation'; import Parser from '@libs/Parser'; import {isCanceledTaskReport, isOpenTaskReport, isReportManager} from '@libs/ReportUtils'; -import type {ContextMenuAnchor} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import type {ContextMenuAnchor} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import CONST from '@src/CONST'; import ROUTES from '@src/ROUTES'; import type {Report, ReportAction} from '@src/types/onyx'; diff --git a/src/components/ReportActionItem/TransactionPreview/types.ts b/src/components/ReportActionItem/TransactionPreview/types.ts index 886dcf25a185..daefd011c87b 100644 --- a/src/components/ReportActionItem/TransactionPreview/types.ts +++ b/src/components/ReportActionItem/TransactionPreview/types.ts @@ -1,6 +1,6 @@ import type {GestureResponderEvent, StyleProp, ViewStyle} from 'react-native'; import type {OnyxCollection, OnyxEntry} from 'react-native-onyx'; -import type {ContextMenuAnchor} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import type {ContextMenuAnchor} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import type {PersonalDetailsList, Report, ReportAction, Transaction, TransactionViolations} from '@src/types/onyx'; import type {Errors} from '@src/types/onyx/OnyxCommon'; diff --git a/src/components/ReportActionItem/TripRoomPreview.tsx b/src/components/ReportActionItem/TripRoomPreview.tsx index 0677e62e8aee..a115e968bea6 100644 --- a/src/components/ReportActionItem/TripRoomPreview.tsx +++ b/src/components/ReportActionItem/TripRoomPreview.tsx @@ -22,7 +22,7 @@ import {canUseTouchScreen} from '@libs/DeviceCapabilities'; import Navigation from '@libs/Navigation/Navigation'; import type {ReservationData} from '@libs/TripReservationUtils'; import {getReservationsFromTripReport, getTripReservationIcon, getTripTotal} from '@libs/TripReservationUtils'; -import type {ContextMenuAnchor} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import type {ContextMenuAnchor} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import variables from '@styles/variables'; import CONST from '@src/CONST'; import ROUTES from '@src/ROUTES'; diff --git a/src/components/SelectionListWithSections/ChatListItem.tsx b/src/components/SelectionListWithSections/ChatListItem.tsx index 445ed2b12dbd..c0684bf08164 100644 --- a/src/components/SelectionListWithSections/ChatListItem.tsx +++ b/src/components/SelectionListWithSections/ChatListItem.tsx @@ -3,7 +3,7 @@ import useAnimatedHighlightStyle from '@hooks/useAnimatedHighlightStyle'; import useTheme from '@hooks/useTheme'; import useThemeStyles from '@hooks/useThemeStyles'; import FS from '@libs/Fullstory'; -import ReportActionItem from '@pages/home/report/ReportActionItem'; +import ReportActionItem from '@pages/inbox/report/ReportActionItem'; import variables from '@styles/variables'; import ONYXKEYS from '@src/ONYXKEYS'; import BaseListItem from './BaseListItem'; diff --git a/src/components/ShowContextMenuContext.ts b/src/components/ShowContextMenuContext.ts index 2eaa1fbf46c5..90c873002c09 100644 --- a/src/components/ShowContextMenuContext.ts +++ b/src/components/ShowContextMenuContext.ts @@ -4,8 +4,8 @@ import type {GestureResponderEvent} from 'react-native'; import type {OnyxEntry} from 'react-native-onyx'; import {canUseTouchScreen} from '@libs/DeviceCapabilities'; import {getOriginalReportID} from '@libs/ReportUtils'; -import {showContextMenu} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; -import type {ContextMenuAnchor} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import {showContextMenu} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; +import type {ContextMenuAnchor} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import CONST from '@src/CONST'; import type {Report, ReportAction} from '@src/types/onyx'; diff --git a/src/components/SidePanel/SidePanelReport/index.tsx b/src/components/SidePanel/SidePanelReport/index.tsx index ba6e527107ac..a8c61b697a01 100644 --- a/src/components/SidePanel/SidePanelReport/index.tsx +++ b/src/components/SidePanel/SidePanelReport/index.tsx @@ -2,7 +2,7 @@ import {NavigationRouteContext} from '@react-navigation/native'; import React from 'react'; import type {ExtraContentProps, PlatformStackNavigationProp} from '@libs/Navigation/PlatformStackNavigation/types'; import type {ReportsSplitNavigatorParamList} from '@libs/Navigation/types'; -import ReportScreen from '@pages/home/ReportScreen'; +import ReportScreen from '@pages/inbox/ReportScreen'; import SCREENS from '@src/SCREENS'; type SidePanelReportProps = Pick & { diff --git a/src/components/TextWithCopy.tsx b/src/components/TextWithCopy.tsx index a969edf0dece..498fe1d450fc 100644 --- a/src/components/TextWithCopy.tsx +++ b/src/components/TextWithCopy.tsx @@ -1,7 +1,7 @@ import React, {useRef} from 'react'; import type {GestureResponderEvent, View} from 'react-native'; import useThemeStyles from '@hooks/useThemeStyles'; -import {showContextMenu} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import {showContextMenu} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import CONST from '@src/CONST'; import PressableWithSecondaryInteraction from './PressableWithSecondaryInteraction'; import Text from './Text'; diff --git a/src/hooks/useBasePopoverReactionList/types.ts b/src/hooks/useBasePopoverReactionList/types.ts index ad48b0c14c29..1b944f8cd233 100644 --- a/src/hooks/useBasePopoverReactionList/types.ts +++ b/src/hooks/useBasePopoverReactionList/types.ts @@ -2,7 +2,7 @@ import type {ForwardedRef} from 'react'; import type {OnyxEntry} from 'react-native-onyx'; import type {LocaleContextProps} from '@components/LocaleContextProvider'; import type {WithCurrentUserPersonalDetailsProps} from '@components/withCurrentUserPersonalDetails'; -import type {ReactionListAnchor, ReactionListEvent, ReactionListRef} from '@pages/home/ReportScreenContext'; +import type {ReactionListAnchor, ReactionListEvent, ReactionListRef} from '@pages/inbox/ReportScreenContext'; import type {ReportActionReactions} from '@src/types/onyx'; type BasePopoverReactionListProps = { diff --git a/src/hooks/useReportScrollManager/index.native.ts b/src/hooks/useReportScrollManager/index.native.ts index fa0042a3bf26..39e5a1b66ee7 100644 --- a/src/hooks/useReportScrollManager/index.native.ts +++ b/src/hooks/useReportScrollManager/index.native.ts @@ -1,7 +1,7 @@ import {useCallback, useContext} from 'react'; // eslint-disable-next-line no-restricted-imports import type {ScrollView} from 'react-native'; -import {ActionListContext} from '@pages/home/ReportScreenContext'; +import {ActionListContext} from '@pages/inbox/ReportScreenContext'; import type ReportScrollManagerData from './types'; function useReportScrollManager(): ReportScrollManagerData { diff --git a/src/hooks/useReportScrollManager/index.ts b/src/hooks/useReportScrollManager/index.ts index e5e95b77bbe8..30c383e62c2f 100644 --- a/src/hooks/useReportScrollManager/index.ts +++ b/src/hooks/useReportScrollManager/index.ts @@ -1,5 +1,5 @@ import {useCallback, useContext} from 'react'; -import {ActionListContext} from '@pages/home/ReportScreenContext'; +import {ActionListContext} from '@pages/inbox/ReportScreenContext'; import type ReportScrollManagerData from './types'; function useReportScrollManager(): ReportScrollManagerData { diff --git a/src/hooks/useReportScrollManager/types.ts b/src/hooks/useReportScrollManager/types.ts index 6706f00e1744..44ccda75e55f 100644 --- a/src/hooks/useReportScrollManager/types.ts +++ b/src/hooks/useReportScrollManager/types.ts @@ -1,4 +1,4 @@ -import type {FlatListRefType} from '@pages/home/ReportScreenContext'; +import type {FlatListRefType} from '@pages/inbox/ReportScreenContext'; type ReportScrollManagerData = { ref: FlatListRefType; diff --git a/src/libs/E2E/tests/reportTypingTest.e2e.ts b/src/libs/E2E/tests/reportTypingTest.e2e.ts index b82192177e71..65c91309ff69 100644 --- a/src/libs/E2E/tests/reportTypingTest.e2e.ts +++ b/src/libs/E2E/tests/reportTypingTest.e2e.ts @@ -9,8 +9,8 @@ import getConfigValueOrThrow from '@libs/E2E/utils/getConfigValueOrThrow'; import getPromiseWithResolve from '@libs/E2E/utils/getPromiseWithResolve'; import Navigation from '@libs/Navigation/Navigation'; import Performance from '@libs/Performance'; -import {getRerenderCount, resetRerenderCount} from '@pages/home/report/ReportActionCompose/ComposerWithSuggestions/index.e2e'; -import {onSubmitAction} from '@pages/home/report/ReportActionCompose/ReportActionCompose'; +import {getRerenderCount, resetRerenderCount} from '@pages/inbox/report/ReportActionCompose/ComposerWithSuggestions/index.e2e'; +import {onSubmitAction} from '@pages/inbox/report/ReportActionCompose/ReportActionCompose'; import CONST from '@src/CONST'; import ROUTES from '@src/ROUTES'; import {makeBackspaceCommand, makeTypeTextCommand} from '../../../../tests/e2e/nativeCommands/NativeCommandsAction'; diff --git a/src/libs/Navigation/AppNavigator/ModalStackNavigators/index.tsx b/src/libs/Navigation/AppNavigator/ModalStackNavigators/index.tsx index 1276203031fd..5649b00d7b05 100644 --- a/src/libs/Navigation/AppNavigator/ModalStackNavigators/index.tsx +++ b/src/libs/Navigation/AppNavigator/ModalStackNavigators/index.tsx @@ -220,12 +220,12 @@ const NewReportWorkspaceSelectionModalStackNavigator = createModalStackNavigator const ReportDetailsModalStackNavigator = createModalStackNavigator({ [SCREENS.REPORT_DETAILS.ROOT]: () => require('../../../../pages/ReportDetailsPage').default, - [SCREENS.REPORT_DETAILS.SHARE_CODE]: () => require('../../../../pages/home/report/ReportDetailsShareCodePage').default, - [SCREENS.REPORT_DETAILS.EXPORT]: () => require('../../../../pages/home/report/ReportDetailsExportPage').default, + [SCREENS.REPORT_DETAILS.SHARE_CODE]: () => require('../../../../pages/inbox/report/ReportDetailsShareCodePage').default, + [SCREENS.REPORT_DETAILS.EXPORT]: () => require('../../../../pages/inbox/report/ReportDetailsExportPage').default, }); const ReportCardActivateStackNavigator = createModalStackNavigator({ - [SCREENS.REPORT_CARD_ACTIVATE]: () => require('../../../../pages/home/report/ActivatePhysicalCardPage').default, + [SCREENS.REPORT_CARD_ACTIVATE]: () => require('../../../../pages/inbox/report/ActivatePhysicalCardPage').default, }); const ReportChangeWorkspaceModalStackNavigator = createModalStackNavigator({ @@ -262,8 +262,8 @@ const TaskModalStackNavigator = createModalStackNavigator({ - [SCREENS.REPORT_VERIFY_ACCOUNT]: () => require('../../../../pages/home/report/ReportVerifyAccountPage').default, - [SCREENS.EXPENSE_REPORT_VERIFY_ACCOUNT]: () => require('../../../../pages/home/report/ExpenseReportVerifyAccountPage').default, + [SCREENS.REPORT_VERIFY_ACCOUNT]: () => require('../../../../pages/inbox/report/ReportVerifyAccountPage').default, + [SCREENS.EXPENSE_REPORT_VERIFY_ACCOUNT]: () => require('../../../../pages/inbox/report/ExpenseReportVerifyAccountPage').default, [SCREENS.SEARCH.REPORT_VERIFY_ACCOUNT]: () => require('../../../../pages/Search/SearchReportVerifyAccountPage').default, }); diff --git a/src/libs/Navigation/AppNavigator/Navigators/ReportsSplitNavigator.tsx b/src/libs/Navigation/AppNavigator/Navigators/ReportsSplitNavigator.tsx index a9d1ab5b9c8e..e3edeb9b0788 100644 --- a/src/libs/Navigation/AppNavigator/Navigators/ReportsSplitNavigator.tsx +++ b/src/libs/Navigation/AppNavigator/Navigators/ReportsSplitNavigator.tsx @@ -15,8 +15,8 @@ import ROUTES from '@src/ROUTES'; import SCREENS from '@src/SCREENS'; import type ReactComponentModule from '@src/types/utils/ReactComponentModule'; -const loadReportScreen = () => require('@pages/home/ReportScreen').default; -const loadSidebarScreen = () => require('@pages/home/sidebar/BaseSidebarScreen').default; +const loadReportScreen = () => require('@pages/inbox/ReportScreen').default; +const loadSidebarScreen = () => require('@pages/inbox/sidebar/BaseSidebarScreen').default; const Split = createSplitNavigator(); /** diff --git a/src/libs/Navigation/AppNavigator/Navigators/RightModalNavigator.tsx b/src/libs/Navigation/AppNavigator/Navigators/RightModalNavigator.tsx index ab6222ef13c4..ef61a63947e2 100644 --- a/src/libs/Navigation/AppNavigator/Navigators/RightModalNavigator.tsx +++ b/src/libs/Navigation/AppNavigator/Navigators/RightModalNavigator.tsx @@ -83,7 +83,7 @@ function SecondaryOverlay() { return null; } -const loadRHPReportScreen = () => require('../../../../pages/home/RHPReportScreen').default; +const loadRHPReportScreen = () => require('../../../../pages/inbox/RHPReportScreen').default; const loadSearchMoneyRequestReportPage = () => require('../../../../pages/Search/SearchMoneyRequestReportPage').default; function RightModalNavigator({navigation, route}: RightModalNavigatorProps) { diff --git a/src/libs/actions/Policy/Policy.ts b/src/libs/actions/Policy/Policy.ts index 67ea91c49ac1..6574412751fb 100644 --- a/src/libs/actions/Policy/Policy.ts +++ b/src/libs/actions/Policy/Policy.ts @@ -89,7 +89,7 @@ import * as PolicyUtils from '@libs/PolicyUtils'; import {getCustomUnitsForDuplication, getMemberAccountIDsForWorkspace, goBackWhenEnableFeature, isControlPolicy, navigateToExpensifyCardPage} from '@libs/PolicyUtils'; import * as ReportUtils from '@libs/ReportUtils'; import {hasValidModifiedAmount} from '@libs/TransactionUtils'; -import type {PolicySelector} from '@pages/home/sidebar/FloatingActionButtonAndPopover'; +import type {PolicySelector} from '@pages/inbox/sidebar/FloatingActionButtonAndPopover'; import type {Feature} from '@pages/OnboardingInterestedFeatures/types'; import * as PaymentMethods from '@userActions/PaymentMethods'; import * as PersistedRequests from '@userActions/PersistedRequests'; diff --git a/src/libs/actions/Session/index.ts b/src/libs/actions/Session/index.ts index da79ff8ea9e6..a8574d79df36 100644 --- a/src/libs/actions/Session/index.ts +++ b/src/libs/actions/Session/index.ts @@ -45,7 +45,7 @@ import * as SessionUtils from '@libs/SessionUtils'; import {checkIfShouldUseNewPartnerName, resetDidUserLogInDuringSession} from '@libs/SessionUtils'; import {clearSoundAssetsCache} from '@libs/Sound'; import Timers from '@libs/Timers'; -import {hideContextMenu} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import {hideContextMenu} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import {confirmReadyToOpenApp, KEYS_TO_PRESERVE, openApp} from '@userActions/App'; import {KEYS_TO_PRESERVE_DELEGATE_ACCESS} from '@userActions/Delegate'; import * as Device from '@userActions/Device'; diff --git a/src/libs/calculateAnchorPosition.ts b/src/libs/calculateAnchorPosition.ts index 90766f4582ba..2499be5cc79a 100644 --- a/src/libs/calculateAnchorPosition.ts +++ b/src/libs/calculateAnchorPosition.ts @@ -1,4 +1,4 @@ -import type {ContextMenuAnchor} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import type {ContextMenuAnchor} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import CONST from '@src/CONST'; import type {AnchorDimensions, AnchorPosition} from '@src/styles'; import type {AnchorOrigin} from './actions/EmojiPickerAction'; diff --git a/src/pages/Debug/ReportAction/DebugReportActionCreatePage.tsx b/src/pages/Debug/ReportAction/DebugReportActionCreatePage.tsx index 3f1ed6478ea5..2b64029efad6 100644 --- a/src/pages/Debug/ReportAction/DebugReportActionCreatePage.tsx +++ b/src/pages/Debug/ReportAction/DebugReportActionCreatePage.tsx @@ -19,7 +19,7 @@ import Navigation from '@libs/Navigation/Navigation'; import type {PlatformStackScreenProps} from '@libs/Navigation/PlatformStackNavigation/types'; import type {DebugParamList} from '@libs/Navigation/types'; import {rand64} from '@libs/NumberUtils'; -import ReportActionItem from '@pages/home/report/ReportActionItem'; +import ReportActionItem from '@pages/inbox/report/ReportActionItem'; import Debug from '@userActions/Debug'; import CONST from '@src/CONST'; import type {TranslationPaths} from '@src/languages/types'; diff --git a/src/pages/Debug/ReportAction/DebugReportActionPreview.tsx b/src/pages/Debug/ReportAction/DebugReportActionPreview.tsx index b068b73fb928..a4a01140cb3e 100644 --- a/src/pages/Debug/ReportAction/DebugReportActionPreview.tsx +++ b/src/pages/Debug/ReportAction/DebugReportActionPreview.tsx @@ -5,7 +5,7 @@ import type {OnyxEntry} from 'react-native-onyx'; import {usePersonalDetails} from '@components/OnyxListItemProvider'; import ScrollView from '@components/ScrollView'; import useOnyx from '@hooks/useOnyx'; -import ReportActionItem from '@pages/home/report/ReportActionItem'; +import ReportActionItem from '@pages/inbox/report/ReportActionItem'; import ONYXKEYS from '@src/ONYXKEYS'; import type {Report, ReportAction} from '@src/types/onyx'; diff --git a/src/pages/FlagCommentPage.tsx b/src/pages/FlagCommentPage.tsx index 8d163c684309..e5cedc052bd0 100644 --- a/src/pages/FlagCommentPage.tsx +++ b/src/pages/FlagCommentPage.tsx @@ -23,8 +23,8 @@ import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import type SCREENS from '@src/SCREENS'; import type IconAsset from '@src/types/utils/IconAsset'; -import withReportAndReportActionOrNotFound from './home/report/withReportAndReportActionOrNotFound'; -import type {WithReportAndReportActionOrNotFoundProps} from './home/report/withReportAndReportActionOrNotFound'; +import withReportAndReportActionOrNotFound from './inbox/report/withReportAndReportActionOrNotFound'; +import type {WithReportAndReportActionOrNotFoundProps} from './inbox/report/withReportAndReportActionOrNotFound'; type FlagCommentPageNavigationProps = PlatformStackScreenProps; diff --git a/src/pages/InviteReportParticipantsPage.tsx b/src/pages/InviteReportParticipantsPage.tsx index 16613f65bef0..b230b85ace9c 100644 --- a/src/pages/InviteReportParticipantsPage.tsx +++ b/src/pages/InviteReportParticipantsPage.tsx @@ -32,8 +32,8 @@ import ONYXKEYS from '@src/ONYXKEYS'; import ROUTES from '@src/ROUTES'; import type SCREENS from '@src/SCREENS'; import type {InvitedEmailsToAccountIDs} from '@src/types/onyx'; -import type {WithReportOrNotFoundProps} from './home/report/withReportOrNotFound'; -import withReportOrNotFound from './home/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from './inbox/report/withReportOrNotFound'; +import withReportOrNotFound from './inbox/report/withReportOrNotFound'; type InviteReportParticipantsPageProps = WithReportOrNotFoundProps & WithNavigationTransitionEndProps; diff --git a/src/pages/PrivateNotes/PrivateNotesEditPage.tsx b/src/pages/PrivateNotes/PrivateNotesEditPage.tsx index 5d56e89db59c..1fd95f5061b0 100644 --- a/src/pages/PrivateNotes/PrivateNotesEditPage.tsx +++ b/src/pages/PrivateNotes/PrivateNotesEditPage.tsx @@ -22,8 +22,8 @@ import type {PrivateNotesNavigatorParamList} from '@libs/Navigation/types'; import Parser from '@libs/Parser'; import {goBackFromPrivateNotes, goBackToDetailsPage} from '@libs/ReportUtils'; import updateMultilineInputRange from '@libs/updateMultilineInputRange'; -import type {WithReportAndPrivateNotesOrNotFoundProps} from '@pages/home/report/withReportAndPrivateNotesOrNotFound'; -import withReportAndPrivateNotesOrNotFound from '@pages/home/report/withReportAndPrivateNotesOrNotFound'; +import type {WithReportAndPrivateNotesOrNotFoundProps} from '@pages/inbox/report/withReportAndPrivateNotesOrNotFound'; +import withReportAndPrivateNotesOrNotFound from '@pages/inbox/report/withReportAndPrivateNotesOrNotFound'; import variables from '@styles/variables'; import {clearPrivateNotesError, handleUserDeletedLinksInHtml, savePrivateNotesDraft, updatePrivateNotes} from '@userActions/Report'; import CONST from '@src/CONST'; diff --git a/src/pages/PrivateNotes/PrivateNotesListPage.tsx b/src/pages/PrivateNotes/PrivateNotesListPage.tsx index 53a49aca6b0a..e71eae192f09 100644 --- a/src/pages/PrivateNotes/PrivateNotesListPage.tsx +++ b/src/pages/PrivateNotes/PrivateNotesListPage.tsx @@ -14,8 +14,8 @@ import Navigation from '@libs/Navigation/Navigation'; import type {PlatformStackRouteProp} from '@libs/Navigation/PlatformStackNavigation/types'; import type {PrivateNotesNavigatorParamList} from '@libs/Navigation/types'; import {goBackToDetailsPage} from '@libs/ReportUtils'; -import type {WithReportAndPrivateNotesOrNotFoundProps} from '@pages/home/report/withReportAndPrivateNotesOrNotFound'; -import withReportAndPrivateNotesOrNotFound from '@pages/home/report/withReportAndPrivateNotesOrNotFound'; +import type {WithReportAndPrivateNotesOrNotFoundProps} from '@pages/inbox/report/withReportAndPrivateNotesOrNotFound'; +import withReportAndPrivateNotesOrNotFound from '@pages/inbox/report/withReportAndPrivateNotesOrNotFound'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import ROUTES from '@src/ROUTES'; diff --git a/src/pages/ReferralDetailsPage.tsx b/src/pages/ReferralDetailsPage.tsx index 68fb94468678..7d21b64eb2ab 100644 --- a/src/pages/ReferralDetailsPage.tsx +++ b/src/pages/ReferralDetailsPage.tsx @@ -21,7 +21,7 @@ import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import type {Route} from '@src/ROUTES'; import SCREENS from '@src/SCREENS'; -import {showContextMenu} from './home/report/ContextMenu/ReportActionContextMenu'; +import {showContextMenu} from './inbox/report/ContextMenu/ReportActionContextMenu'; type ReferralDetailsPageProps = PlatformStackScreenProps; diff --git a/src/pages/ReportAddApproverPage.tsx b/src/pages/ReportAddApproverPage.tsx index 61cff123d3e0..df8e2e0af754 100644 --- a/src/pages/ReportAddApproverPage.tsx +++ b/src/pages/ReportAddApproverPage.tsx @@ -26,8 +26,8 @@ import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import ROUTES from '@src/ROUTES'; import type SCREENS from '@src/SCREENS'; -import type {WithReportOrNotFoundProps} from './home/report/withReportOrNotFound'; -import withReportOrNotFound from './home/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from './inbox/report/withReportOrNotFound'; +import withReportOrNotFound from './inbox/report/withReportOrNotFound'; type ReportAddApproverPageProps = WithReportOrNotFoundProps & PlatformStackScreenProps; diff --git a/src/pages/ReportChangeApproverPage.tsx b/src/pages/ReportChangeApproverPage.tsx index b0808304a134..e7ff7cd775f4 100644 --- a/src/pages/ReportChangeApproverPage.tsx +++ b/src/pages/ReportChangeApproverPage.tsx @@ -26,8 +26,8 @@ import ROUTES from '@src/ROUTES'; import type SCREENS from '@src/SCREENS'; import {isEmptyObject} from '@src/types/utils/EmptyObject'; import NotFoundPage from './ErrorPage/NotFoundPage'; -import type {WithReportOrNotFoundProps} from './home/report/withReportOrNotFound'; -import withReportOrNotFound from './home/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from './inbox/report/withReportOrNotFound'; +import withReportOrNotFound from './inbox/report/withReportOrNotFound'; const APPROVER_TYPE = { ADD_APPROVER: 'addApprover', diff --git a/src/pages/ReportChangeWorkspacePage.tsx b/src/pages/ReportChangeWorkspacePage.tsx index 28428a963d49..1d46f087cab6 100644 --- a/src/pages/ReportChangeWorkspacePage.tsx +++ b/src/pages/ReportChangeWorkspacePage.tsx @@ -38,8 +38,8 @@ import ROUTES from '@src/ROUTES'; import type SCREENS from '@src/SCREENS'; import type {DismissedProductTraining, PersonalDetailsList} from '@src/types/onyx'; import NotFoundPage from './ErrorPage/NotFoundPage'; -import type {WithReportOrNotFoundProps} from './home/report/withReportOrNotFound'; -import withReportOrNotFound from './home/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from './inbox/report/withReportOrNotFound'; +import withReportOrNotFound from './inbox/report/withReportOrNotFound'; type ReportChangeWorkspacePageProps = WithReportOrNotFoundProps & PlatformStackScreenProps; diff --git a/src/pages/ReportDescriptionPage.tsx b/src/pages/ReportDescriptionPage.tsx index 5b51395687b0..9555ff3505e4 100644 --- a/src/pages/ReportDescriptionPage.tsx +++ b/src/pages/ReportDescriptionPage.tsx @@ -3,8 +3,8 @@ import type {PlatformStackScreenProps} from '@libs/Navigation/PlatformStackNavig import * as ReportUtils from '@libs/ReportUtils'; import type {ReportDescriptionNavigatorParamList} from '@navigation/types'; import type SCREENS from '@src/SCREENS'; -import type {WithReportOrNotFoundProps} from './home/report/withReportOrNotFound'; -import withReportOrNotFound from './home/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from './inbox/report/withReportOrNotFound'; +import withReportOrNotFound from './inbox/report/withReportOrNotFound'; import RoomDescriptionPage from './RoomDescriptionPage'; import TaskDescriptionPage from './tasks/TaskDescriptionPage'; diff --git a/src/pages/ReportDetailsPage.tsx b/src/pages/ReportDetailsPage.tsx index 6c01d8593e45..8a27761f69e5 100644 --- a/src/pages/ReportDetailsPage.tsx +++ b/src/pages/ReportDetailsPage.tsx @@ -132,8 +132,8 @@ import type * as OnyxTypes from '@src/types/onyx'; import type DeepValueOf from '@src/types/utils/DeepValueOf'; import {isEmptyObject} from '@src/types/utils/EmptyObject'; import type IconAsset from '@src/types/utils/IconAsset'; -import type {WithReportOrNotFoundProps} from './home/report/withReportOrNotFound'; -import withReportOrNotFound from './home/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from './inbox/report/withReportOrNotFound'; +import withReportOrNotFound from './inbox/report/withReportOrNotFound'; type ReportDetailsPageMenuItem = { key: DeepValueOf; diff --git a/src/pages/ReportParticipantDetailsPage.tsx b/src/pages/ReportParticipantDetailsPage.tsx index e277041209fb..55efea638b59 100644 --- a/src/pages/ReportParticipantDetailsPage.tsx +++ b/src/pages/ReportParticipantDetailsPage.tsx @@ -27,8 +27,8 @@ import ROUTES from '@src/ROUTES'; import type SCREENS from '@src/SCREENS'; import type {PersonalDetails} from '@src/types/onyx'; import NotFoundPage from './ErrorPage/NotFoundPage'; -import withReportOrNotFound from './home/report/withReportOrNotFound'; -import type {WithReportOrNotFoundProps} from './home/report/withReportOrNotFound'; +import withReportOrNotFound from './inbox/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from './inbox/report/withReportOrNotFound'; type ReportParticipantDetailsPageProps = WithReportOrNotFoundProps & PlatformStackScreenProps; diff --git a/src/pages/ReportParticipantRoleSelectionPage.tsx b/src/pages/ReportParticipantRoleSelectionPage.tsx index 3dd074d74fff..a988f0aa694e 100644 --- a/src/pages/ReportParticipantRoleSelectionPage.tsx +++ b/src/pages/ReportParticipantRoleSelectionPage.tsx @@ -16,8 +16,8 @@ import CONST from '@src/CONST'; import ROUTES from '@src/ROUTES'; import type SCREENS from '@src/SCREENS'; import NotFoundPage from './ErrorPage/NotFoundPage'; -import withReportOrNotFound from './home/report/withReportOrNotFound'; -import type {WithReportOrNotFoundProps} from './home/report/withReportOrNotFound'; +import withReportOrNotFound from './inbox/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from './inbox/report/withReportOrNotFound'; type ReportParticipantRoleSelectionPageProps = WithReportOrNotFoundProps & PlatformStackScreenProps; diff --git a/src/pages/ReportParticipantsPage.tsx b/src/pages/ReportParticipantsPage.tsx index 49a60862455d..2ad20982d9f2 100755 --- a/src/pages/ReportParticipantsPage.tsx +++ b/src/pages/ReportParticipantsPage.tsx @@ -57,8 +57,8 @@ import ONYXKEYS from '@src/ONYXKEYS'; import ROUTES from '@src/ROUTES'; import type SCREENS from '@src/SCREENS'; import type {PersonalDetails} from '@src/types/onyx'; -import type {WithReportOrNotFoundProps} from './home/report/withReportOrNotFound'; -import withReportOrNotFound from './home/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from './inbox/report/withReportOrNotFound'; +import withReportOrNotFound from './inbox/report/withReportOrNotFound'; type MemberOption = Omit & {accountID: number}; diff --git a/src/pages/RoomInvitePage.tsx b/src/pages/RoomInvitePage.tsx index cd314dbdedab..aef1e3446ae2 100644 --- a/src/pages/RoomInvitePage.tsx +++ b/src/pages/RoomInvitePage.tsx @@ -45,8 +45,8 @@ import ONYXKEYS from '@src/ONYXKEYS'; import ROUTES from '@src/ROUTES'; import type SCREENS from '@src/SCREENS'; import {isEmptyObject} from '@src/types/utils/EmptyObject'; -import type {WithReportOrNotFoundProps} from './home/report/withReportOrNotFound'; -import withReportOrNotFound from './home/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from './inbox/report/withReportOrNotFound'; +import withReportOrNotFound from './inbox/report/withReportOrNotFound'; type RoomInvitePageProps = WithReportOrNotFoundProps & WithNavigationTransitionEndProps & PlatformStackScreenProps; diff --git a/src/pages/RoomMemberDetailsPage.tsx b/src/pages/RoomMemberDetailsPage.tsx index 0e6abaa99318..1661ea4187fa 100644 --- a/src/pages/RoomMemberDetailsPage.tsx +++ b/src/pages/RoomMemberDetailsPage.tsx @@ -27,8 +27,8 @@ import ROUTES from '@src/ROUTES'; import type SCREENS from '@src/SCREENS'; import type {PersonalDetails} from '@src/types/onyx'; import NotFoundPage from './ErrorPage/NotFoundPage'; -import withReportOrNotFound from './home/report/withReportOrNotFound'; -import type {WithReportOrNotFoundProps} from './home/report/withReportOrNotFound'; +import withReportOrNotFound from './inbox/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from './inbox/report/withReportOrNotFound'; type RoomMemberDetailsPagePageProps = WithReportOrNotFoundProps & PlatformStackScreenProps; diff --git a/src/pages/RoomMembersPage.tsx b/src/pages/RoomMembersPage.tsx index d0a8c96b5289..77844fd9e07b 100644 --- a/src/pages/RoomMembersPage.tsx +++ b/src/pages/RoomMembersPage.tsx @@ -57,8 +57,8 @@ import ROUTES from '@src/ROUTES'; import type SCREENS from '@src/SCREENS'; import type {PersonalDetails} from '@src/types/onyx'; import {isEmptyObject} from '@src/types/utils/EmptyObject'; -import type {WithReportOrNotFoundProps} from './home/report/withReportOrNotFound'; -import withReportOrNotFound from './home/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from './inbox/report/withReportOrNotFound'; +import withReportOrNotFound from './inbox/report/withReportOrNotFound'; type RoomMembersPageProps = WithReportOrNotFoundProps & WithCurrentUserPersonalDetailsProps & PlatformStackScreenProps; diff --git a/src/pages/Search/EmptySearchView.tsx b/src/pages/Search/EmptySearchView.tsx index 73c2bb522ab9..af095c17e764 100644 --- a/src/pages/Search/EmptySearchView.tsx +++ b/src/pages/Search/EmptySearchView.tsx @@ -43,7 +43,7 @@ import {generateReportID, hasEmptyReportsForPolicy, hasViolations as hasViolatio import {isDefaultExpenseReportsQuery, isDefaultExpensesQuery} from '@libs/SearchQueryUtils'; import type {SearchTypeMenuSection} from '@libs/SearchUIUtils'; import {shouldRestrictUserBillableActions} from '@libs/SubscriptionUtils'; -import {showContextMenu} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import {showContextMenu} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import variables from '@styles/variables'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; diff --git a/src/pages/Search/SearchMoneyRequestReportPage.tsx b/src/pages/Search/SearchMoneyRequestReportPage.tsx index 351a8fbe848a..28460202cc66 100644 --- a/src/pages/Search/SearchMoneyRequestReportPage.tsx +++ b/src/pages/Search/SearchMoneyRequestReportPage.tsx @@ -35,12 +35,12 @@ import { import {isValidReportIDFromPath} from '@libs/ReportUtils'; import {isDefaultAvatar, isLetterAvatar, isPresetAvatar} from '@libs/UserAvatarUtils'; import Navigation from '@navigation/Navigation'; -import ReactionListWrapper from '@pages/home/ReactionListWrapper'; +import ReactionListWrapper from '@pages/inbox/ReactionListWrapper'; +import type {ActionListContextType, ScrollPosition} from '@pages/inbox/ReportScreenContext'; +import {ActionListContext} from '@pages/inbox/ReportScreenContext'; import {createTransactionThreadReport, openReport, updateLastVisitTime} from '@userActions/Report'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; -import type {ActionListContextType, ScrollPosition} from '@src/pages/home/ReportScreenContext'; -import {ActionListContext} from '@src/pages/home/ReportScreenContext'; import SCREENS from '@src/SCREENS'; import type {PersonalDetailsList, Policy, Transaction, TransactionViolations} from '@src/types/onyx'; import {getEmptyObject} from '@src/types/utils/EmptyObject'; diff --git a/src/pages/TransactionDuplicate/DuplicateTransactionItem.tsx b/src/pages/TransactionDuplicate/DuplicateTransactionItem.tsx index 5dc40a0674b5..43d8ed26b701 100644 --- a/src/pages/TransactionDuplicate/DuplicateTransactionItem.tsx +++ b/src/pages/TransactionDuplicate/DuplicateTransactionItem.tsx @@ -9,8 +9,8 @@ import useThemeStyles from '@hooks/useThemeStyles'; import getNonEmptyStringOnyxID from '@libs/getNonEmptyStringOnyxID'; import {getOriginalMessage, getReportAction, isMoneyRequestAction} from '@libs/ReportActionsUtils'; import {getOriginalReportID} from '@libs/ReportUtils'; -import ReportActionItem from '@pages/home/report/ReportActionItem'; -import ReportActionItemContext from '@pages/home/report/ReportActionItemContext'; +import ReportActionItem from '@pages/inbox/report/ReportActionItem'; +import ReportActionItemContext from '@pages/inbox/report/ReportActionItemContext'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import type {Policy, Report, Transaction} from '@src/types/onyx'; diff --git a/src/pages/home/sidebar/NavigationTabBarFloatingActionButton/index.native.tsx b/src/pages/home/sidebar/NavigationTabBarFloatingActionButton/index.native.tsx deleted file mode 100644 index a85dac28b81c..000000000000 --- a/src/pages/home/sidebar/NavigationTabBarFloatingActionButton/index.native.tsx +++ /dev/null @@ -1,3 +0,0 @@ -import FloatingActionButtonAndPopover from '@pages/home/sidebar/FloatingActionButtonAndPopover'; - -export default FloatingActionButtonAndPopover; diff --git a/src/pages/home/HeaderView.tsx b/src/pages/inbox/HeaderView.tsx similarity index 100% rename from src/pages/home/HeaderView.tsx rename to src/pages/inbox/HeaderView.tsx diff --git a/src/pages/home/RHPReportScreen.tsx b/src/pages/inbox/RHPReportScreen.tsx similarity index 100% rename from src/pages/home/RHPReportScreen.tsx rename to src/pages/inbox/RHPReportScreen.tsx diff --git a/src/pages/home/ReactionListWrapper.tsx b/src/pages/inbox/ReactionListWrapper.tsx similarity index 100% rename from src/pages/home/ReactionListWrapper.tsx rename to src/pages/inbox/ReactionListWrapper.tsx diff --git a/src/pages/home/ReportScreen.tsx b/src/pages/inbox/ReportScreen.tsx similarity index 100% rename from src/pages/home/ReportScreen.tsx rename to src/pages/inbox/ReportScreen.tsx diff --git a/src/pages/home/ReportScreenContext.ts b/src/pages/inbox/ReportScreenContext.ts similarity index 100% rename from src/pages/home/ReportScreenContext.ts rename to src/pages/inbox/ReportScreenContext.ts diff --git a/src/pages/home/hooks/useReportWasDeleted.ts b/src/pages/inbox/hooks/useReportWasDeleted.ts similarity index 100% rename from src/pages/home/hooks/useReportWasDeleted.ts rename to src/pages/inbox/hooks/useReportWasDeleted.ts diff --git a/src/pages/home/report/ActivatePhysicalCardPage.tsx b/src/pages/inbox/report/ActivatePhysicalCardPage.tsx similarity index 100% rename from src/pages/home/report/ActivatePhysicalCardPage.tsx rename to src/pages/inbox/report/ActivatePhysicalCardPage.tsx diff --git a/src/pages/home/report/AgentZeroProcessingRequestIndicator.tsx b/src/pages/inbox/report/AgentZeroProcessingRequestIndicator.tsx similarity index 100% rename from src/pages/home/report/AgentZeroProcessingRequestIndicator.tsx rename to src/pages/inbox/report/AgentZeroProcessingRequestIndicator.tsx diff --git a/src/pages/home/report/AnimatedEmptyStateBackground.tsx b/src/pages/inbox/report/AnimatedEmptyStateBackground.tsx similarity index 100% rename from src/pages/home/report/AnimatedEmptyStateBackground.tsx rename to src/pages/inbox/report/AnimatedEmptyStateBackground.tsx diff --git a/src/pages/home/report/ContextMenu/BaseReportActionContextMenu.tsx b/src/pages/inbox/report/ContextMenu/BaseReportActionContextMenu.tsx similarity index 100% rename from src/pages/home/report/ContextMenu/BaseReportActionContextMenu.tsx rename to src/pages/inbox/report/ContextMenu/BaseReportActionContextMenu.tsx diff --git a/src/pages/home/report/ContextMenu/ContextMenuActions.tsx b/src/pages/inbox/report/ContextMenu/ContextMenuActions.tsx similarity index 100% rename from src/pages/home/report/ContextMenu/ContextMenuActions.tsx rename to src/pages/inbox/report/ContextMenu/ContextMenuActions.tsx diff --git a/src/pages/home/report/ContextMenu/MiniReportActionContextMenu/index.native.tsx b/src/pages/inbox/report/ContextMenu/MiniReportActionContextMenu/index.native.tsx similarity index 100% rename from src/pages/home/report/ContextMenu/MiniReportActionContextMenu/index.native.tsx rename to src/pages/inbox/report/ContextMenu/MiniReportActionContextMenu/index.native.tsx diff --git a/src/pages/home/report/ContextMenu/MiniReportActionContextMenu/index.tsx b/src/pages/inbox/report/ContextMenu/MiniReportActionContextMenu/index.tsx similarity index 88% rename from src/pages/home/report/ContextMenu/MiniReportActionContextMenu/index.tsx rename to src/pages/inbox/report/ContextMenu/MiniReportActionContextMenu/index.tsx index 30c058be7e22..8c5ea5ad8581 100644 --- a/src/pages/home/report/ContextMenu/MiniReportActionContextMenu/index.tsx +++ b/src/pages/inbox/report/ContextMenu/MiniReportActionContextMenu/index.tsx @@ -1,7 +1,7 @@ import React from 'react'; import {View} from 'react-native'; import useStyleUtils from '@hooks/useStyleUtils'; -import BaseReportActionContextMenu from '@pages/home/report/ContextMenu/BaseReportActionContextMenu'; +import BaseReportActionContextMenu from '@pages/inbox/report/ContextMenu/BaseReportActionContextMenu'; import CONST from '@src/CONST'; import type MiniReportActionContextMenuProps from './types'; diff --git a/src/pages/home/report/ContextMenu/MiniReportActionContextMenu/types.ts b/src/pages/inbox/report/ContextMenu/MiniReportActionContextMenu/types.ts similarity index 75% rename from src/pages/home/report/ContextMenu/MiniReportActionContextMenu/types.ts rename to src/pages/inbox/report/ContextMenu/MiniReportActionContextMenu/types.ts index b18c932fd7e2..59ec5195810c 100644 --- a/src/pages/home/report/ContextMenu/MiniReportActionContextMenu/types.ts +++ b/src/pages/inbox/report/ContextMenu/MiniReportActionContextMenu/types.ts @@ -1,4 +1,4 @@ -import type {BaseReportActionContextMenuProps} from '@pages/home/report/ContextMenu/BaseReportActionContextMenu'; +import type {BaseReportActionContextMenuProps} from '@pages/inbox/report/ContextMenu/BaseReportActionContextMenu'; type MiniReportActionContextMenuProps = Omit & { /** Should the reportAction this menu is attached to have the appearance of being grouped with the previous reportAction? */ diff --git a/src/pages/home/report/ContextMenu/PopoverReportActionContextMenu.tsx b/src/pages/inbox/report/ContextMenu/PopoverReportActionContextMenu.tsx similarity index 100% rename from src/pages/home/report/ContextMenu/PopoverReportActionContextMenu.tsx rename to src/pages/inbox/report/ContextMenu/PopoverReportActionContextMenu.tsx diff --git a/src/pages/home/report/ContextMenu/ReportActionContextMenu.ts b/src/pages/inbox/report/ContextMenu/ReportActionContextMenu.ts similarity index 100% rename from src/pages/home/report/ContextMenu/ReportActionContextMenu.ts rename to src/pages/inbox/report/ContextMenu/ReportActionContextMenu.ts diff --git a/src/pages/home/report/ExpenseReportVerifyAccountPage.tsx b/src/pages/inbox/report/ExpenseReportVerifyAccountPage.tsx similarity index 100% rename from src/pages/home/report/ExpenseReportVerifyAccountPage.tsx rename to src/pages/inbox/report/ExpenseReportVerifyAccountPage.tsx diff --git a/src/pages/home/report/FloatingMessageCounter.tsx b/src/pages/inbox/report/FloatingMessageCounter.tsx similarity index 100% rename from src/pages/home/report/FloatingMessageCounter.tsx rename to src/pages/inbox/report/FloatingMessageCounter.tsx diff --git a/src/pages/home/report/LinkPreviewer.tsx b/src/pages/inbox/report/LinkPreviewer.tsx similarity index 100% rename from src/pages/home/report/LinkPreviewer.tsx rename to src/pages/inbox/report/LinkPreviewer.tsx diff --git a/src/pages/home/report/ListBoundaryLoader.tsx b/src/pages/inbox/report/ListBoundaryLoader.tsx similarity index 100% rename from src/pages/home/report/ListBoundaryLoader.tsx rename to src/pages/inbox/report/ListBoundaryLoader.tsx diff --git a/src/pages/home/report/ParticipantLocalTime.tsx b/src/pages/inbox/report/ParticipantLocalTime.tsx similarity index 100% rename from src/pages/home/report/ParticipantLocalTime.tsx rename to src/pages/inbox/report/ParticipantLocalTime.tsx diff --git a/src/pages/home/report/PureReportActionItem.tsx b/src/pages/inbox/report/PureReportActionItem.tsx similarity index 99% rename from src/pages/home/report/PureReportActionItem.tsx rename to src/pages/inbox/report/PureReportActionItem.tsx index d8fdf0e1669e..31167f01fad0 100644 --- a/src/pages/home/report/PureReportActionItem.tsx +++ b/src/pages/inbox/report/PureReportActionItem.tsx @@ -190,7 +190,7 @@ import { } from '@libs/ReportUtils'; import SelectionScraper from '@libs/SelectionScraper'; import shouldRenderAddPaymentCard from '@libs/shouldRenderAppPaymentCard'; -import {ReactionListContext} from '@pages/home/ReportScreenContext'; +import {ReactionListContext} from '@pages/inbox/ReportScreenContext'; import AttachmentModalContext from '@pages/media/AttachmentModalScreen/AttachmentModalContext'; import variables from '@styles/variables'; import {openPersonalBankAccountSetupView} from '@userActions/BankAccounts'; diff --git a/src/pages/home/report/ReactionList/BaseReactionList.tsx b/src/pages/inbox/report/ReactionList/BaseReactionList.tsx similarity index 100% rename from src/pages/home/report/ReactionList/BaseReactionList.tsx rename to src/pages/inbox/report/ReactionList/BaseReactionList.tsx diff --git a/src/pages/home/report/ReactionList/HeaderReactionList.tsx b/src/pages/inbox/report/ReactionList/HeaderReactionList.tsx similarity index 100% rename from src/pages/home/report/ReactionList/HeaderReactionList.tsx rename to src/pages/inbox/report/ReactionList/HeaderReactionList.tsx diff --git a/src/pages/home/report/ReactionList/PopoverReactionList/BasePopoverReactionList.tsx b/src/pages/inbox/report/ReactionList/PopoverReactionList/BasePopoverReactionList.tsx similarity index 96% rename from src/pages/home/report/ReactionList/PopoverReactionList/BasePopoverReactionList.tsx rename to src/pages/inbox/report/ReactionList/PopoverReactionList/BasePopoverReactionList.tsx index 7f33f1fd28f4..8e28b44d12a3 100644 --- a/src/pages/home/report/ReactionList/PopoverReactionList/BasePopoverReactionList.tsx +++ b/src/pages/inbox/report/ReactionList/PopoverReactionList/BasePopoverReactionList.tsx @@ -6,7 +6,7 @@ import useBasePopoverReactionList from '@hooks/useBasePopoverReactionList'; import type {BasePopoverReactionListProps} from '@hooks/useBasePopoverReactionList/types'; import useLocalize from '@hooks/useLocalize'; import useOnyx from '@hooks/useOnyx'; -import BaseReactionList from '@pages/home/report/ReactionList/BaseReactionList'; +import BaseReactionList from '@pages/inbox/report/ReactionList/BaseReactionList'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; diff --git a/src/pages/home/report/ReactionList/PopoverReactionList/index.tsx b/src/pages/inbox/report/ReactionList/PopoverReactionList/index.tsx similarity index 95% rename from src/pages/home/report/ReactionList/PopoverReactionList/index.tsx rename to src/pages/inbox/report/ReactionList/PopoverReactionList/index.tsx index 8a1c5f10f713..c6a29e2c1af9 100644 --- a/src/pages/home/report/ReactionList/PopoverReactionList/index.tsx +++ b/src/pages/inbox/report/ReactionList/PopoverReactionList/index.tsx @@ -1,7 +1,7 @@ import React, {useImperativeHandle, useRef, useState} from 'react'; import type {ForwardedRef} from 'react'; import type {InnerReactionListRef} from '@hooks/useBasePopoverReactionList/types'; -import type {ReactionListRef} from '@pages/home/ReportScreenContext'; +import type {ReactionListRef} from '@pages/inbox/ReportScreenContext'; import BasePopoverReactionList from './BasePopoverReactionList'; type PopoverReactionListProps = { diff --git a/src/pages/home/report/ReactionList/types.ts b/src/pages/inbox/report/ReactionList/types.ts similarity index 100% rename from src/pages/home/report/ReactionList/types.ts rename to src/pages/inbox/report/ReactionList/types.ts diff --git a/src/pages/home/report/RepliesDivider.tsx b/src/pages/inbox/report/RepliesDivider.tsx similarity index 100% rename from src/pages/home/report/RepliesDivider.tsx rename to src/pages/inbox/report/RepliesDivider.tsx diff --git a/src/pages/home/report/ReportActionCompose/AttachmentPickerWithMenuItems.tsx b/src/pages/inbox/report/ReportActionCompose/AttachmentPickerWithMenuItems.tsx similarity index 100% rename from src/pages/home/report/ReportActionCompose/AttachmentPickerWithMenuItems.tsx rename to src/pages/inbox/report/ReportActionCompose/AttachmentPickerWithMenuItems.tsx diff --git a/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx b/src/pages/inbox/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx similarity index 98% rename from src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx rename to src/pages/inbox/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx index 632cec2cf829..bd4cf43e26a5 100644 --- a/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx +++ b/src/pages/inbox/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.tsx @@ -38,11 +38,11 @@ import ReportActionComposeFocusManager from '@libs/ReportActionComposeFocusManag import {isValidReportIDFromPath, shouldAutoFocusOnKeyPress} from '@libs/ReportUtils'; import updateMultilineInputRange from '@libs/updateMultilineInputRange'; import willBlurTextInputOnTapOutsideFunc from '@libs/willBlurTextInputOnTapOutside'; -import getCursorPosition from '@pages/home/report/ReportActionCompose/getCursorPosition'; -import getScrollPosition from '@pages/home/report/ReportActionCompose/getScrollPosition'; -import type {SuggestionsRef} from '@pages/home/report/ReportActionCompose/ReportActionCompose'; -import SilentCommentUpdater from '@pages/home/report/ReportActionCompose/SilentCommentUpdater'; -import Suggestions from '@pages/home/report/ReportActionCompose/Suggestions'; +import getCursorPosition from '@pages/inbox/report/ReportActionCompose/getCursorPosition'; +import getScrollPosition from '@pages/inbox/report/ReportActionCompose/getScrollPosition'; +import type {SuggestionsRef} from '@pages/inbox/report/ReportActionCompose/ReportActionCompose'; +import SilentCommentUpdater from '@pages/inbox/report/ReportActionCompose/SilentCommentUpdater'; +import Suggestions from '@pages/inbox/report/ReportActionCompose/Suggestions'; import {isEmojiPickerVisible} from '@userActions/EmojiPickerAction'; import type {OnEmojiSelected} from '@userActions/EmojiPickerAction'; import {inputFocusChange} from '@userActions/InputFocus'; diff --git a/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/index.e2e.tsx b/src/pages/inbox/report/ReportActionCompose/ComposerWithSuggestions/index.e2e.tsx similarity index 97% rename from src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/index.e2e.tsx rename to src/pages/inbox/report/ReportActionCompose/ComposerWithSuggestions/index.e2e.tsx index e42e7fdf4968..d9a5b4aced07 100644 --- a/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/index.e2e.tsx +++ b/src/pages/inbox/report/ReportActionCompose/ComposerWithSuggestions/index.e2e.tsx @@ -2,7 +2,7 @@ import React, {useCallback, useRef} from 'react'; import type {LayoutChangeEvent} from 'react-native'; import {Keyboard} from 'react-native'; import E2EClient from '@libs/E2E/client'; -import type {ComposerRef} from '@pages/home/report/ReportActionCompose/ReportActionCompose'; +import type {ComposerRef} from '@pages/inbox/report/ReportActionCompose/ReportActionCompose'; import type {ComposerWithSuggestionsProps} from './ComposerWithSuggestions'; import ComposerWithSuggestions from './ComposerWithSuggestions'; diff --git a/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/index.tsx b/src/pages/inbox/report/ReportActionCompose/ComposerWithSuggestions/index.tsx similarity index 100% rename from src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/index.tsx rename to src/pages/inbox/report/ReportActionCompose/ComposerWithSuggestions/index.tsx diff --git a/src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx b/src/pages/inbox/report/ReportActionCompose/ReportActionCompose.tsx similarity index 99% rename from src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx rename to src/pages/inbox/report/ReportActionCompose/ReportActionCompose.tsx index ff5d573c478b..658f6cc49a47 100644 --- a/src/pages/home/report/ReportActionCompose/ReportActionCompose.tsx +++ b/src/pages/inbox/report/ReportActionCompose/ReportActionCompose.tsx @@ -60,9 +60,9 @@ import { import {startSpan} from '@libs/telemetry/activeSpans'; import {getTransactionID, hasReceipt as hasReceiptTransactionUtils} from '@libs/TransactionUtils'; import willBlurTextInputOnTapOutsideFunc from '@libs/willBlurTextInputOnTapOutside'; -import AgentZeroProcessingRequestIndicator from '@pages/home/report/AgentZeroProcessingRequestIndicator'; -import ParticipantLocalTime from '@pages/home/report/ParticipantLocalTime'; -import ReportTypingIndicator from '@pages/home/report/ReportTypingIndicator'; +import AgentZeroProcessingRequestIndicator from '@pages/inbox/report/AgentZeroProcessingRequestIndicator'; +import ParticipantLocalTime from '@pages/inbox/report/ParticipantLocalTime'; +import ReportTypingIndicator from '@pages/inbox/report/ReportTypingIndicator'; import {hideEmojiPicker, isActive as isActiveEmojiPickerAction, isEmojiPickerVisible} from '@userActions/EmojiPickerAction'; import {addAttachmentWithComment, setIsComposerFullSize} from '@userActions/Report'; import Timing from '@userActions/Timing'; diff --git a/src/pages/home/report/ReportActionCompose/SendButton.tsx b/src/pages/inbox/report/ReportActionCompose/SendButton.tsx similarity index 100% rename from src/pages/home/report/ReportActionCompose/SendButton.tsx rename to src/pages/inbox/report/ReportActionCompose/SendButton.tsx diff --git a/src/pages/home/report/ReportActionCompose/SilentCommentUpdater/index.android.tsx b/src/pages/inbox/report/ReportActionCompose/SilentCommentUpdater/index.android.tsx similarity index 100% rename from src/pages/home/report/ReportActionCompose/SilentCommentUpdater/index.android.tsx rename to src/pages/inbox/report/ReportActionCompose/SilentCommentUpdater/index.android.tsx diff --git a/src/pages/home/report/ReportActionCompose/SilentCommentUpdater/index.tsx b/src/pages/inbox/report/ReportActionCompose/SilentCommentUpdater/index.tsx similarity index 100% rename from src/pages/home/report/ReportActionCompose/SilentCommentUpdater/index.tsx rename to src/pages/inbox/report/ReportActionCompose/SilentCommentUpdater/index.tsx diff --git a/src/pages/home/report/ReportActionCompose/SilentCommentUpdater/types.ts b/src/pages/inbox/report/ReportActionCompose/SilentCommentUpdater/types.ts similarity index 100% rename from src/pages/home/report/ReportActionCompose/SilentCommentUpdater/types.ts rename to src/pages/inbox/report/ReportActionCompose/SilentCommentUpdater/types.ts diff --git a/src/pages/home/report/ReportActionCompose/SuggestionEmoji.tsx b/src/pages/inbox/report/ReportActionCompose/SuggestionEmoji.tsx similarity index 100% rename from src/pages/home/report/ReportActionCompose/SuggestionEmoji.tsx rename to src/pages/inbox/report/ReportActionCompose/SuggestionEmoji.tsx diff --git a/src/pages/home/report/ReportActionCompose/SuggestionMention.tsx b/src/pages/inbox/report/ReportActionCompose/SuggestionMention.tsx similarity index 100% rename from src/pages/home/report/ReportActionCompose/SuggestionMention.tsx rename to src/pages/inbox/report/ReportActionCompose/SuggestionMention.tsx diff --git a/src/pages/home/report/ReportActionCompose/Suggestions.tsx b/src/pages/inbox/report/ReportActionCompose/Suggestions.tsx similarity index 100% rename from src/pages/home/report/ReportActionCompose/Suggestions.tsx rename to src/pages/inbox/report/ReportActionCompose/Suggestions.tsx diff --git a/src/pages/home/report/ReportActionCompose/getCursorPosition/index.native.ts b/src/pages/inbox/report/ReportActionCompose/getCursorPosition/index.native.ts similarity index 100% rename from src/pages/home/report/ReportActionCompose/getCursorPosition/index.native.ts rename to src/pages/inbox/report/ReportActionCompose/getCursorPosition/index.native.ts diff --git a/src/pages/home/report/ReportActionCompose/getCursorPosition/index.ts b/src/pages/inbox/report/ReportActionCompose/getCursorPosition/index.ts similarity index 100% rename from src/pages/home/report/ReportActionCompose/getCursorPosition/index.ts rename to src/pages/inbox/report/ReportActionCompose/getCursorPosition/index.ts diff --git a/src/pages/home/report/ReportActionCompose/getCursorPosition/types.ts b/src/pages/inbox/report/ReportActionCompose/getCursorPosition/types.ts similarity index 100% rename from src/pages/home/report/ReportActionCompose/getCursorPosition/types.ts rename to src/pages/inbox/report/ReportActionCompose/getCursorPosition/types.ts diff --git a/src/pages/home/report/ReportActionCompose/getScrollPosition/index.android.ts b/src/pages/inbox/report/ReportActionCompose/getScrollPosition/index.android.ts similarity index 100% rename from src/pages/home/report/ReportActionCompose/getScrollPosition/index.android.ts rename to src/pages/inbox/report/ReportActionCompose/getScrollPosition/index.android.ts diff --git a/src/pages/home/report/ReportActionCompose/getScrollPosition/index.ios.ts b/src/pages/inbox/report/ReportActionCompose/getScrollPosition/index.ios.ts similarity index 100% rename from src/pages/home/report/ReportActionCompose/getScrollPosition/index.ios.ts rename to src/pages/inbox/report/ReportActionCompose/getScrollPosition/index.ios.ts diff --git a/src/pages/home/report/ReportActionCompose/getScrollPosition/index.ts b/src/pages/inbox/report/ReportActionCompose/getScrollPosition/index.ts similarity index 100% rename from src/pages/home/report/ReportActionCompose/getScrollPosition/index.ts rename to src/pages/inbox/report/ReportActionCompose/getScrollPosition/index.ts diff --git a/src/pages/home/report/ReportActionCompose/getScrollPosition/types.ts b/src/pages/inbox/report/ReportActionCompose/getScrollPosition/types.ts similarity index 100% rename from src/pages/home/report/ReportActionCompose/getScrollPosition/types.ts rename to src/pages/inbox/report/ReportActionCompose/getScrollPosition/types.ts diff --git a/src/pages/home/report/ReportActionCompose/useAttachmentUploadValidation.ts b/src/pages/inbox/report/ReportActionCompose/useAttachmentUploadValidation.ts similarity index 100% rename from src/pages/home/report/ReportActionCompose/useAttachmentUploadValidation.ts rename to src/pages/inbox/report/ReportActionCompose/useAttachmentUploadValidation.ts diff --git a/src/pages/home/report/ReportActionItem.tsx b/src/pages/inbox/report/ReportActionItem.tsx similarity index 100% rename from src/pages/home/report/ReportActionItem.tsx rename to src/pages/inbox/report/ReportActionItem.tsx diff --git a/src/pages/home/report/ReportActionItemBasicMessage.tsx b/src/pages/inbox/report/ReportActionItemBasicMessage.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemBasicMessage.tsx rename to src/pages/inbox/report/ReportActionItemBasicMessage.tsx diff --git a/src/pages/home/report/ReportActionItemContentCreated.tsx b/src/pages/inbox/report/ReportActionItemContentCreated.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemContentCreated.tsx rename to src/pages/inbox/report/ReportActionItemContentCreated.tsx diff --git a/src/pages/home/report/ReportActionItemContext.tsx b/src/pages/inbox/report/ReportActionItemContext.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemContext.tsx rename to src/pages/inbox/report/ReportActionItemContext.tsx diff --git a/src/pages/home/report/ReportActionItemCreated.tsx b/src/pages/inbox/report/ReportActionItemCreated.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemCreated.tsx rename to src/pages/inbox/report/ReportActionItemCreated.tsx diff --git a/src/pages/home/report/ReportActionItemDate.tsx b/src/pages/inbox/report/ReportActionItemDate.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemDate.tsx rename to src/pages/inbox/report/ReportActionItemDate.tsx diff --git a/src/pages/home/report/ReportActionItemDraft.tsx b/src/pages/inbox/report/ReportActionItemDraft.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemDraft.tsx rename to src/pages/inbox/report/ReportActionItemDraft.tsx diff --git a/src/pages/home/report/ReportActionItemFragment.tsx b/src/pages/inbox/report/ReportActionItemFragment.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemFragment.tsx rename to src/pages/inbox/report/ReportActionItemFragment.tsx diff --git a/src/pages/home/report/ReportActionItemGrouped.tsx b/src/pages/inbox/report/ReportActionItemGrouped.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemGrouped.tsx rename to src/pages/inbox/report/ReportActionItemGrouped.tsx diff --git a/src/pages/home/report/ReportActionItemMessage.tsx b/src/pages/inbox/report/ReportActionItemMessage.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemMessage.tsx rename to src/pages/inbox/report/ReportActionItemMessage.tsx diff --git a/src/pages/home/report/ReportActionItemMessageEdit.tsx b/src/pages/inbox/report/ReportActionItemMessageEdit.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemMessageEdit.tsx rename to src/pages/inbox/report/ReportActionItemMessageEdit.tsx diff --git a/src/pages/home/report/ReportActionItemMessageHeaderSender/index.native.tsx b/src/pages/inbox/report/ReportActionItemMessageHeaderSender/index.native.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemMessageHeaderSender/index.native.tsx rename to src/pages/inbox/report/ReportActionItemMessageHeaderSender/index.native.tsx diff --git a/src/pages/home/report/ReportActionItemMessageHeaderSender/index.tsx b/src/pages/inbox/report/ReportActionItemMessageHeaderSender/index.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemMessageHeaderSender/index.tsx rename to src/pages/inbox/report/ReportActionItemMessageHeaderSender/index.tsx diff --git a/src/pages/home/report/ReportActionItemMessageHeaderSender/types.ts b/src/pages/inbox/report/ReportActionItemMessageHeaderSender/types.ts similarity index 100% rename from src/pages/home/report/ReportActionItemMessageHeaderSender/types.ts rename to src/pages/inbox/report/ReportActionItemMessageHeaderSender/types.ts diff --git a/src/pages/home/report/ReportActionItemMessageWithExplain.tsx b/src/pages/inbox/report/ReportActionItemMessageWithExplain.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemMessageWithExplain.tsx rename to src/pages/inbox/report/ReportActionItemMessageWithExplain.tsx diff --git a/src/pages/home/report/ReportActionItemParentAction.tsx b/src/pages/inbox/report/ReportActionItemParentAction.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemParentAction.tsx rename to src/pages/inbox/report/ReportActionItemParentAction.tsx diff --git a/src/pages/home/report/ReportActionItemSingle.tsx b/src/pages/inbox/report/ReportActionItemSingle.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemSingle.tsx rename to src/pages/inbox/report/ReportActionItemSingle.tsx diff --git a/src/pages/home/report/ReportActionItemThread.tsx b/src/pages/inbox/report/ReportActionItemThread.tsx similarity index 100% rename from src/pages/home/report/ReportActionItemThread.tsx rename to src/pages/inbox/report/ReportActionItemThread.tsx diff --git a/src/pages/home/report/ReportActionsList.tsx b/src/pages/inbox/report/ReportActionsList.tsx similarity index 100% rename from src/pages/home/report/ReportActionsList.tsx rename to src/pages/inbox/report/ReportActionsList.tsx diff --git a/src/pages/home/report/ReportActionsListItemRenderer.tsx b/src/pages/inbox/report/ReportActionsListItemRenderer.tsx similarity index 100% rename from src/pages/home/report/ReportActionsListItemRenderer.tsx rename to src/pages/inbox/report/ReportActionsListItemRenderer.tsx diff --git a/src/pages/home/report/ReportActionsView.tsx b/src/pages/inbox/report/ReportActionsView.tsx similarity index 100% rename from src/pages/home/report/ReportActionsView.tsx rename to src/pages/inbox/report/ReportActionsView.tsx diff --git a/src/pages/home/report/ReportDetailsExportPage.tsx b/src/pages/inbox/report/ReportDetailsExportPage.tsx similarity index 100% rename from src/pages/home/report/ReportDetailsExportPage.tsx rename to src/pages/inbox/report/ReportDetailsExportPage.tsx diff --git a/src/pages/home/report/ReportDetailsShareCodePage.tsx b/src/pages/inbox/report/ReportDetailsShareCodePage.tsx similarity index 100% rename from src/pages/home/report/ReportDetailsShareCodePage.tsx rename to src/pages/inbox/report/ReportDetailsShareCodePage.tsx diff --git a/src/pages/home/report/ReportFooter.tsx b/src/pages/inbox/report/ReportFooter.tsx similarity index 100% rename from src/pages/home/report/ReportFooter.tsx rename to src/pages/inbox/report/ReportFooter.tsx diff --git a/src/pages/home/report/ReportTypingIndicator.tsx b/src/pages/inbox/report/ReportTypingIndicator.tsx similarity index 100% rename from src/pages/home/report/ReportTypingIndicator.tsx rename to src/pages/inbox/report/ReportTypingIndicator.tsx diff --git a/src/pages/home/report/ReportVerifyAccountPage.tsx b/src/pages/inbox/report/ReportVerifyAccountPage.tsx similarity index 100% rename from src/pages/home/report/ReportVerifyAccountPage.tsx rename to src/pages/inbox/report/ReportVerifyAccountPage.tsx diff --git a/src/pages/home/report/SystemChatReportFooterMessage.tsx b/src/pages/inbox/report/SystemChatReportFooterMessage.tsx similarity index 100% rename from src/pages/home/report/SystemChatReportFooterMessage.tsx rename to src/pages/inbox/report/SystemChatReportFooterMessage.tsx diff --git a/src/pages/home/report/ThreadDivider.tsx b/src/pages/inbox/report/ThreadDivider.tsx similarity index 100% rename from src/pages/home/report/ThreadDivider.tsx rename to src/pages/inbox/report/ThreadDivider.tsx diff --git a/src/pages/home/report/TripSummary.tsx b/src/pages/inbox/report/TripSummary.tsx similarity index 100% rename from src/pages/home/report/TripSummary.tsx rename to src/pages/inbox/report/TripSummary.tsx diff --git a/src/pages/home/report/UserTypingEventListener.tsx b/src/pages/inbox/report/UserTypingEventListener.tsx similarity index 100% rename from src/pages/home/report/UserTypingEventListener.tsx rename to src/pages/inbox/report/UserTypingEventListener.tsx diff --git a/src/pages/home/report/comment/AttachmentCommentFragment.tsx b/src/pages/inbox/report/comment/AttachmentCommentFragment.tsx similarity index 100% rename from src/pages/home/report/comment/AttachmentCommentFragment.tsx rename to src/pages/inbox/report/comment/AttachmentCommentFragment.tsx diff --git a/src/pages/home/report/comment/RenderCommentHTML.tsx b/src/pages/inbox/report/comment/RenderCommentHTML.tsx similarity index 100% rename from src/pages/home/report/comment/RenderCommentHTML.tsx rename to src/pages/inbox/report/comment/RenderCommentHTML.tsx diff --git a/src/pages/home/report/comment/TextCommentFragment.tsx b/src/pages/inbox/report/comment/TextCommentFragment.tsx similarity index 100% rename from src/pages/home/report/comment/TextCommentFragment.tsx rename to src/pages/inbox/report/comment/TextCommentFragment.tsx diff --git a/src/pages/home/report/comment/TextWithEmojiFragment/index.ios.tsx b/src/pages/inbox/report/comment/TextWithEmojiFragment/index.ios.tsx similarity index 100% rename from src/pages/home/report/comment/TextWithEmojiFragment/index.ios.tsx rename to src/pages/inbox/report/comment/TextWithEmojiFragment/index.ios.tsx diff --git a/src/pages/home/report/comment/TextWithEmojiFragment/index.tsx b/src/pages/inbox/report/comment/TextWithEmojiFragment/index.tsx similarity index 100% rename from src/pages/home/report/comment/TextWithEmojiFragment/index.tsx rename to src/pages/inbox/report/comment/TextWithEmojiFragment/index.tsx diff --git a/src/pages/home/report/comment/TextWithEmojiFragment/types.ts b/src/pages/inbox/report/comment/TextWithEmojiFragment/types.ts similarity index 100% rename from src/pages/home/report/comment/TextWithEmojiFragment/types.ts rename to src/pages/inbox/report/comment/TextWithEmojiFragment/types.ts diff --git a/src/pages/home/report/comment/shouldRenderAsText/index.native.ts b/src/pages/inbox/report/comment/shouldRenderAsText/index.native.ts similarity index 100% rename from src/pages/home/report/comment/shouldRenderAsText/index.native.ts rename to src/pages/inbox/report/comment/shouldRenderAsText/index.native.ts diff --git a/src/pages/home/report/comment/shouldRenderAsText/index.ts b/src/pages/inbox/report/comment/shouldRenderAsText/index.ts similarity index 100% rename from src/pages/home/report/comment/shouldRenderAsText/index.ts rename to src/pages/inbox/report/comment/shouldRenderAsText/index.ts diff --git a/src/pages/home/report/getInitialNumReportActionsToRender/index.native.ts b/src/pages/inbox/report/getInitialNumReportActionsToRender/index.native.ts similarity index 100% rename from src/pages/home/report/getInitialNumReportActionsToRender/index.native.ts rename to src/pages/inbox/report/getInitialNumReportActionsToRender/index.native.ts diff --git a/src/pages/home/report/getInitialNumReportActionsToRender/index.ts b/src/pages/inbox/report/getInitialNumReportActionsToRender/index.ts similarity index 100% rename from src/pages/home/report/getInitialNumReportActionsToRender/index.ts rename to src/pages/inbox/report/getInitialNumReportActionsToRender/index.ts diff --git a/src/pages/home/report/shouldDisplayNewMarkerOnReportAction.ts b/src/pages/inbox/report/shouldDisplayNewMarkerOnReportAction.ts similarity index 100% rename from src/pages/home/report/shouldDisplayNewMarkerOnReportAction.ts rename to src/pages/inbox/report/shouldDisplayNewMarkerOnReportAction.ts diff --git a/src/pages/home/report/shouldUseEmojiPickerSelection/index.android.ts b/src/pages/inbox/report/shouldUseEmojiPickerSelection/index.android.ts similarity index 100% rename from src/pages/home/report/shouldUseEmojiPickerSelection/index.android.ts rename to src/pages/inbox/report/shouldUseEmojiPickerSelection/index.android.ts diff --git a/src/pages/home/report/shouldUseEmojiPickerSelection/index.ts b/src/pages/inbox/report/shouldUseEmojiPickerSelection/index.ts similarity index 100% rename from src/pages/home/report/shouldUseEmojiPickerSelection/index.ts rename to src/pages/inbox/report/shouldUseEmojiPickerSelection/index.ts diff --git a/src/pages/home/report/shouldUseEmojiPickerSelection/index.website.ts b/src/pages/inbox/report/shouldUseEmojiPickerSelection/index.website.ts similarity index 100% rename from src/pages/home/report/shouldUseEmojiPickerSelection/index.website.ts rename to src/pages/inbox/report/shouldUseEmojiPickerSelection/index.website.ts diff --git a/src/pages/home/report/shouldUseEmojiPickerSelection/types.ts b/src/pages/inbox/report/shouldUseEmojiPickerSelection/types.ts similarity index 100% rename from src/pages/home/report/shouldUseEmojiPickerSelection/types.ts rename to src/pages/inbox/report/shouldUseEmojiPickerSelection/types.ts diff --git a/src/pages/home/report/useReportUnreadMessageScrollTracking.ts b/src/pages/inbox/report/useReportUnreadMessageScrollTracking.ts similarity index 100% rename from src/pages/home/report/useReportUnreadMessageScrollTracking.ts rename to src/pages/inbox/report/useReportUnreadMessageScrollTracking.ts diff --git a/src/pages/home/report/withReportAndPrivateNotesOrNotFound.tsx b/src/pages/inbox/report/withReportAndPrivateNotesOrNotFound.tsx similarity index 100% rename from src/pages/home/report/withReportAndPrivateNotesOrNotFound.tsx rename to src/pages/inbox/report/withReportAndPrivateNotesOrNotFound.tsx diff --git a/src/pages/home/report/withReportAndReportActionOrNotFound.tsx b/src/pages/inbox/report/withReportAndReportActionOrNotFound.tsx similarity index 100% rename from src/pages/home/report/withReportAndReportActionOrNotFound.tsx rename to src/pages/inbox/report/withReportAndReportActionOrNotFound.tsx diff --git a/src/pages/home/report/withReportOrNotFound.tsx b/src/pages/inbox/report/withReportOrNotFound.tsx similarity index 100% rename from src/pages/home/report/withReportOrNotFound.tsx rename to src/pages/inbox/report/withReportOrNotFound.tsx diff --git a/src/pages/home/sidebar/AvatarWithDelegateAvatar.tsx b/src/pages/inbox/sidebar/AvatarWithDelegateAvatar.tsx similarity index 100% rename from src/pages/home/sidebar/AvatarWithDelegateAvatar.tsx rename to src/pages/inbox/sidebar/AvatarWithDelegateAvatar.tsx diff --git a/src/pages/home/sidebar/AvatarWithOptionalStatus.tsx b/src/pages/inbox/sidebar/AvatarWithOptionalStatus.tsx similarity index 100% rename from src/pages/home/sidebar/AvatarWithOptionalStatus.tsx rename to src/pages/inbox/sidebar/AvatarWithOptionalStatus.tsx diff --git a/src/pages/home/sidebar/BaseSidebarScreen.tsx b/src/pages/inbox/sidebar/BaseSidebarScreen.tsx similarity index 100% rename from src/pages/home/sidebar/BaseSidebarScreen.tsx rename to src/pages/inbox/sidebar/BaseSidebarScreen.tsx diff --git a/src/pages/home/sidebar/FloatingActionButtonAndPopover.tsx b/src/pages/inbox/sidebar/FloatingActionButtonAndPopover.tsx similarity index 100% rename from src/pages/home/sidebar/FloatingActionButtonAndPopover.tsx rename to src/pages/inbox/sidebar/FloatingActionButtonAndPopover.tsx diff --git a/src/pages/home/sidebar/NavigationTabBarAvatar.tsx b/src/pages/inbox/sidebar/NavigationTabBarAvatar.tsx similarity index 100% rename from src/pages/home/sidebar/NavigationTabBarAvatar.tsx rename to src/pages/inbox/sidebar/NavigationTabBarAvatar.tsx diff --git a/src/pages/inbox/sidebar/NavigationTabBarFloatingActionButton/index.native.tsx b/src/pages/inbox/sidebar/NavigationTabBarFloatingActionButton/index.native.tsx new file mode 100644 index 000000000000..4068fbbb3c46 --- /dev/null +++ b/src/pages/inbox/sidebar/NavigationTabBarFloatingActionButton/index.native.tsx @@ -0,0 +1,3 @@ +import FloatingActionButtonAndPopover from '@pages/inbox/sidebar/FloatingActionButtonAndPopover'; + +export default FloatingActionButtonAndPopover; diff --git a/src/pages/home/sidebar/NavigationTabBarFloatingActionButton/index.tsx b/src/pages/inbox/sidebar/NavigationTabBarFloatingActionButton/index.tsx similarity index 91% rename from src/pages/home/sidebar/NavigationTabBarFloatingActionButton/index.tsx rename to src/pages/inbox/sidebar/NavigationTabBarFloatingActionButton/index.tsx index 14d7b1a59469..beef1bbc24aa 100644 --- a/src/pages/home/sidebar/NavigationTabBarFloatingActionButton/index.tsx +++ b/src/pages/inbox/sidebar/NavigationTabBarFloatingActionButton/index.tsx @@ -1,5 +1,5 @@ import React, {useCallback, useRef} from 'react'; -import FloatingActionButtonAndPopover from '@pages/home/sidebar/FloatingActionButtonAndPopover'; +import FloatingActionButtonAndPopover from '@pages/inbox/sidebar/FloatingActionButtonAndPopover'; import type FloatingActionButtonPopoverMenuRef from './types'; function NavigationTabBarFloatingActionButton() { diff --git a/src/pages/home/sidebar/NavigationTabBarFloatingActionButton/types.ts b/src/pages/inbox/sidebar/NavigationTabBarFloatingActionButton/types.ts similarity index 100% rename from src/pages/home/sidebar/NavigationTabBarFloatingActionButton/types.ts rename to src/pages/inbox/sidebar/NavigationTabBarFloatingActionButton/types.ts diff --git a/src/pages/home/sidebar/ProfileAvatarWithIndicator.tsx b/src/pages/inbox/sidebar/ProfileAvatarWithIndicator.tsx similarity index 100% rename from src/pages/home/sidebar/ProfileAvatarWithIndicator.tsx rename to src/pages/inbox/sidebar/ProfileAvatarWithIndicator.tsx diff --git a/src/pages/home/sidebar/SidebarLinks.tsx b/src/pages/inbox/sidebar/SidebarLinks.tsx similarity index 97% rename from src/pages/home/sidebar/SidebarLinks.tsx rename to src/pages/inbox/sidebar/SidebarLinks.tsx index ac0afa5984ba..036f6fd8d462 100644 --- a/src/pages/home/sidebar/SidebarLinks.tsx +++ b/src/pages/inbox/sidebar/SidebarLinks.tsx @@ -11,7 +11,7 @@ import useThemeStyles from '@hooks/useThemeStyles'; import {confirmReadyToOpenApp, setSidebarLoaded} from '@libs/actions/App'; import Navigation from '@libs/Navigation/Navigation'; import {cancelSpan} from '@libs/telemetry/activeSpans'; -import * as ReportActionContextMenu from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import * as ReportActionContextMenu from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import CONST from '@src/CONST'; import ROUTES from '@src/ROUTES'; import type {Report} from '@src/types/onyx'; diff --git a/src/pages/home/sidebar/SidebarLinksData.tsx b/src/pages/inbox/sidebar/SidebarLinksData.tsx similarity index 100% rename from src/pages/home/sidebar/SidebarLinksData.tsx rename to src/pages/inbox/sidebar/SidebarLinksData.tsx diff --git a/src/pages/home/sidebar/SignInButton.tsx b/src/pages/inbox/sidebar/SignInButton.tsx similarity index 100% rename from src/pages/home/sidebar/SignInButton.tsx rename to src/pages/inbox/sidebar/SignInButton.tsx diff --git a/src/pages/iou/SplitBillDetailsPage.tsx b/src/pages/iou/SplitBillDetailsPage.tsx index 0e4a0f8144ee..b3c3af497809 100644 --- a/src/pages/iou/SplitBillDetailsPage.tsx +++ b/src/pages/iou/SplitBillDetailsPage.tsx @@ -35,8 +35,8 @@ import { isMapDistanceRequest as isMapDistanceRequestUtil, isScanning, } from '@libs/TransactionUtils'; -import withReportAndReportActionOrNotFound from '@pages/home/report/withReportAndReportActionOrNotFound'; -import type {WithReportAndReportActionOrNotFoundProps} from '@pages/home/report/withReportAndReportActionOrNotFound'; +import withReportAndReportActionOrNotFound from '@pages/inbox/report/withReportAndReportActionOrNotFound'; +import type {WithReportAndReportActionOrNotFoundProps} from '@pages/inbox/report/withReportAndReportActionOrNotFound'; import variables from '@styles/variables'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; diff --git a/src/pages/settings/AboutPage/AboutPage.tsx b/src/pages/settings/AboutPage/AboutPage.tsx index 0a2171e5da8a..624c97088be5 100644 --- a/src/pages/settings/AboutPage/AboutPage.tsx +++ b/src/pages/settings/AboutPage/AboutPage.tsx @@ -18,7 +18,7 @@ import useThemeStyles from '@hooks/useThemeStyles'; import useWaitForNavigation from '@hooks/useWaitForNavigation'; import {isInternalTestBuild} from '@libs/Environment/Environment'; import Navigation from '@libs/Navigation/Navigation'; -import {showContextMenu} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import {showContextMenu} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import colors from '@styles/theme/colors'; import {openExternalLink} from '@userActions/Link'; import {navigateToConciergeChat} from '@userActions/Report'; diff --git a/src/pages/settings/AppDownloadLinks.tsx b/src/pages/settings/AppDownloadLinks.tsx index 5a4e551ff7e3..bb6089ae1eba 100644 --- a/src/pages/settings/AppDownloadLinks.tsx +++ b/src/pages/settings/AppDownloadLinks.tsx @@ -14,7 +14,7 @@ import useLocalize from '@hooks/useLocalize'; import useThemeStyles from '@hooks/useThemeStyles'; import {openExternalLink} from '@libs/actions/Link'; import Navigation from '@libs/Navigation/Navigation'; -import {showContextMenu} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import {showContextMenu} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import CONST from '@src/CONST'; import type {TranslationPaths} from '@src/languages/types'; diff --git a/src/pages/settings/InitialSettingsPage.tsx b/src/pages/settings/InitialSettingsPage.tsx index ee42d4466900..72e30e745d7a 100755 --- a/src/pages/settings/InitialSettingsPage.tsx +++ b/src/pages/settings/InitialSettingsPage.tsx @@ -44,7 +44,7 @@ import Navigation from '@libs/Navigation/Navigation'; import {getFreeTrialText, hasSubscriptionRedDotError} from '@libs/SubscriptionUtils'; import {getProfilePageBrickRoadIndicator} from '@libs/UserUtils'; import type SETTINGS_TO_RHP from '@navigation/linkingConfig/RELATIONS/SETTINGS_TO_RHP'; -import {showContextMenu} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import {showContextMenu} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import {BACKGROUND_LOCATION_TRACKING_TASK_NAME} from '@pages/iou/request/step/IOURequestStepDistanceGPS/const'; import variables from '@styles/variables'; import {confirmReadyToOpenApp} from '@userActions/App'; diff --git a/src/pages/settings/Report/NamePage.tsx b/src/pages/settings/Report/NamePage.tsx index 4f7674727834..f64465a24782 100644 --- a/src/pages/settings/Report/NamePage.tsx +++ b/src/pages/settings/Report/NamePage.tsx @@ -3,8 +3,8 @@ import type {PlatformStackScreenProps} from '@libs/Navigation/PlatformStackNavig import {isGroupChat, isTripRoom} from '@libs/ReportUtils'; import type {ReportSettingsNavigatorParamList} from '@navigation/types'; import GroupChatNameEditPage from '@pages/GroupChatNameEditPage'; -import withReportOrNotFound from '@pages/home/report/withReportOrNotFound'; -import type {WithReportOrNotFoundProps} from '@pages/home/report/withReportOrNotFound'; +import withReportOrNotFound from '@pages/inbox/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from '@pages/inbox/report/withReportOrNotFound'; import TripChatNameEditPage from '@pages/TripChatNameEditPage'; import type SCREENS from '@src/SCREENS'; import RoomNamePage from './RoomNamePage'; diff --git a/src/pages/settings/Report/NotificationPreferencePage.tsx b/src/pages/settings/Report/NotificationPreferencePage.tsx index 4a54a35482a7..fbd62472e9d9 100644 --- a/src/pages/settings/Report/NotificationPreferencePage.tsx +++ b/src/pages/settings/Report/NotificationPreferencePage.tsx @@ -12,8 +12,8 @@ import useReportIsArchived from '@hooks/useReportIsArchived'; import type {PlatformStackRouteProp, PlatformStackScreenProps} from '@libs/Navigation/PlatformStackNavigation/types'; import {getReportNotificationPreference, goBackToDetailsPage, isArchivedNonExpenseReport, isHiddenForCurrentUser, isMoneyRequestReport, isSelfDM} from '@libs/ReportUtils'; import type {ReportSettingsNavigatorParamList} from '@navigation/types'; -import withReportOrNotFound from '@pages/home/report/withReportOrNotFound'; -import type {WithReportOrNotFoundProps} from '@pages/home/report/withReportOrNotFound'; +import withReportOrNotFound from '@pages/inbox/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from '@pages/inbox/report/withReportOrNotFound'; import {updateNotificationPreference} from '@userActions/Report'; import CONST from '@src/CONST'; import type SCREENS from '@src/SCREENS'; diff --git a/src/pages/settings/Report/ReportSettingsPage.tsx b/src/pages/settings/Report/ReportSettingsPage.tsx index 75d308a333ff..bfa7608ae2fb 100644 --- a/src/pages/settings/Report/ReportSettingsPage.tsx +++ b/src/pages/settings/Report/ReportSettingsPage.tsx @@ -22,8 +22,8 @@ import { isSelfDM, } from '@libs/ReportUtils'; import type {ReportSettingsNavigatorParamList} from '@navigation/types'; -import withReportOrNotFound from '@pages/home/report/withReportOrNotFound'; -import type {WithReportOrNotFoundProps} from '@pages/home/report/withReportOrNotFound'; +import withReportOrNotFound from '@pages/inbox/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from '@pages/inbox/report/withReportOrNotFound'; import CONST from '@src/CONST'; import ROUTES from '@src/ROUTES'; import type SCREENS from '@src/SCREENS'; diff --git a/src/pages/settings/Report/VisibilityPage.tsx b/src/pages/settings/Report/VisibilityPage.tsx index 1ff3560c597d..3287d52e9f61 100644 --- a/src/pages/settings/Report/VisibilityPage.tsx +++ b/src/pages/settings/Report/VisibilityPage.tsx @@ -11,8 +11,8 @@ import useReportIsArchived from '@hooks/useReportIsArchived'; import type {PlatformStackRouteProp, PlatformStackScreenProps} from '@libs/Navigation/PlatformStackNavigation/types'; import type {ReportSettingsNavigatorParamList} from '@libs/Navigation/types'; import {goBackToDetailsPage, isArchivedNonExpenseReport} from '@libs/ReportUtils'; -import type {WithReportOrNotFoundProps} from '@pages/home/report/withReportOrNotFound'; -import withReportOrNotFound from '@pages/home/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from '@pages/inbox/report/withReportOrNotFound'; +import withReportOrNotFound from '@pages/inbox/report/withReportOrNotFound'; import {updateRoomVisibility} from '@userActions/Report'; import CONST from '@src/CONST'; import type SCREENS from '@src/SCREENS'; diff --git a/src/pages/settings/Report/WriteCapabilityPage.tsx b/src/pages/settings/Report/WriteCapabilityPage.tsx index 1061664a69cc..78658925b975 100644 --- a/src/pages/settings/Report/WriteCapabilityPage.tsx +++ b/src/pages/settings/Report/WriteCapabilityPage.tsx @@ -13,8 +13,8 @@ import Navigation from '@libs/Navigation/Navigation'; import type {PlatformStackRouteProp, PlatformStackScreenProps} from '@libs/Navigation/PlatformStackNavigation/types'; import {canEditWriteCapability} from '@libs/ReportUtils'; import type {ReportSettingsNavigatorParamList} from '@navigation/types'; -import withReportOrNotFound from '@pages/home/report/withReportOrNotFound'; -import type {WithReportOrNotFoundProps} from '@pages/home/report/withReportOrNotFound'; +import withReportOrNotFound from '@pages/inbox/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from '@pages/inbox/report/withReportOrNotFound'; import CONST from '@src/CONST'; import ROUTES from '@src/ROUTES'; import type SCREENS from '@src/SCREENS'; diff --git a/src/pages/tasks/TaskDescriptionPage.tsx b/src/pages/tasks/TaskDescriptionPage.tsx index 333acf98b613..b6a5a2f49be8 100644 --- a/src/pages/tasks/TaskDescriptionPage.tsx +++ b/src/pages/tasks/TaskDescriptionPage.tsx @@ -21,8 +21,8 @@ import type {ReportDescriptionNavigatorParamList} from '@libs/Navigation/types'; import Parser from '@libs/Parser'; import {getCommentLength, isOpenTaskReport, isTaskReport} from '@libs/ReportUtils'; import updateMultilineInputRange from '@libs/updateMultilineInputRange'; -import withReportOrNotFound from '@pages/home/report/withReportOrNotFound'; -import type {WithReportOrNotFoundProps} from '@pages/home/report/withReportOrNotFound'; +import withReportOrNotFound from '@pages/inbox/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from '@pages/inbox/report/withReportOrNotFound'; import variables from '@styles/variables'; import {canModifyTask, editTask} from '@userActions/Task'; import CONST from '@src/CONST'; diff --git a/src/pages/tasks/TaskTitlePage.tsx b/src/pages/tasks/TaskTitlePage.tsx index e4f1dda7ef78..8372ed0c5e69 100644 --- a/src/pages/tasks/TaskTitlePage.tsx +++ b/src/pages/tasks/TaskTitlePage.tsx @@ -21,8 +21,8 @@ import type {TaskDetailsNavigatorParamList} from '@libs/Navigation/types'; import Parser from '@libs/Parser'; import {getCommentLength, getParsedComment, isOpenTaskReport, isTaskReport} from '@libs/ReportUtils'; import updateMultilineInputRange from '@libs/updateMultilineInputRange'; -import withReportOrNotFound from '@pages/home/report/withReportOrNotFound'; -import type {WithReportOrNotFoundProps} from '@pages/home/report/withReportOrNotFound'; +import withReportOrNotFound from '@pages/inbox/report/withReportOrNotFound'; +import type {WithReportOrNotFoundProps} from '@pages/inbox/report/withReportOrNotFound'; import variables from '@styles/variables'; import {canModifyTask, editTask} from '@userActions/Task'; import CONST from '@src/CONST'; diff --git a/src/pages/workspace/accounting/intacct/SageIntacctPrerequisitesPage.tsx b/src/pages/workspace/accounting/intacct/SageIntacctPrerequisitesPage.tsx index b5632d9a5e2d..9e427f8753dc 100644 --- a/src/pages/workspace/accounting/intacct/SageIntacctPrerequisitesPage.tsx +++ b/src/pages/workspace/accounting/intacct/SageIntacctPrerequisitesPage.tsx @@ -17,7 +17,7 @@ import fileDownload from '@libs/fileDownload'; import Navigation from '@libs/Navigation/Navigation'; import type {PlatformStackScreenProps} from '@libs/Navigation/PlatformStackNavigation/types'; import type {SettingsNavigatorParamList} from '@libs/Navigation/types'; -import {showContextMenu} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import {showContextMenu} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import CONST from '@src/CONST'; import ROUTES from '@src/ROUTES'; import type SCREENS from '@src/SCREENS'; diff --git a/tests/navigation/GoBackTests.tsx b/tests/navigation/GoBackTests.tsx index b0e25fd102fb..60240b839a67 100644 --- a/tests/navigation/GoBackTests.tsx +++ b/tests/navigation/GoBackTests.tsx @@ -13,7 +13,7 @@ import TestNavigationContainer from '../utils/TestNavigationContainer'; jest.mock('@hooks/useResponsiveLayout', () => jest.fn()); jest.mock('@libs/getIsNarrowLayout', () => jest.fn()); -jest.mock('@pages/home/sidebar/NavigationTabBarAvatar'); +jest.mock('@pages/inbox/sidebar/NavigationTabBarAvatar'); jest.mock('@src/components/Navigation/TopLevelNavigationTabBar'); const mockedGetIsNarrowLayout = getIsNarrowLayout as jest.MockedFunction; diff --git a/tests/navigation/NavigateTests.tsx b/tests/navigation/NavigateTests.tsx index d8ee89714c07..bcc56f865740 100644 --- a/tests/navigation/NavigateTests.tsx +++ b/tests/navigation/NavigateTests.tsx @@ -13,7 +13,7 @@ import TestNavigationContainer from '../utils/TestNavigationContainer'; jest.mock('@hooks/useResponsiveLayout', () => jest.fn()); jest.mock('@libs/getIsNarrowLayout', () => jest.fn()); -jest.mock('@pages/home/sidebar/NavigationTabBarAvatar'); +jest.mock('@pages/inbox/sidebar/NavigationTabBarAvatar'); jest.mock('@src/components/Navigation/TopLevelNavigationTabBar'); const mockedGetIsNarrowLayout = getIsNarrowLayout as jest.MockedFunction; diff --git a/tests/navigation/NavigationTests.tsx b/tests/navigation/NavigationTests.tsx index 849f96146c4c..b2e9546f1237 100644 --- a/tests/navigation/NavigationTests.tsx +++ b/tests/navigation/NavigationTests.tsx @@ -9,7 +9,7 @@ import TestNavigationContainer from '../utils/TestNavigationContainer'; jest.mock('@hooks/useResponsiveLayout', () => jest.fn()); jest.mock('@libs/getIsNarrowLayout', () => jest.fn()); -jest.mock('@pages/home/sidebar/NavigationTabBarAvatar'); +jest.mock('@pages/inbox/sidebar/NavigationTabBarAvatar'); jest.mock('@src/components/Navigation/TopLevelNavigationTabBar'); const mockedGetIsNarrowLayout = getIsNarrowLayout as jest.MockedFunction; diff --git a/tests/navigation/PopToSidebarTests.tsx b/tests/navigation/PopToSidebarTests.tsx index 7c55dd7758b4..856090b78c92 100644 --- a/tests/navigation/PopToSidebarTests.tsx +++ b/tests/navigation/PopToSidebarTests.tsx @@ -13,7 +13,7 @@ import TestNavigationContainer from '../utils/TestNavigationContainer'; jest.mock('@hooks/useResponsiveLayout', () => jest.fn()); jest.mock('@libs/getIsNarrowLayout', () => jest.fn()); -jest.mock('@pages/home/sidebar/NavigationTabBarAvatar'); +jest.mock('@pages/inbox/sidebar/NavigationTabBarAvatar'); jest.mock('@src/components/Navigation/TopLevelNavigationTabBar'); const mockedGetIsNarrowLayout = getIsNarrowLayout as jest.MockedFunction; diff --git a/tests/perf-test/ReportActionCompose.perf-test.tsx b/tests/perf-test/ReportActionCompose.perf-test.tsx index 4496f145ef57..4aa022dfa749 100644 --- a/tests/perf-test/ReportActionCompose.perf-test.tsx +++ b/tests/perf-test/ReportActionCompose.perf-test.tsx @@ -6,11 +6,11 @@ import {measureRenders} from 'reassure'; import OnyxListItemProvider from '@components/OnyxListItemProvider'; import type {EmojiPickerRef} from '@libs/actions/EmojiPickerAction'; import type Navigation from '@libs/Navigation/Navigation'; +import ReportActionCompose from '@pages/inbox/report/ReportActionCompose/ReportActionCompose'; import ComposeProviders from '@src/components/ComposeProviders'; import {LocaleContextProvider} from '@src/components/LocaleContextProvider'; import {KeyboardStateProvider} from '@src/components/withKeyboardState'; import ONYXKEYS from '@src/ONYXKEYS'; -import ReportActionCompose from '@src/pages/home/report/ReportActionCompose/ReportActionCompose'; import * as LHNTestUtils from '../utils/LHNTestUtils'; import {translateLocal} from '../utils/TestHelper'; import waitForBatchedUpdates from '../utils/waitForBatchedUpdates'; diff --git a/tests/perf-test/ReportActionsList.perf-test.tsx b/tests/perf-test/ReportActionsList.perf-test.tsx index b1b251f352c8..9886df007687 100644 --- a/tests/perf-test/ReportActionsList.perf-test.tsx +++ b/tests/perf-test/ReportActionsList.perf-test.tsx @@ -5,12 +5,12 @@ import {measureRenders} from 'reassure'; import OnyxListItemProvider from '@components/OnyxListItemProvider'; import type {WithCurrentUserPersonalDetailsProps} from '@components/withCurrentUserPersonalDetails'; import type Navigation from '@libs/Navigation/Navigation'; +import ReportActionsList from '@pages/inbox/report/ReportActionsList'; +import {ActionListContext, ReactionListContext} from '@pages/inbox/ReportScreenContext'; import {AttachmentModalContextProvider} from '@pages/media/AttachmentModalScreen/AttachmentModalContext'; import ComposeProviders from '@src/components/ComposeProviders'; import {LocaleContextProvider} from '@src/components/LocaleContextProvider'; import ONYXKEYS from '@src/ONYXKEYS'; -import ReportActionsList from '@src/pages/home/report/ReportActionsList'; -import {ActionListContext, ReactionListContext} from '@src/pages/home/ReportScreenContext'; import type {PersonalDetailsList} from '@src/types/onyx'; import createRandomReportAction from '../utils/collections/reportActions'; import {createRandomReport} from '../utils/collections/reports'; diff --git a/tests/ui/GroupChatNameTests.tsx b/tests/ui/GroupChatNameTests.tsx index 94eb0491fbdf..2e529a904ef0 100644 --- a/tests/ui/GroupChatNameTests.tsx +++ b/tests/ui/GroupChatNameTests.tsx @@ -119,7 +119,7 @@ jest.mock('@src/components/Navigation/NavigationTabBar', () => { }); // Mock FloatingActionButtonAndPopover component to prevent act() warnings -jest.mock('@src/pages/home/sidebar/FloatingActionButtonAndPopover', () => { +jest.mock('@src/pages/inbox/sidebar/FloatingActionButtonAndPopover', () => { const {View} = require('react-native'); return (props: Record) => { return ( @@ -132,7 +132,7 @@ jest.mock('@src/pages/home/sidebar/FloatingActionButtonAndPopover', () => { }); // Mock ProfileAvatarWithIndicator component to prevent act() warnings -jest.mock('@src/pages/home/sidebar/ProfileAvatarWithIndicator', () => { +jest.mock('@src/pages/inbox/sidebar/ProfileAvatarWithIndicator', () => { const {View} = require('react-native'); return (props: Record) => { return ( diff --git a/tests/ui/NavigationTabBarAvatarTest.tsx b/tests/ui/NavigationTabBarAvatarTest.tsx index 534045444281..3a1ddf5a5529 100644 --- a/tests/ui/NavigationTabBarAvatarTest.tsx +++ b/tests/ui/NavigationTabBarAvatarTest.tsx @@ -1,7 +1,7 @@ import {cleanup, fireEvent, render, screen} from '@testing-library/react-native'; import React from 'react'; import OnyxListItemProvider from '@components/OnyxListItemProvider'; -import NavigationTabBarAvatar from '@pages/home/sidebar/NavigationTabBarAvatar'; +import NavigationTabBarAvatar from '@pages/inbox/sidebar/NavigationTabBarAvatar'; import colors from '@styles/theme/colors'; import CONST from '@src/CONST'; diff --git a/tests/ui/PureReportActionItemTest.tsx b/tests/ui/PureReportActionItemTest.tsx index 36c2f5ec9ff7..589612424e27 100644 --- a/tests/ui/PureReportActionItemTest.tsx +++ b/tests/ui/PureReportActionItemTest.tsx @@ -11,7 +11,7 @@ import OptionsListContextProvider from '@components/OptionListContextProvider'; import ScreenWrapper from '@components/ScreenWrapper'; import Parser from '@libs/Parser'; import {getIOUActionForReportID} from '@libs/ReportActionsUtils'; -import PureReportActionItem from '@pages/home/report/PureReportActionItem'; +import PureReportActionItem from '@pages/inbox/report/PureReportActionItem'; import CONST from '@src/CONST'; import type {TranslationPaths} from '@src/languages/types'; import * as ReportActionUtils from '@src/libs/ReportActionsUtils'; diff --git a/tests/ui/ReportActionComposeTest.tsx b/tests/ui/ReportActionComposeTest.tsx index ec840b47c019..a9eecd42f649 100644 --- a/tests/ui/ReportActionComposeTest.tsx +++ b/tests/ui/ReportActionComposeTest.tsx @@ -6,8 +6,8 @@ import ComposeProviders from '@components/ComposeProviders'; import {LocaleContextProvider} from '@components/LocaleContextProvider'; import OnyxListItemProvider from '@components/OnyxListItemProvider'; import {forceClearInput} from '@libs/ComponentUtils'; -import type {ReportActionComposeProps} from '@pages/home/report/ReportActionCompose/ReportActionCompose'; -import ReportActionCompose, {onSubmitAction} from '@pages/home/report/ReportActionCompose/ReportActionCompose'; +import type {ReportActionComposeProps} from '@pages/inbox/report/ReportActionCompose/ReportActionCompose'; +import ReportActionCompose, {onSubmitAction} from '@pages/inbox/report/ReportActionCompose/ReportActionCompose'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import * as LHNTestUtils from '../utils/LHNTestUtils'; diff --git a/tests/ui/ReportActionItemMessageEditTest.tsx b/tests/ui/ReportActionItemMessageEditTest.tsx index 868b555d35f7..95a9c42d2ded 100644 --- a/tests/ui/ReportActionItemMessageEditTest.tsx +++ b/tests/ui/ReportActionItemMessageEditTest.tsx @@ -6,8 +6,8 @@ import ComposeProviders from '@components/ComposeProviders'; import {LocaleContextProvider} from '@components/LocaleContextProvider'; import OnyxListItemProvider from '@components/OnyxListItemProvider'; import {editReportComment} from '@libs/actions/Report'; -import ReportActionItemMessageEdit from '@pages/home/report/ReportActionItemMessageEdit'; -import type {ReportActionItemMessageEditProps} from '@pages/home/report/ReportActionItemMessageEdit'; +import ReportActionItemMessageEdit from '@pages/inbox/report/ReportActionItemMessageEdit'; +import type {ReportActionItemMessageEditProps} from '@pages/inbox/report/ReportActionItemMessageEdit'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import * as LHNTestUtils from '../utils/LHNTestUtils'; diff --git a/tests/ui/ReportActionsViewTest.tsx b/tests/ui/ReportActionsViewTest.tsx index 739c019b27cc..86fa52332b2c 100644 --- a/tests/ui/ReportActionsViewTest.tsx +++ b/tests/ui/ReportActionsViewTest.tsx @@ -7,7 +7,7 @@ import useNetwork from '@hooks/useNetwork'; import useOnyx from '@hooks/useOnyx'; import useResponsiveLayout from '@hooks/useResponsiveLayout'; import useTransactionsAndViolationsForReport from '@hooks/useTransactionsAndViolationsForReport'; -import ReportActionsView from '@pages/home/report/ReportActionsView'; +import ReportActionsView from '@pages/inbox/report/ReportActionsView'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import type * as OnyxTypes from '@src/types/onyx'; @@ -46,7 +46,7 @@ jest.mock('@hooks/useLoadReportActions', () => ); jest.mock('@hooks/usePrevious', () => jest.fn()); -jest.mock('@pages/home/report/ReportActionsList', () => +jest.mock('@pages/inbox/report/ReportActionsList', () => jest.fn(({sortedReportActions}: {sortedReportActions: OnyxTypes.ReportAction[]}) => { if (sortedReportActions && sortedReportActions.length > 0) { return null; // Simulate normal content @@ -54,7 +54,7 @@ jest.mock('@pages/home/report/ReportActionsList', () => return null; }), ); -jest.mock('@pages/home/report/UserTypingEventListener', () => jest.fn(() => null)); +jest.mock('@pages/inbox/report/UserTypingEventListener', () => jest.fn(() => null)); jest.mock('@libs/actions/Report', () => ({ updateLoadingInitialReportAction: jest.fn(), diff --git a/tests/ui/components/HeaderViewTest.tsx b/tests/ui/components/HeaderViewTest.tsx index c7e2b70f9f1c..368b7f8c1e07 100644 --- a/tests/ui/components/HeaderViewTest.tsx +++ b/tests/ui/components/HeaderViewTest.tsx @@ -8,7 +8,7 @@ import OnyxListItemProvider from '@components/OnyxListItemProvider'; import useCurrentUserPersonalDetails from '@hooks/useCurrentUserPersonalDetails'; import type Navigation from '@libs/Navigation/Navigation'; import {buildOptimisticCreatedReportForUnapprovedAction} from '@libs/ReportUtils'; -import HeaderView from '@pages/home/HeaderView'; +import HeaderView from '@pages/inbox/HeaderView'; import {joinRoom} from '@userActions/Report'; // eslint-disable-next-line no-restricted-syntax import type * as ReportType from '@userActions/Report'; diff --git a/tests/ui/components/LHNOptionsListTest.tsx b/tests/ui/components/LHNOptionsListTest.tsx index b1804e2a2f49..76b147044f4b 100644 --- a/tests/ui/components/LHNOptionsListTest.tsx +++ b/tests/ui/components/LHNOptionsListTest.tsx @@ -8,14 +8,14 @@ import LHNOptionsList from '@components/LHNOptionsList/LHNOptionsList'; import type {LHNOptionsListProps} from '@components/LHNOptionsList/types'; import {LocaleContextProvider} from '@components/LocaleContextProvider'; import OnyxListItemProvider from '@components/OnyxListItemProvider'; -import {showContextMenu} from '@pages/home/report/ContextMenu/ReportActionContextMenu'; +import {showContextMenu} from '@pages/inbox/report/ContextMenu/ReportActionContextMenu'; import CONST from '@src/CONST'; import ONYXKEYS from '@src/ONYXKEYS'; import type {Policy, Report, ReportAction} from '@src/types/onyx'; import {getFakeReport} from '../../utils/LHNTestUtils'; // Mock the context menu -jest.mock('@pages/home/report/ContextMenu/ReportActionContextMenu', () => ({ +jest.mock('@pages/inbox/report/ContextMenu/ReportActionContextMenu', () => ({ showContextMenu: jest.fn(), })); diff --git a/tests/unit/hooks/useReportWasDeleted.test.ts b/tests/unit/hooks/useReportWasDeleted.test.ts index e13477b55894..cfa2246649fc 100644 --- a/tests/unit/hooks/useReportWasDeleted.test.ts +++ b/tests/unit/hooks/useReportWasDeleted.test.ts @@ -1,5 +1,5 @@ import {renderHook} from '@testing-library/react-native'; -import useReportWasDeleted from '@src/pages/home/hooks/useReportWasDeleted'; +import useReportWasDeleted from '@pages/inbox/hooks/useReportWasDeleted'; import type {Report} from '@src/types/onyx'; describe('useReportWasDeleted', () => { diff --git a/tests/unit/useReportUnreadMessageScrollTrackingTest.ts b/tests/unit/useReportUnreadMessageScrollTrackingTest.ts index d696bbf9825c..68ce4f0609ae 100644 --- a/tests/unit/useReportUnreadMessageScrollTrackingTest.ts +++ b/tests/unit/useReportUnreadMessageScrollTrackingTest.ts @@ -1,7 +1,7 @@ import {act, renderHook} from '@testing-library/react-native'; import type {NativeScrollEvent, NativeSyntheticEvent} from 'react-native'; import type Navigation from '@libs/Navigation/Navigation'; -import useReportUnreadMessageScrollTracking from '@pages/home/report/useReportUnreadMessageScrollTracking'; +import useReportUnreadMessageScrollTracking from '@pages/inbox/report/useReportUnreadMessageScrollTracking'; import {readNewestAction} from '@userActions/Report'; import CONST from '@src/CONST'; diff --git a/tests/utils/LHNTestUtils.tsx b/tests/utils/LHNTestUtils.tsx index 32699860caad..fa1dcb47e1b1 100644 --- a/tests/utils/LHNTestUtils.tsx +++ b/tests/utils/LHNTestUtils.tsx @@ -11,8 +11,8 @@ import {CurrentReportIDContextProvider} from '@hooks/useCurrentReportID'; import {SidebarOrderedReportsContextProvider} from '@hooks/useSidebarOrderedReports'; import DateUtils from '@libs/DateUtils'; import {buildParticipantsFromAccountIDs} from '@libs/ReportUtils'; -import ReportActionItemSingle from '@pages/home/report/ReportActionItemSingle'; -import SidebarLinksData from '@pages/home/sidebar/SidebarLinksData'; +import ReportActionItemSingle from '@pages/inbox/report/ReportActionItemSingle'; +import SidebarLinksData from '@pages/inbox/sidebar/SidebarLinksData'; import CONST from '@src/CONST'; import type {PersonalDetailsList, Policy, Report, ReportAction, TransactionViolation, ViolationName} from '@src/types/onyx'; import type ReportActionName from '@src/types/onyx/ReportActionName';