Skip to content

Commit 94dd8d9

Browse files
committed
merge conflicts
2 parents ebc1bee + c94cb19 commit 94dd8d9

File tree

1,398 files changed

+45108
-22852
lines changed

Some content is hidden

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

1,398 files changed

+45108
-22852
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ web/gtm.js
1414
src/libs/SearchParser/searchParser.js
1515
src/libs/SearchParser/autocompleteParser.js
1616
help/_scripts/**
17+
Mobile-Expensify/**

.eslintrc.js

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ module.exports = {
122122
'plugin:@typescript-eslint/recommended-type-checked',
123123
'plugin:@typescript-eslint/stylistic-type-checked',
124124
'plugin:you-dont-need-lodash-underscore/all',
125-
'plugin:prettier/recommended',
125+
'prettier',
126126
],
127127
plugins: ['@typescript-eslint', 'jsdoc', 'you-dont-need-lodash-underscore', 'react-native-a11y', 'react', 'testing-library', 'eslint-plugin-react-compiler', 'lodash', 'deprecation'],
128128
parser: '@typescript-eslint/parser',
@@ -150,8 +150,14 @@ module.exports = {
150150
{
151151
selector: ['variable', 'property'],
152152
format: ['camelCase', 'UPPER_CASE', 'PascalCase'],
153+
// This filter excludes variables and properties that start with "private_" to make them valid.
154+
//
155+
// Examples:
156+
// - "private_a" → valid
157+
// - "private_test" → valid
158+
// - "private_" → not valid
153159
filter: {
154-
regex: '^private_[a-z][a-zA-Z0-9]+$',
160+
regex: '^private_[a-z][a-zA-Z0-9]*$',
155161
match: false,
156162
},
157163
},
@@ -197,6 +203,7 @@ module.exports = {
197203
'es/no-nullish-coalescing-operators': 'off',
198204
'es/no-optional-chaining': 'off',
199205
'deprecation/deprecation': 'off',
206+
'arrow-body-style': 'off',
200207

201208
// Import specific rules
202209
'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],
@@ -237,6 +244,13 @@ module.exports = {
237244
property: 'getSize',
238245
message: 'Usage of Image.getImage is restricted. Please use the `react-native-image-size`.',
239246
},
247+
// Disallow direct HybridAppModule.isHybridApp() usage, because it requires a native call
248+
// Use CONFIG.IS_HYBRID_APP, which keeps cached value instead
249+
{
250+
object: 'HybridAppModule',
251+
property: 'isHybridApp',
252+
message: 'Use CONFIG.IS_HYBRID_APP instead.',
253+
},
240254
],
241255
'no-restricted-imports': [
242256
'error',
@@ -302,6 +316,7 @@ module.exports = {
302316
'jsdoc/no-types': 'off',
303317
'react/jsx-filename-extension': 'off',
304318
'rulesdir/no-default-props': 'off',
319+
'prefer-arrow-callback': 'off',
305320
},
306321
},
307322
{
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
---
2+
name: Add or remove expert contributor from the team
3+
about: In order to get access to the HybridApp setup, expert contributors need to be added to our Github Organization. They also need to be added to the necessary rooms in Slack
4+
title: "Expert Contributor Change Request - <insert-name>"
5+
labels: Daily, Task, ring0
6+
---
7+
8+
### Expert Contributor Details
9+
10+
- Name:
11+
- Github handle (or Github profile link):
12+
- Email:
13+
- Slack post in your team channel with this request for visibility:
14+
- Team (check your team):
15+
- [ ] Callstack
16+
- [ ] Margelo
17+
- [ ] Software Mansion
18+
19+
Do you want to remove this developer from the team? YES/NO
20+
21+
### Tasks for ring0 assignee
22+
23+
- [ ] Add to the appropriate GitHub child team of [external-expert-contributors](https://github.com/orgs/Expensify/teams/external-expert-contributors/teams) (each agency must have its own child team)
24+
- [ ] Add to Slack channels using Slack Connect:
25+
- [ ] [#quality](https://expensify.enterprise.slack.com/archives/C05LX9D6E07)
26+
- [ ] [#convert](https://expensify.enterprise.slack.com/archives/C07HPDRELLD)
27+
- [ ] [#retain](https://expensify.enterprise.slack.com/archives/C07NZ8B1VTQ)
28+
- [ ] [#migrate](https://expensify.enterprise.slack.com/archives/C07NMDKEFMH)
29+
- [ ] [#expense](https://expensify.enterprise.slack.com/archives/C06ML6X0W9L)
30+
- [ ] [#expensify-bugs](https://expensify.enterprise.slack.com/archives/C049HHMV9SM)
31+
- [ ] [#expensify-open-source](https://expensify.enterprise.slack.com/archives/C01GTK53T8Q)
32+
- [ ] [#expert-contributors](https://expensify.enterprise.slack.com/archives/C08CZDJFJ77)

.github/actionlint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ self-hosted-runner:
55
- macos-15-large
66
- macos-15-xlarge
77
- macos-12
8-
- ubuntu-20.04-v4
8+
- ubuntu-24.04-v4
99

1010
paths:
1111
'**/*':

