Skip to content

Commit 4a83013

Browse files
committed
Merge remote-tracking branch 'origin' into fix/88756
2 parents 012a2b1 + e974a39 commit 4a83013

63 files changed

Lines changed: 936 additions & 440 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Mobile-Expensify

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ android {
111111
minSdkVersion rootProject.ext.minSdkVersion
112112
targetSdkVersion rootProject.ext.targetSdkVersion
113113
multiDexEnabled rootProject.ext.multiDexEnabled
114-
versionCode 1009036704
115-
versionName "9.3.67-4"
114+
versionCode 1009036707
115+
versionName "9.3.67-7"
116116
// Supported language variants must be declared here to avoid from being removed during the compilation.
117117
// This also helps us to not include unnecessary language variants in the APK.
118118
resConfigs "en", "es"

config/eslint/eslint.seatbelt.tsv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,7 @@
477477
"../../src/pages/ScheduleCall/ScheduleCallPage.tsx" "react-hooks/preserve-manual-memoization" 1
478478
"../../src/pages/Search/SearchAdvancedFiltersPage/SearchFiltersCardPage.tsx" "react-hooks/set-state-in-effect" 1
479479
"../../src/pages/Search/SearchMoneyRequestReportPage.tsx" "@typescript-eslint/no-deprecated/InteractionManager.runAfterInteractions" 1
480+
"../../src/pages/Search/SearchPage.tsx" "react-hooks/refs" 31
480481
"../../src/pages/Search/SearchPage.tsx" "react-hooks/set-state-in-effect" 1
481482
"../../src/pages/Search/SearchTransactionsChangeReport.tsx" "@typescript-eslint/no-deprecated/InteractionManager.runAfterInteractions" 1
482483
"../../src/pages/Share/ShareRootPage.tsx" "@typescript-eslint/no-deprecated/InteractionManager.runAfterInteractions" 1

ios/NewExpensify/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
</dict>
4545
</array>
4646
<key>CFBundleVersion</key>
47-
<string>9.3.67.4</string>
47+
<string>9.3.67.7</string>
4848
<key>FullStory</key>
4949
<dict>
5050
<key>OrgId</key>

ios/NotificationServiceExtension/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<key>CFBundleShortVersionString</key>
1414
<string>9.3.67</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.3.67.4</string>
16+
<string>9.3.67.7</string>
1717
<key>NSExtension</key>
1818
<dict>
1919
<key>NSExtensionPointIdentifier</key>

ios/ShareViewController/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<key>CFBundleShortVersionString</key>
1414
<string>9.3.67</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.3.67.4</string>
16+
<string>9.3.67.7</string>
1717
<key>NSExtension</key>
1818
<dict>
1919
<key>NSExtensionAttributes</key>

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "new.expensify",
3-
"version": "9.3.67-4",
3+
"version": "9.3.67-7",
44
"author": "Expensify, Inc.",
55
"homepage": "https://new.expensify.com",
66
"description": "New Expensify is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.",

src/components/Attachments/AttachmentView/index.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import {useMemoizedLazyExpensifyIcons} from '@hooks/useLazyAsset';
2020
import useLocalize from '@hooks/useLocalize';
2121
import useNetwork from '@hooks/useNetwork';
2222
import useOnyx from '@hooks/useOnyx';
23+
import useReportOrReportDraft from '@hooks/useReportOrReportDraft';
2324
import useSafeAreaPaddings from '@hooks/useSafeAreaPaddings';
2425
import useStyleUtils from '@hooks/useStyleUtils';
2526
import useTheme from '@hooks/useTheme';
@@ -144,6 +145,7 @@ function AttachmentView({
144145
const encryptedAuthToken = session?.encryptedAuthToken ?? '';
145146
const {translate} = useLocalize();
146147
const {updateCurrentURLAndReportID} = usePlaybackActionsContext();
148+
const report = useReportOrReportDraft(reportID);
147149

148150
const actions = useAttachmentCarouselPagerActions();
149151
const {onAttachmentError, onTap} = actions ?? {};
@@ -163,8 +165,8 @@ function AttachmentView({
163165
return;
164166
}
165167
const videoSource = isVideo && typeof source === 'string' ? source : undefined;
166-
updateCurrentURLAndReportID(videoSource, reportID);
167-
}, [file, isFocused, isInFocusedModal, isUsedInAttachmentModal, isVideo, reportID, source, updateCurrentURLAndReportID]);
168+
updateCurrentURLAndReportID(videoSource, report, reportID);
169+
}, [file, isFocused, isInFocusedModal, isUsedInAttachmentModal, isVideo, reportID, source, updateCurrentURLAndReportID, report]);
168170

169171
const [imageError, setImageError] = useState(false);
170172

src/components/LHNOptionsList/LHNOptionsList.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import CONST from '@src/CONST';
1717
import ONYXKEYS from '@src/ONYXKEYS';
1818
import type {Report} from '@src/types/onyx';
1919
import LHNTooltipContextProvider from './LHNTooltipContextProvider';
20-
import OptionRowLHNData from './OptionRowLHNData';
20+
import OptionRowLHNData from './OptionRowLHN';
2121
import OptionRowRendererComponent from './OptionRowRendererComponent';
2222
import type {LHNOptionsListProps, RenderItemProps} from './types';
2323

@@ -34,7 +34,6 @@ function LHNOptionsList({style, contentContainerStyles, data, onSelectRow, optio
3434
const reportAttributes = useReportAttributes();
3535
const [policy] = useOnyx(ONYXKEYS.COLLECTION.POLICY);
3636
const [personalDetails] = useOnyx(ONYXKEYS.PERSONAL_DETAILS_LIST);
37-
const [conciergeReportID] = useOnyx(ONYXKEYS.CONCIERGE_REPORT_ID);
3837

3938
const styles = useThemeStyles();
4039
const estimatedItemSize = optionMode === CONST.OPTION_MODE.COMPACT ? variables.optionRowHeightCompact : variables.optionRowHeight;
@@ -84,7 +83,6 @@ function LHNOptionsList({style, contentContainerStyles, data, onSelectRow, optio
8483
policy={itemPolicy}
8584
invoiceReceiverPolicy={itemInvoiceReceiverPolicy}
8685
personalDetails={personalDetails ?? {}}
87-
conciergeReportID={conciergeReportID}
8886
viewMode={optionMode}
8987
isOptionFocused={!shouldDisableFocusOptions}
9088
onSelectRow={onSelectRow}
@@ -93,12 +91,12 @@ function LHNOptionsList({style, contentContainerStyles, data, onSelectRow, optio
9391
/>
9492
);
9593
},
96-
[reportAttributes, reports, policy, personalDetails, conciergeReportID, optionMode, shouldDisableFocusOptions, onSelectRow, onLayoutItem],
94+
[reportAttributes, reports, policy, personalDetails, optionMode, shouldDisableFocusOptions, onSelectRow, onLayoutItem],
9795
);
9896

9997
const extraData = useMemo(
100-
() => [reports, reportAttributes, policy, personalDetails, conciergeReportID, data.length, optionMode, isOffline],
101-
[reports, reportAttributes, policy, personalDetails, conciergeReportID, data.length, optionMode, isOffline],
98+
() => [reports, reportAttributes, policy, personalDetails, data.length, optionMode, isOffline],
99+
[reports, reportAttributes, policy, personalDetails, data.length, optionMode, isOffline],
102100
);
103101

104102
const previousOptionMode = usePrevious(optionMode);

0 commit comments

Comments
 (0)