Skip to content

Commit fa7d41c

Browse files
committed
Merge branch 'main' into fix/58588-2
2 parents 01830b0 + 38de4ae commit fa7d41c

83 files changed

Lines changed: 1270 additions & 779 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"

config/webpack/ForceGarbageCollectionPlugin.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,15 @@ class ForceGarbageCollectionPlugin {
1515
compiler.hooks.done.tap(this.constructor.name, () => {
1616
this.compilationCount++;
1717

18-
// Log memory usage every compilation
1918
const memUsage = process.memoryUsage();
2019
const heapUsedMB = Math.round(memUsage.heapUsed / 1024 / 1024);
2120
const heapTotalMB = Math.round(memUsage.heapTotal / 1024 / 1024);
2221

2322
console.log(`📊 Compilation #${this.compilationCount} - Heap: ${heapUsedMB}MB/${heapTotalMB}MB`);
2423
if (this.compilationCount % 5 === 0) {
2524
console.log(`🗑️ Forcing garbage collection after ${this.compilationCount} compilations`);
26-
// @ts-expect-error - gc is a global function provided when Node.js is started with --expose-gc flag
27-
gc();
25+
gc?.();
2826

29-
// Log memory after garbage collection
3027
const memAfterGC = process.memoryUsage();
3128
const heapAfterMB = Math.round(memAfterGC.heapUsed / 1024 / 1024);
3229
console.log(`✅ Post-GC heap size: ${heapAfterMB}MB (freed ${heapUsedMB - heapAfterMB}MB)`);

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",

scripts/start-dev-with-auto-restart.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,25 @@
44
# This script monitors for heap out of memory errors and automatically restarts
55
# Usage: ./start-dev-with-auto-restart.sh [webpack-dev-server arguments]
66

7-
WDS_ARGS=("$@")
7+
WEBPACK_DEV_SERVER_ARGS=("$@")
8+
readonly RESTART_DELAY=1
89
MAX_RESTARTS=10
910
RESTART_COUNT=0
10-
RESTART_DELAY=1
1111

1212
echo "🚀 Starting webpack-dev-server with auto-restart (max restarts: $MAX_RESTARTS)"
1313

1414
run_wds () {
1515
# Check if platform is Desktop to determine open behavior
16-
if [[ "${WDS_ARGS[*]}" == *"--env platform=desktop"* ]]; then
16+
if [[ "${WEBPACK_DEV_SERVER_ARGS[*]}" == *"--env platform=desktop"* ]]; then
1717
# For Desktop, always use --no-open since app is handled by Electron
18-
node --expose-gc --max-old-space-size=1100 ./node_modules/.bin/webpack-dev-server --no-open "${WDS_ARGS[@]}" --config config/webpack/webpack.dev.ts
18+
node --expose-gc ./node_modules/.bin/webpack-dev-server --no-open "${WEBPACK_DEV_SERVER_ARGS[@]}" --config config/webpack/webpack.dev.ts
1919
else
2020
# For Web, use the provided open flag
21-
node --expose-gc ./node_modules/.bin/webpack-dev-server "$1" "${WDS_ARGS[@]}" --config config/webpack/webpack.dev.ts
21+
node --expose-gc ./node_modules/.bin/webpack-dev-server "$1" "${WEBPACK_DEV_SERVER_ARGS[@]}" --config config/webpack/webpack.dev.ts
2222
fi
2323
}
2424

25-
while [ $RESTART_COUNT -lt $MAX_RESTARTS ]; do
25+
while [[ $RESTART_COUNT -lt $MAX_RESTARTS ]]; do
2626
echo "📊 Attempt #$((RESTART_COUNT + 1)) - Starting webpack-dev-server..."
2727

2828
if [ $RESTART_COUNT -eq 0 ]; then

src/CONST/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,6 @@ const CONST = {
890890
EMPTY_ARRAY,
891891
EMPTY_OBJECT,
892892
DEFAULT_NUMBER_ID,
893-
FAKE_REPORT_ID: 'FAKE_REPORT_ID',
894893
USE_EXPENSIFY_URL,
895894
EXPENSIFY_URL,
896895
EXPENSIFY_MOBILE_URL,
@@ -1463,6 +1462,8 @@ const CONST = {
14631462
ANIMATION_TIMING: {
14641463
DEFAULT_IN: 300,
14651464
DEFAULT_OUT: 200,
1465+
DEFAULT_RIGHT_DOCKED_IOS_IN: 500,
1466+
DEFAULT_RIGHT_DOCKED_IOS_OUT: 400,
14661467
FAB_IN: 350,
14671468
FAB_OUT: 200,
14681469
},

0 commit comments

Comments
 (0)