Skip to content

Commit d516940

Browse files
committed
Merge branch 'main' into 289Adam289/57805-fix-filter-tooltip
2 parents 2cd0ff9 + c3aa5d6 commit d516940

File tree

205 files changed

+4480
-1934
lines changed

Some content is hidden

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

205 files changed

+4480
-1934
lines changed

.eslintrc.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,13 @@ module.exports = {
244244
property: 'getSize',
245245
message: 'Usage of Image.getImage is restricted. Please use the `react-native-image-size`.',
246246
},
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+
},
247254
],
248255
'no-restricted-imports': [
249256
'error',

.github/workflows/e2ePerformanceTests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ jobs:
113113

114114
- name: Setup Node
115115
uses: ./.github/actions/composite/setupNode
116+
with:
117+
IS_DESKTOP_BUILD: 'true'
116118

117119
- name: Make zip directory for everything to send to AWS Device Farm
118120
run: mkdir zip

.github/workflows/testBuild.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ jobs:
301301
needs: [prep]
302302
secrets: inherit
303303
with:
304+
APP_PR_NUMBER: ${{ github.event.inputs.PULL_REQUEST_NUMBER }}
304305
APP_REF: ${{ needs.prep.outputs.REF }}
305306
IOS_HYBRID: ${{ inputs.IOS_HYBRID }}
306307
ANDROID_HYBRID: ${{ inputs.ANDROID_HYBRID }}

.github/workflows/testBuildHybrid.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ on:
1313
default: ''
1414
workflow_call:
1515
inputs:
16+
APP_PR_NUMBER:
17+
description: Pull Request number from App repo needed for download link construction
18+
type: string
19+
required: true
1620
APP_REF:
1721
description: Git ref to checkout in App
1822
type: string
@@ -34,8 +38,8 @@ on:
3438

3539

3640
env:
37-
# This variable is needed for fastlane to construct correct path
38-
PULL_REQUEST_NUMBER: ${{ github.event.inputs.APP_PULL_REQUEST_NUMBER || github.event.inputs.HYBRIDAPP_PULL_REQUEST_NUMBER }}
41+
# This variable is needed for fastlane to construct correct path, -hybrid suffix is needed to distinguish hybrid apps from standalone New Dot
42+
PULL_REQUEST_NUMBER: ${{ github.event.inputs.APP_PULL_REQUEST_NUMBER || github.event.inputs.HYBRIDAPP_PULL_REQUEST_NUMBER || inputs.APP_PR_NUMBER}}-hybrid
3943

4044
jobs:
4145
prep:
@@ -73,7 +77,7 @@ jobs:
7377
run: |
7478
set -e
7579
76-
if [[ ! -z "${{ inputs.APP_REF }}" ]]; then
80+
if [[ -n "${{ inputs.APP_REF }}" ]]; then
7781
echo "REF=${{ inputs.APP_REF }}" >> "$GITHUB_OUTPUT"
7882
exit 0
7983
fi

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 1009011101
118-
versionName "9.1.11-1"
117+
versionCode 1009011205
118+
versionName "9.1.12-5"
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"

desktop/main.ts

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,6 @@ const showKeyboardShortcutsPage = (browserWindow: BrowserWindow) => {
212212
const electronUpdater = (browserWindow: BrowserWindow): PlatformSpecificUpdater => ({
213213
init: () => {
214214
autoUpdater.on(ELECTRON_EVENTS.UPDATE_DOWNLOADED, (info) => {
215-
// eslint-disable-next-line no-console
216-
console.group('[dev] ELECTRON_EVENTS.UPDATE_DOWNLOADED');
217-
console.debug('[dev] info:', info);
218215
const systemMenu = Menu.getApplicationMenu();
219216
const updateMenuItem = systemMenu?.getMenuItemById(`update`);
220217
const checkForUpdatesMenuItem = systemMenu?.getMenuItemById(`checkForUpdates`);
@@ -230,39 +227,15 @@ const electronUpdater = (browserWindow: BrowserWindow): PlatformSpecificUpdater
230227
if (browserWindow.isVisible() && !isSilentUpdating) {
231228
browserWindow.webContents.send(ELECTRON_EVENTS.UPDATE_DOWNLOADED, info.version);
232229
} else {
233-
console.debug('[dev] else');
234-
235-
autoUpdater
236-
.checkForUpdates()
237-
.then((result) => {
238-
console.debug('[dev] result', result);
239-
if (result?.updateInfo.version === downloadedVersion) {
240-
console.debug('[dev] if - versions match, installing');
241-
quitAndInstallWithUpdate();
242-
} else {
243-
console.debug('[dev] else - downloading new update');
244-
return autoUpdater.downloadUpdate().then(() => {
245-
console.debug('[dev] download complete, installing');
246-
quitAndInstallWithUpdate();
247-
});
248-
}
249-
})
250-
.catch((error) => {
251-
console.debug('[dev] error', error);
252-
log.error('Error during update check or download:', error);
253-
});
230+
quitAndInstallWithUpdate();
254231
}
255-
// eslint-disable-next-line no-console
256-
console.groupEnd();
257232
});
258233

259234
ipcMain.on(ELECTRON_EVENTS.START_UPDATE, quitAndInstallWithUpdate);
260235
autoUpdater.checkForUpdates();
261236
},
262237
update: () => {
263-
autoUpdater.checkForUpdates().then((result) => {
264-
console.debug('[dev] update result', result);
265-
});
238+
autoUpdater.checkForUpdates();
266239
},
267240
});
268241

desktop/package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

desktop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dependencies": {
77
"electron-context-menu": "^2.3.0",
88
"electron-log": "^4.4.8",
9-
"electron-updater": "^6.5.0",
9+
"electron-updater": "^6.6.0",
1010
"mime-types": "^2.1.35",
1111
"node-machine-id": "^1.1.12"
1212
},

docs/articles/expensify-classic/bank-accounts-and-payments/Third-Party-Payments.md

Lines changed: 0 additions & 29 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,44 @@
11
---
2-
title: Add personal Australian bank account
2+
title: Add a Personal Australian Bank Account
33
description: Receive AUD reimbursements from an Australian employer by adding your banking information
44
---
5+
56
<div id="expensify-classic" markdown="1">
67

7-
{% include info.html %}
8-
The workspace must be set to AUD to use ABA batch reimbursements. For businesses that will also be reimbursing employees in other countries outside of Australia, you’ll need to set up Global Reimbursement instead.
9-
{% include end-info.html %}
8+
Australian employees can connect a personal deposit-only bank account to receive reimbursements for their expense reports.
9+
10+
**Important Notes:**
11+
- The workspace currency must be set to AUD to use ABA batch reimbursements.
12+
- If your company reimburses employees in multiple countries, set up **[Global Reimbursement](https://help.expensify.com/articles/expensify-classic/bank-accounts-and-payments/bank-accounts/Enable-Global-Reimbursements)** instead.
13+
14+
---
15+
16+
# Add the Bank Account
17+
18+
1. Click your profile picture and select the workspace you want set as your default workspace.
19+
2. Hover over **Settings**, then click **Account**.
20+
3. Click the **Payments** tab.
21+
4. Click **Add Deposit-Only Bank Account**.
22+
5. Enter the required details:
23+
- **Account Holder Information**: Name, address, city, and country.
24+
- **Bank Details**: SWIFT code, bank name, address, and city.
25+
- **Account Information**: Account number and BSB number.
26+
6. Click **Save & Continue**.
1027

11-
Australian employees can connect a personal deposit-only bank account to receive reimbursements for their expense reports.
28+
## Troubleshooting Steps
1229

13-
1. Click your profile picture and select the workspace you want to set as your default workspace.
14-
2. Hover over **Settings**, then click **Account**.
15-
3. Click the **Payments** tab on the left.
16-
4. Click **Add Deposit-Only Bank Account**.
17-
5. Enter the company information.
18-
- Enter the account holder’s name, address, city, and country.
19-
- Enter the swift code.
20-
- Enter the bank’s name, address, and city.
21-
- Enter the account number.
22-
- Enter the BSB number.
30+
- If you don’t know your **Bank User ID/Direct Entry ID/APCA Number**, contact your bank.
31+
- If you don’t see the required fields, your company hasn’t enabled reimbursements through Expensify. Contact your administrator for next steps.
32+
33+
---
2334

24-
{% include info.html %}
25-
If you don’t know your Bank User ID/Direct Entry ID/APCA Number, contact your bank for this information.
35+
# FAQ
2636

27-
If your screen does not contain the listed fields, your company hasn’t enabled reimbursements through Expensify. Contact your administrator for next steps.
28-
{% include end-info.html %}
37+
## Why don’t I see the option to add a deposit-only bank account?
38+
If your company hasn’t enabled reimbursements in Expensify, you won’t see this option. Contact your administrator for assistance.
2939

30-
{:start="6"}
31-
6. Click **Save & Continue**.
40+
## What if I don’t know my Bank User ID?
41+
Your bank can provide this information. Contact them to confirm your **Bank User ID/Direct Entry ID/APCA Number**.
3242

33-
</div>
43+
## Can I add multiple bank accounts?
44+
No, you can only add one deposit-only bank account per workspace for reimbursements.

docs/articles/expensify-classic/bank-accounts-and-payments/bank-accounts/Connect-Personal-Bank-Account.md

Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,47 @@
22
title: Connect personal bank account
33
description: Receive reimbursements for expense reports submitted to your employer
44
---
5+
56
<div id="expensify-classic" markdown="1">
67

7-
Employees can connect a personal deposit-only bank account to receive reimbursements for their expense reports.
8+
Employees can connect a personal deposit-only bank account to receive reimbursements for their expense reports.
9+
10+
---
811

9-
To connect a deposit-only account,
12+
# Connect a Deposit-only Bank Account
1013

1114
1. Hover over **Settings**, then click **Account**.
1215
2. Click the **Payments** tab on the left.
1316
3. Click **Add Deposit-Only Bank Account**, then click **Connect to your bank**.
1417
4. Click **Continue**.
15-
5. Search for your bank account in the list of banks and follow the prompts to sign in to your bank account.
16-
- If your bank doesn’t appear, click the X in the right corner of the Plaid pop-up window, then click **Connect Manually**. You’ll then manually enter your account information and click **Save & Continue**.
17-
6. Click **Save & Continue**.
18-
7. Enter the name, address, and phone number associated with the account. Then click **Save & Continue**.
18+
5. Search for your bank account in the list of banks
19+
6. Follow the prompts to sign in to your bank account using the corresponding username and password.
20+
- If your bank doesn’t appear, click the **X** in the right corner of the Plaid pop-up window, then click **Connect Manually**. You’ll then manually enter your account information and click **Save & Continue**.
21+
7. Enter the name, address, and phone number associated with the account
22+
8. Click **Save & Continue**.
1923

20-
You’ll now receive reimbursements for your expense reports and invoices directly to this bank account.
2124

22-
{% include info.html %}
23-
If your organization has global reimbursement enabled and you want to add a bank account outside of the US, you can do so by following the steps above. However, after clicking on **Add Deposit-Only Bank Account**, look for a button that says **Switch Country**. This will allow you to add a deposit account from a supported country and receive reimbursements in your local currency.
24-
{% include end-info.html %}
25+
Once the bank account is connected to your Expensify account, future reimbursements will be deposited directly.
2526

26-
{% include faq-begin.md %}
27+
## Using Global Reimbursement
2728

28-
**I connected my deposit-only bank account. Why haven’t I received my reimbursement?**
29+
If your organization has global reimbursement enabled and you want to add a bank account outside the US, follow the steps above.
2930

30-
There are a few reasons why you might not have received a reimbursement:
31-
- The estimated deposit date on the report has not arrived yet.
32-
- The bank account information is incorrect. If you believe you may have entered the wrong account, contact the Concierge and provide the Report ID for the missing reimbursement.
33-
- Your account wasn’t set up for Direct Deposit/ACH. You can contact your bank to confirm.
31+
After clicking **Add Deposit-Only Bank Account**, under **Settings > Accounts > Payments**, click **Switch Country** at the top of the bank selection screen. This will allow you to add a deposit account from a supported country and receive reimbursements in your local currency.
3432

35-
**What happens if my bank requires an additional security check before adding it to a third party?**
33+
---
34+
35+
# FAQ
36+
37+
## I connected my deposit-only bank account. Why haven’t I received my reimbursement?
38+
39+
Check the following possible issues:
40+
- The estimated deposit date on the report has not arrived yet.
41+
- The bank account information is incorrect. If you believe you may have entered the wrong account, contact **Concierge (Expensify’s support team)** and provide the **Report ID** for the missing reimbursement.
42+
- Your bank account isn’t set up for **Direct Deposit/ACH** — please contact your bank to confirm.
3643

37-
If your bank account has two-factor authentication (2FA) or another security step enabled, you should be prompted to complete this authentication step when connecting the account to Expensify. However, if you encounter an error during this process, you can close the pop-up window and select Connect Manually to add the account manually.
44+
## What happens if my bank requires an additional security check before adding it to a third party?
3845

39-
{% include faq-end.md %}
46+
If your bank account has **two-factor authentication (2FA)** or another security step enabled, you should be prompted to complete this authentication step when connecting the account to Expensify.
4047

41-
</div>
48+
However, if you encounter an error during this process, you can close the pop-up window and select **Connect Manually** to add the account manually.

docs/articles/expensify-classic/bank-accounts-and-payments/payments/Get-reimbursed-faster-as-a-non-US-employee.md

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

0 commit comments

Comments
 (0)