.github/actions/composite/setupGitForOSBotify/action.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

.github/actions/composite/setupGitForOSBotifyApp/action.yml

Lines changed: 0 additions & 61 deletions
This file was deleted.

.github/actions/composite/setupNode/action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ inputs:
66
description: "Indicates if node is set up for hybrid app"
77
required: false
88
default: 'false'
9+
IS_DESKTOP_BUILD:
10+
description: "Indicates if node is set up for desktop app"
11+
required: false
12+
default: 'false'
913

1014
outputs:
1115
cache-hit:
@@ -41,6 +45,7 @@ runs:
4145
key: ${{ runner.os }}-node-modules-${{ hashFiles('Mobile-Expensify/package-lock.json', 'Mobile-Expensify/patches/**') }}
4246

4347
- id: cache-desktop-node-modules
48+
if: inputs.IS_DESKTOP_BUILD == 'true'
4449
uses: actions/cache@v4
4550
with:
4651
path: desktop/node_modules
@@ -60,7 +65,7 @@ runs:
6065
command: npm ci
6166

6267
- name: Install node packages for desktop submodule
63-
if: steps.cache-desktop-node-modules.outputs.cache-hit != 'true'
68+
if: inputs.IS_DESKTOP_BUILD == 'true' && steps.cache-desktop-node-modules.outputs.cache-hit != 'true'
6469
uses: nick-fields/retry@3f757583fb1b1f940bc8ef4bf4734c8dc02a5847
6570
with:
6671
timeout_minutes: 30

.github/actions/javascript/authorChecklist/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17244,6 +17244,7 @@ const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\
1724417244
const GIT_CONST = {
1724517245
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
1724617246
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
17247+
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
1724717248
};
1724817249
const CONST = {
1724917250
...GIT_CONST,
@@ -17570,9 +17571,9 @@ class GithubUtils {
1757017571
// eslint-disable-next-line max-len
1757117572
issueBody += `\r\n- [${isTimingDashboardChecked ? 'x' : ' '}] I checked the [App Timing Dashboard](https://graphs.expensify.com/grafana/d/yj2EobAGz/app-timing?orgId=1) and verified this release does not cause a noticeable performance regression.`;
1757217573
// eslint-disable-next-line max-len
17573-
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-chat/crashlytics/app/android:com.expensify.chat/issues?state=open&time=last-seven-days&tag=all) for **this release version** and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
17574+
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-mobile-app/crashlytics/app/ios:com.expensify.expensifylite/issues?state=open&time=last-seven-days&types=crash&tag=all&sort=eventCount) for **this release version** and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
1757417575
// eslint-disable-next-line max-len
17575-
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-chat/crashlytics/app/android:com.expensify.chat/issues?state=open&time=last-seven-days&tag=all) for **the previous release version** and verified that the release did not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
17576+
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-mobile-app/crashlytics/app/android:org.me.mobiexpensifyg/issues?state=open&time=last-seven-days&types=crash&tag=all&sort=eventCount) for **the previous release version** and verified that the release did not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
1757617577
// eslint-disable-next-line max-len
1757717578
issueBody += `\r\n- [${isGHStatusChecked ? 'x' : ' '}] I checked [GitHub Status](https://www.githubstatus.com/) and verified there is no reported incident with Actions.`;
1757817579
issueBody += '\r\n\r\ncc @Expensify/applauseleads\r\n';

