Skip to content

Commit 8f00518

Browse files
committed
Merge branch 'main' into fix/78107-selection-isnt-cleared-after-split
2 parents d4adec9 + d382b9a commit 8f00518

File tree

56 files changed

+1527
-184
lines changed

Some content is hidden

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

56 files changed

+1527
-184
lines changed

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 1009029301
118-
versionName "9.2.93-1"
117+
versionCode 1009029400
118+
versionName "9.2.94-0"
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<key>CFBundlePackageType</key>
2424
<string>APPL</string>
2525
<key>CFBundleShortVersionString</key>
26-
<string>9.2.93</string>
26+
<string>9.2.94</string>
2727
<key>CFBundleSignature</key>
2828
<string>????</string>
2929
<key>CFBundleURLTypes</key>
@@ -44,7 +44,7 @@
4444
</dict>
4545
</array>
4646
<key>CFBundleVersion</key>
47-
<string>9.2.93.1</string>
47+
<string>9.2.94.0</string>
4848
<key>FullStory</key>
4949
<dict>
5050
<key>OrgId</key>

ios/NotificationServiceExtension/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<key>CFBundleName</key>
1212
<string>$(PRODUCT_NAME)</string>
1313
<key>CFBundleShortVersionString</key>
14-
<string>9.2.93</string>
14+
<string>9.2.94</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.2.93.1</string>
16+
<string>9.2.94.0</string>
1717
<key>NSExtension</key>
1818
<dict>
1919
<key>NSExtensionPointIdentifier</key>

ios/ShareViewController/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<key>CFBundleName</key>
1212
<string>$(PRODUCT_NAME)</string>
1313
<key>CFBundleShortVersionString</key>
14-
<string>9.2.93</string>
14+
<string>9.2.94</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.2.93.1</string>
16+
<string>9.2.94.0</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.2.93-1",
3+
"version": "9.2.94-0",
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/ONYXKEYS.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -607,10 +607,6 @@ const ONYXKEYS = {
607607
/** Billing receipt details */
608608
BILLING_RECEIPT_DETAILS: 'billingReceiptDetails',
609609

610-
/** Set when user tries to connect VBBA but workspace currency is unsupported and is forced to change
611-
* This is later used to redirect user directly back to the VBBA flow */
612-
IS_FORCED_TO_CHANGE_CURRENCY: 'isForcedToChangeCurrency',
613-
614610
/** Set this gets redirected from global reimbursements flow */
615611
IS_COMING_FROM_GLOBAL_REIMBURSEMENTS_FLOW: 'isComingFromGlobalReimbursementsFlow',
616612

@@ -1359,7 +1355,6 @@ type OnyxValuesMapping = {
13591355
[ONYXKEYS.NVP_DISMISSED_REJECT_USE_EXPLANATION]: boolean;
13601356
[ONYXKEYS.NVP_PRIVATE_VACATION_DELEGATE]: OnyxTypes.VacationDelegate;
13611357
[ONYXKEYS.SCHEDULE_CALL_DRAFT]: OnyxTypes.ScheduleCallDraft;
1362-
[ONYXKEYS.IS_FORCED_TO_CHANGE_CURRENCY]: boolean | undefined;
13631358
[ONYXKEYS.IS_COMING_FROM_GLOBAL_REIMBURSEMENTS_FLOW]: boolean | undefined;
13641359
[ONYXKEYS.HAS_MORE_UNREPORTED_TRANSACTIONS_RESULTS]: boolean | undefined;
13651360
[ONYXKEYS.IS_LOADING_UNREPORTED_TRANSACTIONS]: boolean | undefined;

src/ROUTES.ts

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,6 +772,19 @@ const ROUTES = {
772772
return getUrlWithBackToParam(`create/split-expense/overview/${reportID}/${originalTransactionID}${splitExpenseTransactionIDPart}`, backTo);
773773
},
774774
},
775+
SPLIT_EXPENSE_SEARCH: {
776+
route: 'create/split-expense/overview/:reportID/:transactionID/:splitExpenseTransactionID/search/:backTo?',
777+
getRoute: (reportID: string | undefined, originalTransactionID: string | undefined, splitExpenseTransactionID?: string, backTo?: string) => {
778+
if (!reportID || !originalTransactionID) {
779+
Log.warn(`Invalid ${reportID}(reportID) or ${originalTransactionID}(transactionID) is used to build the SPLIT_EXPENSE_SEARCH route`);
780+
}
781+
782+
const splitExpenseTransactionIDPart = splitExpenseTransactionID ? `/${splitExpenseTransactionID}` : '/0';
783+
784+
// eslint-disable-next-line no-restricted-syntax -- Legacy route generation
785+
return getUrlWithBackToParam(`create/split-expense/overview/${reportID}/${originalTransactionID}${splitExpenseTransactionIDPart}/search`, backTo);
786+
},
787+
},
775788
SPLIT_EXPENSE_CREATE_DATE_RANGE: {
776789
route: 'create/split-expense/create-date-range/:reportID/:transactionID?',
777790
getRoute: (reportID: string | undefined, transactionID: string | undefined, backTo?: string) => {
@@ -1391,7 +1404,13 @@ const ROUTES = {
13911404
},
13921405
WORKSPACE_OVERVIEW_CURRENCY: {
13931406
route: 'workspaces/:policyID/overview/currency',
1394-
getRoute: (policyID: string) => `workspaces/${policyID}/overview/currency` as const,
1407+
getRoute: (policyID: string, isForcedToChangeCurrency?: boolean) => {
1408+
let queryParams = '';
1409+
if (isForcedToChangeCurrency) {
1410+
queryParams += `?isForcedToChangeCurrency=true`;
1411+
}
1412+
return `workspaces/${policyID}/overview/currency${queryParams}` as const;
1413+
},
13951414
},
13961415
POLICY_ACCOUNTING_QUICKBOOKS_ONLINE_EXPORT: {
13971416
route: 'workspaces/:policyID/accounting/quickbooks-online/export',

src/SCREENS.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ const SCREENS = {
321321
STEP_REPORT: 'Money_Request_Report',
322322
EDIT_REPORT: 'Money_Request_Edit_Report',
323323
SPLIT_EXPENSE: 'Money_Request_Split_Expense',
324+
SPLIT_EXPENSE_SEARCH: 'Money_Request_Split_Expense_Search',
324325
SPLIT_EXPENSE_CREATE_DATE_RANGE: 'Money_Request_Split_Expense_Create_Date_Range',
325326
SPLIT_EXPENSE_EDIT: 'Money_Request_Split_Expense_Edit',
326327
DISTANCE_CREATE: 'Money_Request_Distance_Create',

0 commit comments

Comments
 (0)