Skip to content

Commit 3d9be83

Browse files
committed
Merge branch 'main' into lucien/add-rbr-test-copilot-held-expense
2 parents 964a61d + 622d061 commit 3d9be83

162 files changed

Lines changed: 2001 additions & 606 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.

.github/workflows/remote-build-android.yml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -59,29 +59,3 @@ jobs:
5959
variant: ${{ matrix.variant }}
6060
rock-build-extra-params: '--extra-params -PreactNativeArchitectures=arm64-v8a,x86_64'
6161
comment-bot: false
62-
63-
- name: Download Rock artifact
64-
env:
65-
ARTIFACT_URL: ${{ env.ARTIFACT_URL }}
66-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
67-
run: |
68-
echo "Downloading artifact from: $ARTIFACT_URL"
69-
curl -L \
70-
-H "Authorization: Bearer $GITHUB_TOKEN" \
71-
-H "Accept: application/octet-stream" \
72-
"$ARTIFACT_URL" -o artifact.zip
73-
unzip artifact.zip -d artifact_contents
74-
75-
- name: Find APK
76-
run: |
77-
APK=$(find artifact_contents -type f -name "*.apk" | head -n 1)
78-
if [ -z "$APK" ]; then
79-
echo "No APK found in artifact"
80-
exit 1
81-
fi
82-
echo "APK_PATH=$APK" >> "$GITHUB_ENV"
83-
echo "Using APK: $APK"
84-
85-
- name: Verify ELF alignment
86-
run: |
87-
scripts/check-elf-alignment.sh "$APK_PATH"

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 1009026105
118-
versionName "9.2.61-5"
117+
versionCode 1009026200
118+
versionName "9.2.62-0"
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<key>CFBundlePackageType</key>
2424
<string>APPL</string>
2525
<key>CFBundleShortVersionString</key>
26-
<string>9.2.61</string>
26+
<string>9.2.62</string>
2727
<key>CFBundleSignature</key>
2828
<string>????</string>
2929
<key>CFBundleURLTypes</key>
@@ -44,7 +44,7 @@
4444
</dict>
4545
</array>
4646
<key>CFBundleVersion</key>
47-
<string>9.2.61.5</string>
47+
<string>9.2.62.0</string>
4848
<key>FullStory</key>
4949
<dict>
5050
<key>OrgId</key>

ios/NotificationServiceExtension/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<key>CFBundleName</key>
1212
<string>$(PRODUCT_NAME)</string>
1313
<key>CFBundleShortVersionString</key>
14-
<string>9.2.61</string>
14+
<string>9.2.62</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.2.61.5</string>
16+
<string>9.2.62.0</string>
1717
<key>NSExtension</key>
1818
<dict>
1919
<key>NSExtensionPointIdentifier</key>

ios/ShareViewController/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<key>CFBundleName</key>
1212
<string>$(PRODUCT_NAME)</string>
1313
<key>CFBundleShortVersionString</key>
14-
<string>9.2.61</string>
14+
<string>9.2.62</string>
1515
<key>CFBundleVersion</key>
16-
<string>9.2.61.5</string>
16+
<string>9.2.62.0</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.61-5",
3+
"version": "9.2.62-0",
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.",

src/CONST/index.ts

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ const EMAIL = {
175175
EXPENSIFY_TEAM_EMAIL_DOMAIN: '@team.expensify.com',
176176
TEAM: 'team@expensify.com',
177177
MANAGER_MCTEST: 'manager_mctest@expensify.com',
178+
QA_GUIDE: 'qa.guide@team.expensify.com',
178179
};
179180

