diff --git a/src/CONST.ts b/src/CONST.ts index 9d3042b64f80..2ab01967cf96 100755 --- a/src/CONST.ts +++ b/src/CONST.ts @@ -3722,12 +3722,12 @@ const CONST = { autoCompleted: false, title: 'Submit an expense', description: - 'Submit an expense by entering an amount or scanning a receipt.\n' + + '*Submit an expense* by entering an amount or scanning a receipt.\n' + '\n' + 'Here’s how to submit an expense:\n' + '\n' + - '1. Click the green + button.\n' + - '2. Choose Submit expense.\n' + + '1. Click the green *+* button.\n' + + '2. Choose *Submit expense*.\n' + '3. Enter an amount or scan a receipt.\n' + '4. Add your reimburser to the request.\n' + '\n' + @@ -3738,12 +3738,12 @@ const CONST = { autoCompleted: false, title: 'Enable your wallet', description: - 'You’ll need to enable your Expensify Wallet to get paid back. Don’t worry, it’s easy!\n' + + 'You’ll need to *enable your Expensify Wallet* to get paid back. Don’t worry, it’s easy!\n' + '\n' + 'Here’s how to set up your wallet:\n' + '\n' + '1. Click your profile picture.\n' + - '2. Click Wallet > Enable wallet.\n' + + '2. Click *Wallet* > *Enable wallet*.\n' + '3. Connect your bank account.\n' + '\n' + 'Once that’s done, you can request money from anyone and get paid back right into your personal bank account.', @@ -3765,14 +3765,14 @@ const CONST = { autoCompleted: true, title: 'Create a workspace', description: - 'Create a workspace to track expenses, scan receipts, chat, and more.\n' + + '*Create a workspace* to track expenses, scan receipts, chat, and more.\n' + '\n' + 'Here’s how to create a workspace:\n' + '\n' + '1. Click your profile picture.\n' + - '2. Click Workspaces > New workspace.\n' + + '2. Click *Workspaces* > *New workspace*.\n' + '\n' + - 'Your new workspace is ready! It’ll keep all of your spend (and chats) in one place.', + '*Your new workspace is ready! It’ll keep all of your spend (and chats) in one place.*', }, { type: 'meetGuide', @@ -3788,32 +3788,32 @@ const CONST = { autoCompleted: false, title: 'Set up categories', description: - 'Set up categories so your team can code expenses for easy reporting.\n' + + '*Set up categories* so your team can code expenses for easy reporting.\n' + '\n' + 'Here’s how to set up categories:\n' + '\n' + '1. Click your profile picture.\n' + - '2. Go to Workspaces > [your workspace].\n' + - '3. Click Categories.\n' + + '2. Go to *Workspaces* > [your workspace].\n' + + '3. Click *Categories*.\n' + '4. Enable and disable default categories.\n' + - '5. Click Add categories to make your own.\n' + + '5. Click *Add categories* to make your own.\n' + '\n' + - 'For more controls like requiring a category for every expense, click Settings.', + 'For more controls like requiring a category for every expense, click *Settings*.', }, { type: 'addExpenseApprovals', autoCompleted: false, title: 'Add expense approvals', description: - 'Add expense approvals to review your team’s spend and keep it under control.\n' + + '*Add expense approvals* to review your team’s spend and keep it under control.\n' + '\n' + 'Here’s how to add expense approvals:\n' + '\n' + '1. Click your profile picture.\n' + - '2. Go to Workspaces > [your workspace].\n' + - '3. Click More features.\n' + - '4. Enable Workflows.\n' + - '5. In Workflows, enable Add approvals.\n' + + '2. Go to *Workspaces* > [your workspace].\n' + + '3. Click *More features*.\n' + + '4. Enable *Workflows*.\n' + + '5. In *Workflows*, enable *Add approvals*.\n' + '\n' + 'You’ll be set as the expense approver. You can change this to any admin once you invite your team.', }, @@ -3822,13 +3822,13 @@ const CONST = { autoCompleted: false, title: 'Invite your team', description: - 'Invite your team to Expensify so they can start tracking expenses today.\n' + + '*Invite your team* to Expensify so they can start tracking expenses today.\n' + '\n' + 'Here’s how to invite your team:\n' + '\n' + '1. Click your profile picture.\n' + - '2. Go to Workspaces > [your workspace].\n' + - '3. Click Members > Invite member.\n' + + '2. Go to *Workspaces* > [your workspace].\n' + + '3. Click *Members* > *Invite member*.\n' + '4. Enter emails or phone numbers. \n' + '5. Add an invite message if you want.\n' + '\n' + @@ -3851,14 +3851,14 @@ const CONST = { autoCompleted: false, title: 'Track an expense', description: - 'Track an expense in any currency, whether you have a receipt or not.\n' + + '*Track an expense* in any currency, whether you have a receipt or not.\n' + '\n' + 'Here’s how to track an expense:\n' + '\n' + - '1. Click the green + button.\n' + - '2. Choose Track expense.\n' + + '1. Click the green *+* button.\n' + + '2. Choose *Track expense*.\n' + '3. Enter an amount or scan a receipt.\n' + - '4. Click Track.\n' + + '4. Click *Track*.\n' + '\n' + 'And you’re done! Yep, it’s that easy.', }, @@ -3879,12 +3879,12 @@ const CONST = { autoCompleted: false, title: 'Start a chat', description: - 'Start a chat with a friend or group using their email or phone number.\n' + + '*Start a chat* with a friend or group using their email or phone number.\n' + '\n' + 'Here’s how to start a chat:\n' + '\n' + - '1. Click the green + button.\n' + - '2. Choose Start chat.\n' + + '1. Click the green *+* button.\n' + + '2. Choose *Start chat*.\n' + '3. Enter emails or phone numbers.\n' + '\n' + 'If any of your friends aren’t using Expensify already, they’ll be invited automatically.\n' + @@ -3896,12 +3896,12 @@ const CONST = { autoCompleted: false, title: 'Split an expense', description: - 'Split an expense right in your chat with one or more friends.\n' + + '*Split an expense* right in your chat with one or more friends.\n' + '\n' + 'Here’s how to request money:\n' + '\n' + - '1. Click the green + button.\n' + - '2. Choose Split expense.\n' + + '1. Click the green *+* button.\n' + + '2. Choose *Split expense*.\n' + '3. Scan a receipt or enter an amount.\n' + '4. Add your friend(s) to the request.\n' + '\n' + @@ -3912,12 +3912,12 @@ const CONST = { autoCompleted: false, title: 'Enable your wallet', description: - 'You’ll need to enable your Expensify Wallet to get paid back. Don’t worry, it’s easy!\n' + + 'You’ll need to *enable your Expensify Wallet* to get paid back. Don’t worry, it’s easy!\n' + '\n' + 'Here’s how to enable your wallet:\n' + '\n' + '1. Click your profile picture.\n' + - '2. Click Wallet > Enable wallet.\n' + + '2. *Click Wallet* > *Enable wallet*.\n' + '3. Add your bank account.\n' + '\n' + 'Once that’s done, you can request money from anyone and get paid right into your personal bank account.', diff --git a/src/components/ReportActionItem/TaskView.tsx b/src/components/ReportActionItem/TaskView.tsx index e7b32ebc6fed..ee3097e051b2 100644 --- a/src/components/ReportActionItem/TaskView.tsx +++ b/src/components/ReportActionItem/TaskView.tsx @@ -22,7 +22,6 @@ import getButtonState from '@libs/getButtonState'; import Navigation from '@libs/Navigation/Navigation'; import * as OptionsListUtils from '@libs/OptionsListUtils'; import * as ReportUtils from '@libs/ReportUtils'; -import * as Url from '@libs/Url'; import * as Session from '@userActions/Session'; import * as Task from '@userActions/Task'; import CONST from '@src/CONST'; @@ -146,8 +145,6 @@ function TaskView({report, ...props}: TaskViewProps) { shouldGreyOutWhenDisabled={false} numberOfLinesTitle={0} interactive={!isDisableInteractive} - shouldRenderAsHTML - shouldEscapeText={Url.hasURL(report.description ?? '') ? undefined : false} />