.github/actions/javascript/awaitStagingDeploys/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12248,6 +12248,7 @@ const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\
1224812248
const GIT_CONST = {
1224912249
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
1225012250
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
12251+
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
1225112252
};
1225212253
const CONST = {
1225312254
...GIT_CONST,
@@ -12574,9 +12575,9 @@ class GithubUtils {
1257412575
// eslint-disable-next-line max-len
1257512576
issueBody += `\r\n- [${isTimingDashboardChecked ? 'x' : ' '}] I checked the [App Timing Dashboard](https://graphs.expensify.com/grafana/d/yj2EobAGz/app-timing?orgId=1) and verified this release does not cause a noticeable performance regression.`;
1257612577
// eslint-disable-next-line max-len
12577-
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-chat/crashlytics/app/android:com.expensify.chat/issues?state=open&time=last-seven-days&tag=all) for **this release version** and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
12578+
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-mobile-app/crashlytics/app/ios:com.expensify.expensifylite/issues?state=open&time=last-seven-days&types=crash&tag=all&sort=eventCount) for **this release version** and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
1257812579
// eslint-disable-next-line max-len
12579-
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-chat/crashlytics/app/android:com.expensify.chat/issues?state=open&time=last-seven-days&tag=all) for **the previous release version** and verified that the release did not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
12580+
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-mobile-app/crashlytics/app/android:org.me.mobiexpensifyg/issues?state=open&time=last-seven-days&types=crash&tag=all&sort=eventCount) for **the previous release version** and verified that the release did not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
1258012581
// eslint-disable-next-line max-len
1258112582
issueBody += `\r\n- [${isGHStatusChecked ? 'x' : ' '}] I checked [GitHub Status](https://www.githubstatus.com/) and verified there is no reported incident with Actions.`;
1258212583
issueBody += '\r\n\r\ncc @Expensify/applauseleads\r\n';

.github/actions/javascript/checkAndroidStatus/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -736641,6 +736641,7 @@ const GITHUB_BASE_URL_REGEX = new RegExp('https?://(?:github\\.com|api\\.github\
736641736641
const GIT_CONST = {
736642736642
GITHUB_OWNER: process.env.GITHUB_REPOSITORY_OWNER,
736643736643
APP_REPO: process.env.GITHUB_REPOSITORY.split('/').at(1) ?? '',
736644+
MOBILE_EXPENSIFY_REPO: 'Mobile-Expensify',
736644736645
};
736645736646
const CONST = {
736646736647
...GIT_CONST,
@@ -736967,9 +736968,9 @@ class GithubUtils {
736967736968
// eslint-disable-next-line max-len
736968736969
issueBody += `\r\n- [${isTimingDashboardChecked ? 'x' : ' '}] I checked the [App Timing Dashboard](https://graphs.expensify.com/grafana/d/yj2EobAGz/app-timing?orgId=1) and verified this release does not cause a noticeable performance regression.`;
736969736970
// eslint-disable-next-line max-len
736970-
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-chat/crashlytics/app/android:com.expensify.chat/issues?state=open&time=last-seven-days&tag=all) for **this release version** and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
736971+
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-mobile-app/crashlytics/app/ios:com.expensify.expensifylite/issues?state=open&time=last-seven-days&types=crash&tag=all&sort=eventCount) for **this release version** and verified that this release does not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
736971736972
// eslint-disable-next-line max-len
736972-
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-chat/crashlytics/app/android:com.expensify.chat/issues?state=open&time=last-seven-days&tag=all) for **the previous release version** and verified that the release did not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
736973+
issueBody += `\r\n- [${isFirebaseChecked ? 'x' : ' '}] I checked [Firebase Crashlytics](https://console.firebase.google.com/u/0/project/expensify-mobile-app/crashlytics/app/android:org.me.mobiexpensifyg/issues?state=open&time=last-seven-days&types=crash&tag=all&sort=eventCount) for **the previous release version** and verified that the release did not introduce any new crashes. More detailed instructions on this verification can be found [here](https://stackoverflowteams.com/c/expensify/questions/15095/15096).`;
736973736974
// eslint-disable-next-line max-len
736974736975
issueBody += `\r\n- [${isGHStatusChecked ? 'x' : ' '}] I checked [GitHub Status](https://www.githubstatus.com/) and verified there is no reported incident with Actions.`;
736975736976
issueBody += '\r\n\r\ncc @Expensify/applauseleads\r\n';

0 commit comments

Comments
 (0)