Skip to content

Commit bf7b44c

Browse files
committed
Merge branch 'main' into feat/27641/reassure-lhn
2 parents 7f5415d + 619aee6 commit bf7b44c

File tree

721 files changed

+24949
-7255
lines changed

Some content is hidden

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

721 files changed

+24949
-7255
lines changed

.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ USE_WEB_PROXY=false
1111
USE_WDYR=false
1212
CAPTURE_METRICS=false
1313
ONYX_METRICS=false
14+
GOOGLE_GEOLOCATION_API_KEY=AIzaSyBqg6bMvQU7cPWDKhhzpYqJrTEnSorpiLI
1415

1516
EXPENSIFY_ACCOUNT_ID_ACCOUNTING=-1
1617
EXPENSIFY_ACCOUNT_ID_ADMIN=-1

.env.production

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ PUSHER_APP_KEY=268df511a204fbb60884
77
USE_WEB_PROXY=false
88
ENVIRONMENT=production
99
SEND_CRASH_REPORTS=true
10+
GOOGLE_GEOLOCATION_API_KEY=AIzaSyBFKujMpzExz0_z2pAGfPUwkmlaUc-uw1Q

.env.staging

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ PUSHER_APP_KEY=268df511a204fbb60884
77
USE_WEB_PROXY=false
88
ENVIRONMENT=staging
99
SEND_CRASH_REPORTS=true
10+
GOOGLE_GEOLOCATION_API_KEY=AIzaSyD2T1mlByThbUN88O8OPOD8vKuMMwLD4-M

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ module.exports = {
3838
{
3939
files: ['*.js', '*.jsx', '*.ts', '*.tsx'],
4040
rules: {
41+
'rulesdir/no-multiple-onyx-in-file': 'off',
4142
'rulesdir/onyx-props-must-have-default': 'off',
4243
'react-native-a11y/has-accessibility-hint': ['off'],
4344
'react-native-a11y/has-valid-accessibility-descriptors': [
@@ -163,6 +164,7 @@ module.exports = {
163164
},
164165
],
165166
curly: 'error',
167+
'you-dont-need-lodash-underscore/throttle': 'off',
166168
},
167169
},
168170
{

.github/actions/composite/buildAndroidAPK/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ runs:
1313

1414
- uses: ruby/setup-ruby@eae47962baca661befdfd24e4d6c34ade04858f7
1515
with:
16-
ruby-version: '2.7'
16+
ruby-version: "2.7"
1717
bundler-cache: true
1818

1919
- uses: gradle/gradle-build-action@3fbe033aaae657f011f88f29be9e65ed26bd29ef
@@ -26,4 +26,4 @@ runs:
2626
uses: actions/upload-artifact@65d862660abb392b8c4a3d1195a2108db131dd05
2727
with:
2828
name: ${{ inputs.ARTIFACT_NAME }}
29-
path: android/app/build/outputs/apk/e2eRelease/app-e2eRelease.apk
29+
path: android/app/build/outputs/apk/e2e/release/app-e2e-release.apk

.github/actions/javascript/getPullRequestDetails/action.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,14 @@ inputs:
1313
outputs:
1414
MERGE_COMMIT_SHA:
1515
description: 'The merge_commit_sha of the given pull request'
16+
HEAD_COMMIT_SHA:
17+
description: 'The head_commit_sha of the given pull request'
1618
MERGE_ACTOR:
1719
description: 'The actor who merged the pull request'
20+
IS_MERGED:
21+
description: 'True if the pull request is merged'
22+
FORKED_REPO_URL:
23+
description: 'Output forked repo URL if PR includes changes from a fork'
1824
runs:
1925
using: 'node16'
2026
main: './index.js'

.github/workflows/deployExpensifyHelp.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
name: Deploy ExpensifyHelp
33

44
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: ["main"]
8+
59
# Allows you to run this workflow manually from the Actions tab
610
workflow_dispatch:
711

.github/workflows/e2ePerformanceTests.yml

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,7 @@ jobs:
8484
- name: Unmerged PR - Fetch head ref of unmerged PR
8585
if: ${{ !fromJSON(steps.getPullRequestDetails.outputs.IS_MERGED) }}
8686
run: |
87-
if [[ ${{ steps.getPullRequestDetails.outputs.FORKED_REPO_URL }} != '' ]]; then
88-
git remote add pr_remote ${{ steps.getPullRequestDetails.outputs.FORKED_REPO_URL }}
89-
git fetch pr_remote ${{ steps.getPullRequestDetails.outputs.HEAD_COMMIT_SHA }} --no-tags --depth=1
90-
else
91-
git fetch origin ${{ steps.getPullRequestDetails.outputs.HEAD_COMMIT_SHA }} --no-tags --depth=1
92-
fi
87+
git fetch origin ${{ steps.getPullRequestDetails.outputs.HEAD_COMMIT_SHA }} --no-tags --depth=1
9388
9489
- name: Unmerged PR - Set dummy git credentials before merging
9590
if: ${{ !fromJSON(steps.getPullRequestDetails.outputs.IS_MERGED) }}
@@ -101,7 +96,7 @@ jobs:
10196
if: ${{ !fromJSON(steps.getPullRequestDetails.outputs.IS_MERGED) }}
10297
id: getMergeCommitShaIfUnmergedPR
10398
run: |
104-
git merge --no-commit ${{ steps.getPullRequestDetails.outputs.HEAD_COMMIT_SHA }}
99+
git merge --allow-unrelated-histories --no-commit ${{ steps.getPullRequestDetails.outputs.HEAD_COMMIT_SHA }}
105100
git checkout ${{ steps.getPullRequestDetails.outputs.HEAD_COMMIT_SHA }}
106101
env:
107102
GITHUB_TOKEN: ${{ github.token }}
@@ -140,18 +135,19 @@ jobs:
140135
name: baseline-apk-${{ needs.buildBaseline.outputs.VERSION }}
141136
path: zip
142137

143-
# The downloaded artifact will be a file named "app-e2eRelease.apk" so we have to rename it
138+
# The downloaded artifact will be a file named "app-e2e-release.apk" so we have to rename it
144139
- name: Rename baseline APK
145-
run: mv "${{steps.downloadBaselineAPK.outputs.download-path}}/app-e2eRelease.apk" "${{steps.downloadBaselineAPK.outputs.download-path}}/app-e2eRelease-baseline.apk"
140+
run: mv "${{steps.downloadBaselineAPK.outputs.download-path}}/app-e2e-release.apk" "${{steps.downloadBaselineAPK.outputs.download-path}}/app-e2eRelease-baseline.apk"
146141

147142
- name: Download delta APK
148143
uses: actions/download-artifact@e9ef242655d12993efdcda9058dee2db83a2cb9b
144+
id: downloadDeltaAPK
149145
with:
150146
name: delta-apk-${{ needs.buildDelta.outputs.DELTA_REF }}
151147
path: zip
152148

153149
- name: Rename delta APK
154-
run: mv "${{steps.downloadBaselineAPK.outputs.download-path}}/app-e2eRelease.apk" "${{steps.downloadBaselineAPK.outputs.download-path}}/app-e2eRelease-compare.apk"
150+
run: mv "${{steps.downloadDeltaAPK.outputs.download-path}}/app-e2e-release.apk" "${{steps.downloadDeltaAPK.outputs.download-path}}/app-e2eRelease-compare.apk"
155151

156152
- name: Copy e2e code into zip folder
157153
run: cp -r tests/e2e zip
@@ -196,7 +192,6 @@ jobs:
196192
run: cat "./Host_Machine_Files/\$WORKING_DIRECTORY/debug.log"
197193

198194
- name: Check if test failed, if so post the results and add the DeployBlocker label
199-
if: ${{ github.event_name == 'workflow_call' }}
200195
run: |
201196
if grep -q '🔴' ./Host_Machine_Files/\$WORKING_DIRECTORY/output.md; then
202197
gh pr edit ${{ inputs.PR_NUMBER }} --add-label DeployBlockerCash

.storybook/preview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import './fonts.css';
66
import ComposeProviders from '../src/components/ComposeProviders';
77
import HTMLEngineProvider from '../src/components/HTMLEngineProvider';
88
import OnyxProvider from '../src/components/OnyxProvider';
9-
import {LocaleContextProvider} from '../src/components/withLocalize';
9+
import {LocaleContextProvider} from '../src/components/LocaleContextProvider';
1010
import {KeyboardStateProvider} from '../src/components/withKeyboardState';
1111
import {EnvironmentProvider} from '../src/components/withEnvironment';
1212
import {WindowDimensionsProvider} from '../src/components/withWindowDimensions';

.well-known/apple-app-site-association

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,17 @@
6868
"/": "/workspace/*",
6969
"comment": "Workspace Details"
7070
},
71+
{
72+
"/": "/get-assistance/*",
73+
"comment": "Get Assistance Pages"
74+
},
7175
{
7276
"/": "/teachersunite/*",
7377
"comment": "Teachers Unite!"
78+
},
79+
{
80+
"/": "/search/*",
81+
"comment": "Search"
7482
}
7583
]
7684
}

0 commit comments

Comments
 (0)