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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ import SafeArea from './components/SafeArea';
import ScrollOffsetContextProvider from './components/ScrollOffsetContextProvider';
import SidePanelContextProvider from './components/SidePanel/SidePanelContextProvider';
import SVGDefinitionsProvider from './components/SVGDefinitionsProvider';
import {EditingCellProvider} from './components/Table/EditableCell';
import ThemeIllustrationsProvider from './components/ThemeIllustrationsProvider';
import ThemeProvider from './components/ThemeProvider';
import ThemeStylesProvider from './components/ThemeStylesContextProvider';
import {EditingCellProvider} from './components/TransactionItemRow/EditableCell';
import {KeyboardStateProvider} from './components/withKeyboardState';
import CONFIG from './CONFIG';
import CONST from './CONST';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {getButtonRole} from '@components/Button/utils';
import OfflineWithFeedback from '@components/OfflineWithFeedback';
import {PressableWithFeedback} from '@components/Pressable';
import type {SearchColumnType, TableColumnSize} from '@components/Search/types';
import {useEditingCellState} from '@components/Table/EditableCell';
import TransactionItemRow from '@components/TransactionItemRow';
import {useEditingCellState} from '@components/TransactionItemRow/EditableCell';
import useAnimatedHighlightStyle from '@hooks/useAnimatedHighlightStyle';
import useLocalize from '@hooks/useLocalize';
import useResponsiveLayout from '@hooks/useResponsiveLayout';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type {GestureResponderEvent, NativeSyntheticEvent} from 'react-native';
import Animated from 'react-native-reanimated';
import type {SearchListItem} from '@components/Search/SearchList/ListItem/types';
import type {ExtendedTargetedEvent} from '@components/SelectionList/ListItem/types';
import {useEditingCellState} from '@components/Table/EditableCell';
import {useEditingCellState} from '@components/TransactionItemRow/EditableCell';
import useArrowKeyFocusManager from '@hooks/useArrowKeyFocusManager';
import useKeyboardShortcut from '@hooks/useKeyboardShortcut';
import useStableIndexedHandler from '@hooks/useStableIndexedHandler';
Expand Down
4 changes: 2 additions & 2 deletions src/components/Search/SearchList/ListItem/DateCell.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import React from 'react';
import DatePickerModal from '@components/DatePicker/DatePickerModal';
import {EditableCell, usePopoverEditState} from '@components/Table/EditableCell';
import type {EditableProps} from '@components/Table/EditableCell/types';
import TextWithTooltip from '@components/TextWithTooltip';
import {EditableCell, usePopoverEditState} from '@components/TransactionItemRow/EditableCell';
import type {EditableProps} from '@components/TransactionItemRow/EditableCell/types';
import useResponsiveLayout from '@hooks/useResponsiveLayout';
import useThemeStyles from '@hooks/useThemeStyles';
import DateUtils from '@libs/DateUtils';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {useDelegateNoAccessActions, useDelegateNoAccessState} from '@components/
import {useSearchStateContext} from '@components/Search/SearchContext';
import type {TransactionListItemProps, TransactionListItemType} from '@components/Search/SearchList/ListItem/types';
import type {ListItem} from '@components/SelectionList/types';
import {useEditingCellState} from '@components/Table/EditableCell';
import {useEditingCellState} from '@components/TransactionItemRow/EditableCell';
import useCurrentUserPersonalDetails from '@hooks/useCurrentUserPersonalDetails';
import useOnyx from '@hooks/useOnyx';
import useResponsiveLayout from '@hooks/useResponsiveLayout';
Expand Down
2 changes: 1 addition & 1 deletion src/components/Search/SearchList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import {ScrollOffsetContext} from '@components/ScrollOffsetContextProvider';
import ScrollView from '@components/ScrollView';
import type {SearchColumnType, SearchGroupBy, SearchQueryJSON, SelectedTransactions} from '@components/Search/types';
import type {ExtendedTargetedEvent} from '@components/SelectionList/ListItem/types';
import {useEditingCellState} from '@components/Table/EditableCell';
import Text from '@components/Text';
import {useEditingCellState} from '@components/TransactionItemRow/EditableCell';
import useKeyboardState from '@hooks/useKeyboardState';
import {useMemoizedLazyExpensifyIcons} from '@hooks/useLazyAsset';
import useLocalize from '@hooks/useLocalize';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import React from 'react';
import CategoryPickerModal from '@components/CategoryPicker/CategoryPickerModal';
import TextWithIconCell from '@components/Search/SearchList/ListItem/TextWithIconCell';
import type {ListItem} from '@components/SelectionList/types';
import {EditableCell, usePopoverEditState} from '@components/Table/EditableCell';
import type {EditableProps} from '@components/Table/EditableCell';
import TextWithTooltip from '@components/TextWithTooltip';
import {EditableCell, usePopoverEditState} from '@components/TransactionItemRow/EditableCell';
import type {EditableProps} from '@components/TransactionItemRow/EditableCell';
import {useMemoizedLazyExpensifyIcons} from '@hooks/useLazyAsset';
import useThemeStyles from '@hooks/useThemeStyles';
import {getDecodedCategoryName, isCategoryMissing} from '@libs/CategoryUtils';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import React, {useMemo, useRef} from 'react';
import type {TextInput as RNTextInput} from 'react-native';
import {EditableCell, useInlineEditState} from '@components/Table/EditableCell';
import type {EditableProps} from '@components/Table/EditableCell/types';
import TextInput from '@components/TextInput';
import type {BaseTextInputRef} from '@components/TextInput/BaseTextInput/types';
import TextWithTooltip from '@components/TextWithTooltip';
import {EditableCell, useInlineEditState} from '@components/TransactionItemRow/EditableCell';
import type {EditableProps} from '@components/TransactionItemRow/EditableCell/types';
import useKeyboardShortcut from '@hooks/useKeyboardShortcut';
import useLocalize from '@hooks/useLocalize';
import useThemeStyles from '@hooks/useThemeStyles';
Expand Down
4 changes: 2 additions & 2 deletions src/components/TransactionItemRow/DataCells/TagCell.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react';
import TextWithIconCell from '@components/Search/SearchList/ListItem/TextWithIconCell';
import type {EditableProps} from '@components/Table/EditableCell';
import {EditableCell, usePopoverEditState} from '@components/Table/EditableCell';
import TagPickerModal from '@components/TagPicker/TagPickerModal';
import TextWithTooltip from '@components/TextWithTooltip';
import type {EditableProps} from '@components/TransactionItemRow/EditableCell';
import {EditableCell, usePopoverEditState} from '@components/TransactionItemRow/EditableCell';
import {useMemoizedLazyExpensifyIcons} from '@hooks/useLazyAsset';
import useOnyx from '@hooks/useOnyx';
import useThemeStyles from '@hooks/useThemeStyles';
Expand Down
4 changes: 2 additions & 2 deletions src/components/TransactionItemRow/DataCells/TotalCell.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React, {useRef, useState} from 'react';
import MoneyRequestAmountInput from '@components/MoneyRequestAmountInput';
import {EditableCell, useInlineEditState} from '@components/Table/EditableCell';
import type {EditableProps} from '@components/Table/EditableCell';
import type {BaseTextInputRef} from '@components/TextInput/BaseTextInput/types';
import TextWithTooltip from '@components/TextWithTooltip';
import {EditableCell, useInlineEditState} from '@components/TransactionItemRow/EditableCell';
import type {EditableProps} from '@components/TransactionItemRow/EditableCell';
import {useCurrencyListActions} from '@hooks/useCurrencyList';
import useKeyboardShortcut from '@hooks/useKeyboardShortcut';
import useLocalize from '@hooks/useLocalize';
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/hooks/useInlineEditState.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {act, renderHook} from '@testing-library/react-native';
import type {Dispatch, SetStateAction} from 'react';
import useInlineEditState from '@components/Table/EditableCell/useInlineEditState';
import useInlineEditState from '@components/TransactionItemRow/EditableCell/useInlineEditState';

type SetupOptions<T> = {
canEdit?: boolean;
Expand Down
Loading