Conversation
…/onboarding-fixes
|
@rayane-djouah @mountiny One of you needs to 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] |
This comment has been minimized.
This comment has been minimized.
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-04-24.at.16.37.31.movAndroid: mWeb ChromeWhatsApp.Video.2024-04-24.at.01.09.01.mp4iOS: NativeScreen.Recording.2024-04-24.at.16.36.24.moviOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2024-04-24.at.00.58.00.movScreen.Recording.2024-04-24.at.00.56.21.mov
MacOS: Desktop |
There was a problem hiding this comment.
Bug: App crash when proceeding with "Something else" in onboarding flow
- Start onboarding flow from troubleshoot menu
- Select something else
- Add name, go next
- App crash
Screen.Recording.2024-04-24.at.01.16.03.mov
@rezkiy37 are you able to reproduce this?
|
it's crashing for all flows actually. Screen.Recording.2024-04-24.at.01.20.47.mov |
|
Is it just on iOS native, @rushatgabhane? |
|
@rushatgabhane do you have any errors in console in the mweb flow? |
|
@rezkiy37 is this PR supposed to include the fix for the error when completing a task from the DM chat before clicking into the taskReport? CC: @thienlnam |
|
I forgot where we landed on that - but yes let me know if there's an additional change that is needed to be made on my end |
|
Pretty sure this is where we landed, to share the task with the participant of the Concierge/SystemDM. It's just a little unclear if Michael is actioning on that here (for me at least!). |
|
👋 @rezkiy37 can you make sure to update this as well, to the suggested copy by @dubielzyk-expensify here. Thanks! |
|
yes this is iOS native, and i don't see any errors |
…/onboarding-fixes
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪 |
mountiny
left a comment
There was a problem hiding this comment.
other than the translations, changes look good to me
On this, @thienlnam's explanation in thread is that until you open a task, you aren't granted ‘read, write, share’ permissions. So if you try to complete the task from the "preview" in the parent chat before you've opened the taskReport up, it fails due to a lack of permissions. It sounds like we need to fix this on the backend then. It's pretty strange to show a preview and allow an action to be taken within said preview that will always result in an error. You can take actions to like [Approve]/[Pay] an expenseReport from it's preview component in the parent chat without having to open the expenseReport first, so I think we should bring taskReports in-line to allow the same. @thienlnam will you progress this? |
rushatgabhane
left a comment
There was a problem hiding this comment.
Other than #40688 (review), PR LGTM! 🎉
Follow-up on this. It looks like for a task in a "normal" DM, we don't let the user get that far until they've clicked into the taskReport first. We disable the action from being taken until then:
So another option as an interim step might be to do the same in the Concierge DM until we figure out a broader plan. |
|
Also cc @Expensify/design @dubielzyk-expensify - is this the correct padding around the "Welcome" message below the video? |
This behavior happens because the receiver does not have a task report object. There is a check for this. So it is impossible for the onboarding tasks because the current user generates them on their own side. |
Fixed - 2353824. |
|
I can spin up a PR to have it shared within DM reports. Created an issue to track it here https://github.com/Expensify/Expensify/issues/390483 |
mountiny
left a comment
There was a problem hiding this comment.
Looks good, I would make sure to merge this before we deploy again
|
✋ 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/mountiny in version: 1.4.66-0 🚀
|
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.4.66-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 1.4.66-5 🚀
|
| import type {StyleUtilsType} from '@styles/utils'; | ||
|
|
||
| function getOnboardingModalScreenOptions(isSmallScreenWidth: boolean, styles: ThemeStyles, StyleUtils: StyleUtilsType) { | ||
| return getRootNavigatorScreenOptions(isSmallScreenWidth, styles, StyleUtils).fullScreen; |
There was a problem hiding this comment.
@parasharrajat sorry, I didn't get what you meant. What is the problem with have with the gestures?









Details
The PR fixes and improves the onboarding flow. The main changes:
failureDatafor the CompleteGuidedSetup command.Fixed Issues
$ #38771
$ #40725
PROPOSAL: N/A
Tests
Note: To test with an existing user, you can initiate the flow from Settings > Troubleshoot > Onboarding Flow.
With the creation of a workspace (Track business expenses..., Manage my team’s...)
Without the creation of a workspace (others)
Fixes:
Fixed modal background of the pages. It is translucent for web and desktop right now.
a. Verify that the background behind modal screens is translucent.
Fixed replies count.
a. Verify that the app optimistically shows 1 replay count for the "Meet you specialist" task of the "Manage my team's..." purpose.
Use bold text following the design.
a. Verify that the app optimistically generates bold texts as required: [Onboarding - Stage 2] Onboarding Flow - enabled #39687 (comment), [Onboarding - Stage 2] Onboarding Flow - enabled #39687 (comment).
Integrated
failureDatafor the CompleteGuidedSetup command.a. Enable the "Simulate failing network requests" setting.
b. Verify that the app sets errors for messages in the Concierge tasks. Also, the app deletes task reports and resets the onboarding choice.
Updated a translation.
a. Verify that content is translated properly on the onboarding pages.
Offline tests
Same as "Tests".
QA Steps
Same as "Tests".
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
Android.Chrome.mp4
iOS: Native
IOS.mp4
iOS: mWeb Safari
IOS.Safari.mp4
MacOS: Chrome / Safari
Translations
Integrated
failureDatafor the CompleteGuidedSetup command.Bold texts
MacOS: Desktop
Desktop.mp4