Skip to content

Commit fe5fe71

Browse files
committed
Merge branch 'main' of github.com:Expensify/App into jsenyitko-custom-columns-release-2
2 parents 1eb7781 + 9b7e5d3 commit fe5fe71

59 files changed

Lines changed: 356 additions & 582 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 1009027803
118-
versionName "9.2.78-3"
117+
versionCode 1009027806
118+
versionName "9.2.78-6"
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.2.78.3</string>
47+
<string>9.2.78.6</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.2.78</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.2.78.3</string>
16+
<string>9.2.78.6</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.2.78</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.2.78.3</string>
16+
<string>9.2.78.6</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.78-3",
3+
"version": "9.2.78-6",
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.",

scripts/react-compiler-compliance-check.ts

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,12 @@ async function check({
139139
}
140140
}
141141

142-
printResults(results, {shouldPrintSuccesses, shouldPrintSuppressedErrors});
142+
const isPassed = printResults(results, {shouldPrintSuccesses, shouldPrintSuppressedErrors});
143143

144144
if (shouldGenerateReport) {
145145
generateReport(results, reportFileName);
146146
}
147147

148-
const isPassed = results.failures.size === 0 && (results.enforcedAddedComponentFailures?.size ?? 0) === 0;
149148
return isPassed;
150149
}
151150

@@ -622,7 +621,7 @@ function findManualMemoizationMatches(source: string): ManualMemoizationMatch[]
622621
function printResults(
623622
{success, failures, suppressedFailures, enforcedAddedComponentFailures}: CompilerResults,
624623
{shouldPrintSuccesses, shouldPrintSuppressedErrors}: PrintResultsOptions,
625-
): void {
624+
): boolean {
626625
if (shouldPrintSuccesses && success.size > 0) {
627626
log();
628627
logSuccess(`Successfully compiled ${success.size} files with React Compiler:`);
@@ -665,23 +664,26 @@ function printResults(
665664

666665
const hasEnforcedAddedComponentFailures = enforcedAddedComponentFailures && enforcedAddedComponentFailures.size > 0;
667666

668-
const isPassed = failures.size === 0 && !hasEnforcedAddedComponentFailures;
669-
if (isPassed) {
670-
logSuccess('All files pass React Compiler compliance check!');
671-
return;
672-
}
673-
674667
const distinctFileNames = new Set<string>();
675668
for (const failure of failures.values()) {
676669
distinctFileNames.add(failure.file);
677670
}
678671

679-
if (distinctFileNames.size > 0) {
672+
const shouldPrintWarnings = distinctFileNames.size > 0;
673+
674+
if (shouldPrintWarnings) {
680675
log();
681-
logError(`Failed to compile ${distinctFileNames.size} files with React Compiler:`);
676+
logWarn(`Failed to compile ${distinctFileNames.size} files with React Compiler:`);
682677
log();
683678

684679
printFailures(failures);
680+
681+
log();
682+
logWarn('React Compiler errors were printed as warnings for transparency, but these must NOT be fixed and can be ignored.');
683+
}
684+
685+
if (shouldPrintWarnings && !hasEnforcedAddedComponentFailures) {
686+
log();
685687
}
686688

687689
if (hasEnforcedAddedComponentFailures) {
@@ -704,8 +706,16 @@ function printResults(
704706
}
705707
}
706708

709+
const isPassed = !hasEnforcedAddedComponentFailures;
710+
if (isPassed) {
711+
logSuccess(`React Compiler compliance check passed ${shouldPrintWarnings ? 'with warnings' : ''}!`);
712+
return true;
713+
}
714+
707715
log();
708716
logError('The files above failed the React Compiler compliance check. Please fix the issues and run the check again...');
717+
718+
return false;
709719
}
710720

711721
function printFailures(failuresToPrint: FailureMap, level = 0) {

src/ONYXKEYS.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -538,9 +538,6 @@ const ONYXKEYS = {
538538
/** The user's Concierge reportID */
539539
CONCIERGE_REPORT_ID: 'conciergeReportID',
540540

541-
/** The user's Self DM reportID */
542-
SELF_DM_REPORT_ID: 'selfDMReportID',
543-
544541
/** The details of unknown user while sharing a file - we don't know if they exist */
545542
SHARE_UNKNOWN_USER_DETAILS: 'shareUnknownUserDetails',
546543

@@ -1304,7 +1301,6 @@ type OnyxValuesMapping = {
13041301
[ONYXKEYS.IS_USING_IMPORTED_STATE]: boolean;
13051302
[ONYXKEYS.NVP_EXPENSIFY_COMPANY_CARDS_CUSTOM_NAMES]: Record<string, string>;
13061303
[ONYXKEYS.CONCIERGE_REPORT_ID]: string;
1307-
[ONYXKEYS.SELF_DM_REPORT_ID]: string;
13081304
[ONYXKEYS.SHARE_UNKNOWN_USER_DETAILS]: Participant;
13091305
[ONYXKEYS.SHARE_TEMP_FILE]: OnyxTypes.ShareTempFile;
13101306
[ONYXKEYS.VALIDATED_FILE_OBJECT]: OnyxTypes.FileObject | undefined;

src/ROUTES.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,10 +184,6 @@ const ROUTES = {
184184
return `bank-account/enter-signer-info?policyID=${policyID}&bankAccountID=${bankAccountID}&isCompleted=${isCompleted}` as const;
185185
},
186186
},
187-
BANK_ACCOUNT_CONNECT_EXISTING_BUSINESS_BANK_ACCOUNT: {
188-
route: 'bank-account/connect-existing-business-bank-account',
189-
getRoute: (policyID: string) => `bank-account/connect-existing-business-bank-account?policyID=${policyID}` as const,
190-
},
191187
PUBLIC_CONSOLE_DEBUG: {
192188
route: 'troubleshoot/console',
193189

@@ -1694,6 +1690,10 @@ const ROUTES = {
16941690
return `workspaces/${policyID}/workflows` as const;
16951691
},
16961692
},
1693+
WORKSPACE_WORKFLOWS_CONNECT_EXISTING_BANK_ACCOUNT: {
1694+
route: 'workspaces/:policyID/workflows/connect-account',
1695+
getRoute: (policyID: string) => `workspaces/${policyID}/workflows/connect-account` as const,
1696+
},
16971697
WORKSPACE_WORKFLOWS_APPROVALS_NEW: {
16981698
route: 'workspaces/:policyID/workflows/approvals/new',
16991699
getRoute: (policyID: string) => `workspaces/${policyID}/workflows/approvals/new` as const,

0 commit comments

Comments
 (0)