-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update custom messages in the onboarding flow #40328
Conversation
@jayeshmangwani Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
There's an existing issue on
|
@tienifr For the first step in the Tests section, please add the below step as an alternate |
const conciergeAccountID = PersonalDetailsUtils.getAccountIDsByLogins([CONST.EMAIL.CONCIERGE])[0]; | ||
|
||
if (!text) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tienifr Please add a comment here on why we added this logic
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated.
src/CONST.ts
Outdated
'\n' + | ||
'To submit expenses for reimbursement:\n' + | ||
'1. From the home screen, click the green + button > Request money.\n' + | ||
"2. Enter an amount or scan a receipt, then input your boss's email.\n" + | ||
'\n' + | ||
"That'll send a request to get you paid back. Let me know if you have any questions!", | ||
[onboardingChoices.MANAGE_TEAM]: | ||
"# Welcome to Expensify, let's start managing your team's expenses!\n" + | ||
"Hi there, I'm Concierge. Chat with me here for anything you need.\n" + | ||
"# Let's start managing your team's expenses!\n" + | ||
'\n' + | ||
"To manage your team's expenses, create a workspace to keep everything in one place. Here's how:\n" + | ||
'1. From the home screen, click the green + button > New Workspace\n' + | ||
'2. Give your workspace a name (e.g. “Sales team expenses”).\n' + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danielrvidal @MariaHCD There are some inconsistencies in the double quotation marks. Here, we are using the Left Double Quotation Mark and the Right Double Quotation Mark in “Sales team expenses”, IMO, it should just use the simple quotation mark like other CONSTs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same inconsistency is with Track my business expenses to file taxes copy.
In the description, we have below text for the second point:
- Give your workspace a name (e.g. "My business expenses”).
But here for the "My business expenses”
, we are using simple quotation marks for the opening and for closing, we are using different quotation marks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For: Track and budget personal spend
'2. Give your workspace a name (e.g. "My expenses”).\n' +
It should have used same quotation marks in "My expenses”
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, let's use the simple quotation marks in all the copy here 👍🏼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated!
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid.movAndroid: mWeb ChromemWeb-chrome.moviOS: NativeiOS.moviOS: mWeb SafarimWeb-safari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.mov |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM 🎉
Asked the contributor here to add a comment #40328 (comment)
Found some inconsistencies in the copy of the onboarding texts and added a comment here #40328 (comment)
cc: @MariaHCD
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/MariaHCD in version: 1.4.63-0 🚀
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.63-21 🚀
|
Details
This PR updates custom messages in the onboarding flow.
Fixed Issues
$ #40261
PROPOSAL: #40261 (comment)
Tests
/onboarding
(or Go to Settings > About > Troubleshoot >> Press Navigate next to Onboarding Flow section)Offline tests
Same as Tests
QA Steps
/onboarding
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Screen.Recording.2024-04-17.at.09.43.12-compressed.mov
Android: mWeb Chrome
Screen.Recording.2024-04-17.at.09.28.01-compressed.mov
iOS: Native
iOS: mWeb Safari
Screen.Recording.2024-04-17.at.09.18.00-compressed.mov
MacOS: Chrome / Safari
Screen.Recording.2024-04-17.at.09.08.53-compressed.mov
MacOS: Desktop