Skip to content

Commit 256458e

Browse files
committed
Merge branch 'main' into korytko/avatars-reports
2 parents d1f63ed + 3268d4c commit 256458e

79 files changed

Lines changed: 1244 additions & 767 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
@@ -114,8 +114,8 @@ android {
114114
minSdkVersion rootProject.ext.minSdkVersion
115115
targetSdkVersion rootProject.ext.targetSdkVersion
116116
multiDexEnabled rootProject.ext.multiDexEnabled
117-
versionCode 1009018800
118-
versionName "9.1.88-0"
117+
versionCode 1009018802
118+
versionName "9.1.88-2"
119119
// Supported language variants must be declared here to avoid from being removed during the compilation.
120120
// This also helps us to not include unnecessary language variants in the APK.
121121
resConfigs "en", "es"

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.1.88.0</string>
47+
<string>9.1.88.2</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.1.88</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.1.88.0</string>
16+
<string>9.1.88.2</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.1.88</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.1.88.0</string>
16+
<string>9.1.88.2</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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "new.expensify",
3-
"version": "9.1.88-0",
3+
"version": "9.1.88-2",
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.",
@@ -46,7 +46,7 @@
4646
"test:debug": "TZ=utc NODE_OPTIONS='--inspect-brk --experimental-vm-modules' jest --runInBand",
4747
"perf-test": "NODE_OPTIONS=--experimental-vm-modules npx reassure",
4848
"typecheck": "NODE_OPTIONS=--max_old_space_size=8192 tsc",
49-
"lint": "NODE_OPTIONS=--max_old_space_size=8192 eslint . --max-warnings=331 --cache --cache-location=node_modules/.cache/eslint",
49+
"lint": "NODE_OPTIONS=--max_old_space_size=8192 eslint . --max-warnings=329 --cache --cache-location=node_modules/.cache/eslint",
5050
"lint-changed": "NODE_OPTIONS=--max_old_space_size=8192 ./scripts/lintChanged.sh",
5151
"lint-watch": "npx eslint-watch --watch --changed",
5252
"shellcheck": "./scripts/shellCheck.sh",

src/CONST/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,6 @@ const CONST = {
905905
EMPTY_ARRAY,
906906
EMPTY_OBJECT,
907907
DEFAULT_NUMBER_ID,
908-
FAKE_REPORT_ID: 'FAKE_REPORT_ID',
909908
USE_EXPENSIFY_URL,
910909
EXPENSIFY_URL,
911910
EXPENSIFY_MOBILE_URL,

src/ONYXKEYS.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -548,8 +548,8 @@ const ONYXKEYS = {
548548
/** Is unreported transactions loading */
549549
IS_LOADING_UNREPORTED_TRANSACTIONS: 'isLoadingUnreportedTransactions',
550550

551-
/** List of transaction IDs used when navigating to prev/next transaction when viewing it in RHP */
552-
TRANSACTION_THREAD_NAVIGATION_TRANSACTION_IDS: 'transactionThreadNavigationTransactionIDs',
551+
/** List of transaction thread IDs used when navigating to prev/next transaction when viewing it in RHP */
552+
TRANSACTION_THREAD_NAVIGATION_REPORT_IDS: 'transactionThreadNavigationReportIDs',
553553

554554
/** Timestamp of the last login on iOS */
555555
NVP_LAST_ECASH_IOS_LOGIN: 'nvp_lastECashIOSLogin',
@@ -1212,7 +1212,7 @@ type OnyxValuesMapping = {
12121212
[ONYXKEYS.NVP_LAST_ECASH_ANDROID_LOGIN]: string;
12131213
[ONYXKEYS.NVP_LAST_IPHONE_LOGIN]: string;
12141214
[ONYXKEYS.NVP_LAST_ANDROID_LOGIN]: string;
1215-
[ONYXKEYS.TRANSACTION_THREAD_NAVIGATION_TRANSACTION_IDS]: string[];
1215+
[ONYXKEYS.TRANSACTION_THREAD_NAVIGATION_REPORT_IDS]: string[];
12161216
[ONYXKEYS.ONBOARDING_USER_REPORTED_INTEGRATION]: OnboardingAccounting;
12171217
[ONYXKEYS.HYBRID_APP]: OnyxTypes.HybridApp;
12181218
};

src/ROUTES.ts

Lines changed: 5 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -90,14 +90,12 @@ const ROUTES = {
9090
backTo,
9191
moneyRequestReportActionID,
9292
transactionID,
93-
iouReportID,
9493
}: {
9594
reportID: string | undefined;
9695
reportActionID?: string;
9796
backTo?: string;
9897
moneyRequestReportActionID?: string;
9998
transactionID?: string;
100-
iouReportID?: string;
10199
}) => {
102100
if (!reportID) {
103101
Log.warn('Invalid reportID is used to build the SEARCH_REPORT route');
@@ -114,10 +112,6 @@ const ROUTES = {
114112
queryParams.push(`moneyRequestReportActionID=${moneyRequestReportActionID}`);
115113
}
116114

117-
if (iouReportID) {
118-
queryParams.push(`iouReportID=${iouReportID}`);
119-
}
120-
121115
const queryString = queryParams.length > 0 ? (`${baseRoute}?${queryParams.join('&')}` as const) : baseRoute;
122116
return getUrlWithBackToParam(queryString, backTo);
123117
},
@@ -392,19 +386,10 @@ const ROUTES = {
392386
REPORT: 'r',
393387
REPORT_WITH_ID: {
394388
route: 'r/:reportID?/:reportActionID?',
395-
getRoute: (
396-
reportID: string | undefined,
397-
reportActionID?: string,
398-
referrer?: string,
399-
moneyRequestReportActionID?: string,
400-
transactionID?: string,
401-
backTo?: string,
402-
iouReportID?: string,
403-
) => {
389+
getRoute: (reportID: string | undefined, reportActionID?: string, referrer?: string, moneyRequestReportActionID?: string, transactionID?: string, backTo?: string) => {
404390
if (!reportID) {
405391
Log.warn('Invalid reportID is used to build the REPORT_WITH_ID route');
406392
}
407-
408393
const baseRoute = reportActionID ? (`r/${reportID}/${reportActionID}` as const) : (`r/${reportID}` as const);
409394

410395
const queryParams: string[] = [];
@@ -418,10 +403,6 @@ const ROUTES = {
418403
queryParams.push(`transactionID=${transactionID}`);
419404
}
420405

421-
if (iouReportID) {
422-
queryParams.push(`iouReportID=${iouReportID}`);
423-
}
424-
425406
const queryString = queryParams.length > 0 ? `?${queryParams.join('&')}` : '';
426407

427408
return getUrlWithBackToParam(`${baseRoute}${queryString}` as const, backTo);
@@ -599,15 +580,10 @@ const ROUTES = {
599580
},
600581
MONEY_REQUEST_HOLD_REASON: {
601582
route: ':type/edit/reason/:transactionID?/:searchHash?',
602-
getRoute: (type: ValueOf<typeof CONST.POLICY.TYPE>, transactionID: string, reportID: string | undefined, backTo: string, searchHash?: number) => {
603-
let route = searchHash
604-
? (`${type as string}/edit/reason/${transactionID}/${searchHash}/?backTo=${backTo}` as const)
605-
: (`${type as string}/edit/reason/${transactionID}/?backTo=${backTo}` as const);
606-
607-
if (reportID) {
608-
route = `${route}&reportID=${reportID}` as const;
609-
}
610-
583+
getRoute: (type: ValueOf<typeof CONST.POLICY.TYPE>, transactionID: string, reportID: string, backTo: string, searchHash?: number) => {
584+
const route = searchHash
585+
? (`${type as string}/edit/reason/${transactionID}/${searchHash}/?backTo=${backTo}&reportID=${reportID}` as const)
586+
: (`${type as string}/edit/reason/${transactionID}/?backTo=${backTo}&reportID=${reportID}` as const);
611587
return route;
612588
},
613589
},

0 commit comments

Comments
 (0)