forked from Expensify/App
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main'
- Loading branch information
Showing
125 changed files
with
3,215 additions
and
1,170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
name: 'Tooltips Template' | ||
about: Create this issue when adding a new tooltip to New Expensify | ||
labels: Daily, Design, WaitingForCopy | ||
title: 'Tooltips Template' | ||
--- | ||
Refer to https://stackoverflowteams.com/c/expensify/questions/20762 for the full process to add a tooltip. | ||
|
||
### Problem | ||
Enter the problem that currently exists without the tooltip. | ||
|
||
### Solution | ||
Enter the solution that implementing the tooltip will achieve. | ||
|
||
### What is the purpose of the tooltip? | ||
Enter the purpose. | ||
|
||
### How should the tooltip look | ||
Add the Figma Mock Up that Design builds. | ||
|
||
### Condition | ||
We should show this tooltip to: | ||
|
||
### Decide the prioritisation | ||
|
||
Priority score: | ||
|
||
NOTE: Only one tooltip is shown at a time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule Mobile-Expensify
updated
from 378731 to 546553
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -273,6 +273,30 @@ type OnboardingMessage = { | |
const EMAIL_WITH_OPTIONAL_DOMAIN = | ||
/(?=((?=[\w'#%+-]+(?:\.[\w'#%+-]+)*@?)[\w.'#%+-]{1,64}(?:@(?:(?=[a-z\d]+(?:-+[a-z\d]+)*\.)(?:[a-z\d-]{1,63}\.)+[a-z]{2,63}))?(?= |_|\b))(?<end>.*))\S{3,254}(?=\k<end>$)/; | ||
|
||
const EMAIL = { | ||
ACCOUNTING: '[email protected]', | ||
ACCOUNTS_PAYABLE: '[email protected]', | ||
ADMIN: '[email protected]', | ||
BILLS: '[email protected]', | ||
CHRONOS: '[email protected]', | ||
CONCIERGE: '[email protected]', | ||
CONTRIBUTORS: '[email protected]', | ||
FIRST_RESPONDER: '[email protected]', | ||
GUIDES_DOMAIN: 'team.expensify.com', | ||
QA_DOMAIN: 'applause.expensifail.com', | ||
HELP: '[email protected]', | ||
INTEGRATION_TESTING_CREDS: '[email protected]', | ||
NOTIFICATIONS: '[email protected]', | ||
PAYROLL: '[email protected]', | ||
QA: '[email protected]', | ||
QA_TRAVIS: '[email protected]', | ||
RECEIPTS: '[email protected]', | ||
STUDENT_AMBASSADOR: '[email protected]', | ||
SVFG: '[email protected]', | ||
EXPENSIFY_EMAIL_DOMAIN: '@expensify.com', | ||
EXPENSIFY_TEAM_EMAIL_DOMAIN: '@team.expensify.com', | ||
}; | ||
|
||
const CONST = { | ||
HEIC_SIGNATURES: [ | ||
'6674797068656963', // 'ftypheic' - Indicates standard HEIC file | ||
|
@@ -670,6 +694,7 @@ const CONST = { | |
PER_DIEM: 'newDotPerDiem', | ||
NEWDOT_MERGE_ACCOUNTS: 'newDotMergeAccounts', | ||
NEWDOT_MANAGER_MCTEST: 'newDotManagerMcTest', | ||
NEWDOT_INTERNATIONAL_DEPOSIT_BANK_ACCOUNT: 'newDotInternationalDepositBankAccount', | ||
NSQS: 'nsqs', | ||
}, | ||
BUTTON_STATES: { | ||
|
@@ -930,6 +955,7 @@ const CONST = { | |
CONFIGURE_REIMBURSEMENT_SETTINGS_HELP_URL: 'https://help.expensify.com/articles/expensify-classic/workspaces/Configure-Reimbursement-Settings', | ||
COPILOT_HELP_URL: 'https://help.expensify.com/articles/expensify-classic/copilots-and-delegates/Assign-or-remove-a-Copilot', | ||
DELAYED_SUBMISSION_HELP_URL: 'https://help.expensify.com/articles/expensify-classic/reports/Automatically-submit-employee-reports', | ||
ENCRYPTION_AND_SECURITY_HELP_URL: 'https://help.expensify.com/articles/new-expensify/settings/Encryption-and-Data-Security', | ||
PLAN_TYPES_AND_PRICING_HELP_URL: 'https://help.expensify.com/articles/new-expensify/billing-and-subscriptions/Plan-types-and-pricing', | ||
TEST_RECEIPT_URL: `${CLOUDFRONT_URL}/images/fake-receipt__tacotodds.png`, | ||
// Use Environment.getEnvironmentURL to get the complete URL with port number | ||
|
@@ -1669,29 +1695,7 @@ const CONST = { | |
SEARCH_SKELETON_VIEW_ITEM_HEIGHT: 108, | ||
EXPENSIFY_PARTNER_NAME: 'expensify.com', | ||
EXPENSIFY_MERCHANT: 'Expensify, Inc.', | ||
EMAIL: { | ||
ACCOUNTING: '[email protected]', | ||
ACCOUNTS_PAYABLE: '[email protected]', | ||
ADMIN: '[email protected]', | ||
BILLS: '[email protected]', | ||
CHRONOS: '[email protected]', | ||
CONCIERGE: '[email protected]', | ||
CONTRIBUTORS: '[email protected]', | ||
FIRST_RESPONDER: '[email protected]', | ||
GUIDES_DOMAIN: 'team.expensify.com', | ||
QA_DOMAIN: 'applause.expensifail.com', | ||
HELP: '[email protected]', | ||
INTEGRATION_TESTING_CREDS: '[email protected]', | ||
NOTIFICATIONS: '[email protected]', | ||
PAYROLL: '[email protected]', | ||
QA: '[email protected]', | ||
QA_TRAVIS: '[email protected]', | ||
RECEIPTS: '[email protected]', | ||
STUDENT_AMBASSADOR: '[email protected]', | ||
SVFG: '[email protected]', | ||
EXPENSIFY_EMAIL_DOMAIN: '@expensify.com', | ||
EXPENSIFY_TEAM_EMAIL_DOMAIN: '@team.expensify.com', | ||
}, | ||
EMAIL, | ||
|
||
FULL_STORY: { | ||
MASK: 'fs-mask', | ||
|
@@ -3155,27 +3159,30 @@ const CONST = { | |
WORKSPACE_FEATURES: 'WorkspaceFeatures', | ||
WORKSPACE_RULES: 'WorkspaceRules', | ||
}, | ||
get EXPENSIFY_EMAILS() { | ||
return [ | ||
this.EMAIL.ACCOUNTING, | ||
this.EMAIL.ACCOUNTS_PAYABLE, | ||
this.EMAIL.ADMIN, | ||
this.EMAIL.BILLS, | ||
this.EMAIL.CHRONOS, | ||
this.EMAIL.CONCIERGE, | ||
this.EMAIL.CONTRIBUTORS, | ||
this.EMAIL.FIRST_RESPONDER, | ||
this.EMAIL.HELP, | ||
this.EMAIL.INTEGRATION_TESTING_CREDS, | ||
this.EMAIL.NOTIFICATIONS, | ||
this.EMAIL.PAYROLL, | ||
this.EMAIL.QA, | ||
this.EMAIL.QA_TRAVIS, | ||
this.EMAIL.RECEIPTS, | ||
this.EMAIL.STUDENT_AMBASSADOR, | ||
this.EMAIL.SVFG, | ||
]; | ||
}, | ||
EXPENSIFY_EMAILS_OBJECT: Object.entries(EMAIL).reduce((prev, [, email]) => { | ||
// eslint-disable-next-line no-param-reassign | ||
prev[email] = true; | ||
return prev; | ||
}, {} as Record<string, boolean>), | ||
EXPENSIFY_EMAILS: [ | ||
EMAIL.ACCOUNTING, | ||
EMAIL.ACCOUNTS_PAYABLE, | ||
EMAIL.ADMIN, | ||
EMAIL.BILLS, | ||
EMAIL.CHRONOS, | ||
EMAIL.CONCIERGE, | ||
EMAIL.CONTRIBUTORS, | ||
EMAIL.FIRST_RESPONDER, | ||
EMAIL.HELP, | ||
EMAIL.INTEGRATION_TESTING_CREDS, | ||
EMAIL.NOTIFICATIONS, | ||
EMAIL.PAYROLL, | ||
EMAIL.QA, | ||
EMAIL.QA_TRAVIS, | ||
EMAIL.RECEIPTS, | ||
EMAIL.STUDENT_AMBASSADOR, | ||
EMAIL.SVFG, | ||
] as string[], | ||
get EXPENSIFY_ACCOUNT_IDS() { | ||
return [ | ||
this.ACCOUNT_ID.ACCOUNTING, | ||
|
@@ -6452,6 +6459,53 @@ const CONST = { | |
}, | ||
}, | ||
|
||
CORPAY_FIELDS: { | ||
EXCLUDED_COUNTRIES: ['IR', 'CU', 'SY', 'UA', 'KP', 'RU'] as string[], | ||
EXCLUDED_CURRENCIES: ['IRR', 'CUP', 'SYP', 'UAH', 'KPW', 'RUB'] as string[], | ||
BANK_ACCOUNT_DETAILS_FIELDS: ['accountNumber', 'localAccountNumber', 'routingCode', 'localRoutingCode', 'swiftBicCode'] as string[], | ||
ACCOUNT_TYPE_KEY: 'BeneficiaryAccountType', | ||
ACCOUNT_HOLDER_COUNTRY_KEY: 'accountHolderCountry', | ||
BANK_INFORMATION_FIELDS: ['bankName', 'bankAddressLine1', 'bankAddressLine2', 'bankCity', 'bankRegion', 'bankPostal', 'BeneficiaryBankBranchName'] as string[], | ||
ACCOUNT_HOLDER_FIELDS: [ | ||
'accountHolderName', | ||
'accountHolderAddress1', | ||
'accountHolderAddress2', | ||
'accountHolderCity', | ||
'accountHolderRegion', | ||
'accountHolderCountry', | ||
'accountHolderPostal', | ||
'accountHolderPhoneNumber', | ||
'accountHolderEmail', | ||
'ContactName', | ||
'BeneficiaryCPF', | ||
'BeneficiaryRUT', | ||
'BeneficiaryCedulaID', | ||
'BeneficiaryTaxID', | ||
] as string[], | ||
SPECIAL_LIST_REGION_KEYS: ['bankRegion', 'accountHolderRegion'] as string[], | ||
SPECIAL_LIST_ADDRESS_KEYS: ['bankAddressLine1', 'accountHolderAddress1'] as string[], | ||
STEPS_NAME: { | ||
COUNTRY_SELECTOR: 'CountrySelector', | ||
BANK_ACCOUNT_DETAILS: 'BankAccountDetails', | ||
ACCOUNT_TYPE: 'AccountType', | ||
BANK_INFORMATION: 'BankInformation', | ||
ACCOUNT_HOLDER_INFORMATION: 'AccountHolderInformation', | ||
CONFIRMATION: 'Confirmation', | ||
SUCCESS: 'Success', | ||
}, | ||
INDEXES: { | ||
MAPPING: { | ||
COUNTRY_SELECTOR: 0, | ||
BANK_ACCOUNT_DETAILS: 1, | ||
ACCOUNT_TYPE: 2, | ||
BANK_INFORMATION: 3, | ||
ACCOUNT_HOLDER_INFORMATION: 4, | ||
CONFIRMATION: 5, | ||
SUCCESS: 6, | ||
}, | ||
}, | ||
}, | ||
|
||
HYBRID_APP: { | ||
REORDERING_REACT_NATIVE_ACTIVITY_TO_FRONT: 'reorderingReactNativeActivityToFront', | ||
}, | ||
|
Oops, something went wrong.