180181
const CONST = {
@@ -620,14 +621,15 @@ const CONST = {
620621
PREFIX: 'beneficialOwner',
621622
FIRST_NAME: 'firstName',
622623
LAST_NAME: 'lastName',
624+
NATIONALITY: 'nationality',
623625
OWNERSHIP_PERCENTAGE: 'ownershipPercentage',
624626
DOB: 'dob',
625627
SSN_LAST_4: 'ssnLast4',
626628
STREET: 'street',
627629
CITY: 'city',
628630
STATE: 'state',
629631
ZIP_CODE: 'zipCode',
630-
COUNTRY: 'nationality',
632+
COUNTRY: 'country',
631633
PROOF_OF_OWNERSHIP: 'proofOfBeneficialOwner',
632634
COPY_OF_ID: 'copyOfIDForBeneficialOwner',
633635
ADDRESS_PROOF: 'addressProofForBeneficialOwner',
@@ -1314,6 +1316,7 @@ const CONST = {
13141316
UPDATE_DISABLED_FIELDS: 'POLICYCHANGELOG_UPDATE_DISABLED_FIELDS',
13151317
UPDATE_EMPLOYEE: 'POLICYCHANGELOG_UPDATE_EMPLOYEE',
13161318
UPDATE_FIELD: 'POLICYCHANGELOG_UPDATE_FIELD',
1319+
UPDATE_IS_ATTENDEE_TRACKING_ENABLED: 'POLICYCHANGELOG_UPDATE_IS_ATTENDEE_TRACKING_ENABLED',
13171320
UPDATE_MANUAL_APPROVAL_THRESHOLD: 'POLICYCHANGELOG_UPDATE_MANUAL_APPROVAL_THRESHOLD',
13181321
UPDATE_MAX_EXPENSE_AMOUNT: 'POLICYCHANGELOG_UPDATE_MAX_EXPENSE_AMOUNT',
13191322
UPDATE_MAX_EXPENSE_AMOUNT_NO_RECEIPT: 'POLICYCHANGELOG_UPDATE_MAX_EXPENSE_AMOUNT_NO_RECEIPT',
@@ -1632,6 +1635,7 @@ const CONST = {
16321635
TRIE_INITIALIZATION: 'trie_initialization',
16331636
COMMENT_LENGTH_DEBOUNCE_TIME: 1500,
16341637
SEARCH_OPTION_LIST_DEBOUNCE_TIME: 300,
1638+
MENTION_SUGGESTION_DEBOUNCE_TIME: 100,
16351639
RESIZE_DEBOUNCE_TIME: 100,
16361640
UNREAD_UPDATE_DEBOUNCE_TIME: 300,
16371641
SEARCH_FILTER_OPTIONS: 'search_filter_options',
@@ -1653,6 +1657,7 @@ const CONST = {
16531657
CONTEXT_FULLSTORY: 'Fullstory',
16541658
CONTEXT_POLICIES: 'Policies',
16551659
TAG_ACTIVE_POLICY: 'active_policy_id',
1660+
// Span names
16561661
SPAN_OPEN_REPORT: 'ManualOpenReport',
16571662
SPAN_APP_STARTUP: 'ManualAppStartup',
16581663
SPAN_NAVIGATE_TO_REPORTS_TAB: 'ManualNavigateToReportsTab',
@@ -1662,11 +1667,14 @@ const CONST = {
16621667
SPAN_OPEN_SEARCH_ROUTER: 'ManualOpenSearchRouter',
16631668
SPAN_OPEN_CREATE_EXPENSE: 'ManualOpenCreateExpense',
16641669
SPAN_SEND_MESSAGE: 'ManualSendMessage',
1670+
// Attribute names
16651671
ATTRIBUTE_IOU_TYPE: 'iou_type',
16661672
ATTRIBUTE_IOU_REQUEST_TYPE: 'iou_request_type',
16671673
ATTRIBUTE_REPORT_ID: 'report_id',
1668-
ATTRIBUTE_SOURCE_ROUTE: 'source_route',
16691674
ATTRIBUTE_MESSAGE_LENGTH: 'message_length',
1675+
ATTRIBUTE_CANCELED: 'canceled',
1676+
ATTRIBUTE_ROUTE_FROM: 'route_from',
1677+
ATTRIBUTE_ROUTE_TO: 'route_to',
16701678
},
16711679
PRIORITY_MODE: {
16721680
GSD: 'gsd',
@@ -2633,6 +2641,7 @@ const CONST = {
26332641
STUDENT_AMBASSADOR: Number(Config?.EXPENSIFY_ACCOUNT_ID_STUDENT_AMBASSADOR ?? 10476956),
26342642
SVFG: Number(Config?.EXPENSIFY_ACCOUNT_ID_SVFG ?? 2012843),
26352643
MANAGER_MCTEST: Number(Config?.EXPENSIFY_ACCOUNT_ID_MANAGER_MCTEST ?? 18964612),
2644+
QA_GUIDE: Number(Config?.EXPENSIFY_ACCOUNT_ID_QA_GUIDE ?? 14365522),
26362645
},
26372646

26382647
ENVIRONMENT: {
@@ -3806,6 +3815,7 @@ const CONST = {
38063815
EMAIL.SVFG,
38073816
EMAIL.TEAM,
38083817
EMAIL.MANAGER_MCTEST,
3818+
EMAIL.QA_GUIDE,
38093819
] as string[],
38103820
get EXPENSIFY_ACCOUNT_IDS() {
38113821
return [
@@ -6686,6 +6696,7 @@ const CONST = {
66866696
CATEGORY: 'category',
66876697
TAG: 'tag',
66886698
TOTAL_AMOUNT: 'amount',
6699+
TOTAL: 'total',
66896700
TYPE: 'type',
66906701
ACTION: 'action',
66916702
TAX_AMOUNT: 'taxAmount',
@@ -6695,6 +6706,8 @@ const CONST = {
66956706
COMMENTS: 'comments',
66966707
CARD: 'card',
66976708
WITHDRAWAL_ID: 'withdrawalID',
6709+
AVATAR: 'avatar',
6710+
STATUS: 'status',
66986711
},
66996712
SYNTAX_OPERATORS: {
67006713
AND: 'and',

src/components/AddPaymentMethodMenu.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type {RefObject} from 'react';
22
import React, {useEffect, useState} from 'react';
33
import type {View} from 'react-native';
44
import type {OnyxEntry} from 'react-native-onyx';
5+
import {useMemoizedLazyExpensifyIcons} from '@hooks/useLazyAsset';
56
import useLocalize from '@hooks/useLocalize';
67
import useOnyx from '@hooks/useOnyx';
78
import {completePaymentOnboarding} from '@libs/actions/IOU';
@@ -13,6 +14,7 @@ import type {AnchorPosition} from '@src/styles';
1314
import type {Report} from '@src/types/onyx';
1415
import type AnchorAlignment from '@src/types/utils/AnchorAlignment';
1516
import isLoadingOnyxValue from '@src/types/utils/isLoadingOnyxValue';
17+
// eslint-disable-next-line no-restricted-imports
1618
import * as Expensicons from './Icon/Expensicons';
1719
import type {PaymentMethod} from './KYCWall/types';
1820
import type BaseModalProps from './Modal/types';
@@ -57,6 +59,7 @@ function AddPaymentMethodMenu({
5759
onItemSelected,
5860
shouldShowPersonalBankAccountOption = false,
5961
}: AddPaymentMethodMenuProps) {
62+
const icons = useMemoizedLazyExpensifyIcons(['Building'] as const);
6063
const {translate} = useLocalize();
6164
const [restoreFocusType, setRestoreFocusType] = useState<BaseModalProps['restoreFocusType']>();
6265
const [session] = useOnyx(ONYXKEYS.SESSION, {canBeMissing: true});
@@ -116,7 +119,7 @@ function AddPaymentMethodMenu({
116119
? [
117120
{
118121
text: translate('common.businessBankAccount'),
119-
icon: Expensicons.Building,
122+
icon: icons.Building,
120123
onSelected: () => {
121124
onItemSelected(CONST.PAYMENT_METHODS.BUSINESS_BANK_ACCOUNT);
122125
},

0 commit comments

Comments
 (0)