-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-03-31] [$250] Onboarding modal is shown to the user on creating workspace. #57499
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
Comments
Triggered auto assignment to @alexpensify ( |
This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989 |
I can reproduce this on my account and I am C+. |
Hey @parasharrajat by any chance did you checked the status of nvp_onboarding.hasCompletedGuidedSetupFlow flag? |
Its' frontend issue. |
@alexpensify I can reproduce this issue, please assign me as C+. |
Job added to Upwork: https://www.upwork.com/jobs/~021895143770861093886 |
Current assignee @parasharrajat is eligible for the External assigner, not assigning anyone new. |
@parasharrajat - Thanks for the update! |
Anyone trying to reproduce this, fail the workspace creation with an error and error code |
🚨 Edited by proposal-police: This proposal was edited at 2025-03-01 16:09:32 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Onboarding modal is shown to the user on creating workspace. What is the root cause of that problem?In this case, when we create a new workspace, it returns error code App/src/libs/actions/Report.ts Lines 4043 to 4049 in e4c22ec
![]() And why was App/src/libs/actions/Policy/Policy.ts Line 2027 in b92e1be
What changes do you think we should make in order to solve the problem?To resolve this issue, we should set
App/src/libs/actions/Policy/Policy.ts Line 230 in b92e1be add: let onboarding: OnyxEntry<Onboarding>;
Onyx.connect({
key: ONYXKEYS.NVP_ONBOARDING,
callback: (value) => (onboarding = value),
});
App/src/libs/actions/Policy/Policy.ts Line 2027 in b92e1be
update to: const onboardingData = ReportUtils.prepareOnboardingOnyxData(
engagementChoice,
CONST.ONBOARDING_MESSAGES[engagementChoice],
adminsChatReportID,
policyID,
undefined,
onboarding?.hasCompletedGuidedSetupFlow,
); Screen.Recording.2025-03-01.at.23.02.38.movWhat specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?None What alternative solutions did you explore? (Optional)Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
@huult If you look closely, there are errors behind the onboarding modal for sent messages on concierge chat. Can you add a fix for that, too? I forgot to mention that during the error reporting. |
@parasharrajat yes |
Screen.Recording.2025-03-02.at.07.47.49.mov@parasharrajat Were you able to reproduce the issue of the error binding the onboarding modal for sent messages in the Concierge chat? |
I didn't understand your question. I was able to to reproduce thus issue as shown in the attached video in OP. |
@parasharrajat Because I didn't encounter an error in the Concierge chat on my side, and the expected result was not mentioned to them. I think it's out of scope. |
🚨 Edited by proposal-police: This proposal was edited at 2025-03-03 08:54:12 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.When workspace creation fails, with following error, User is shown onboarding and other errors. What is the root cause of that problem?For the first created workspace or the old user, we will send App/src/libs/actions/Policy/Policy.ts Lines 2027 to 2035 in a018b5f
App/src/libs/actions/Report.ts Lines 3965 to 3970 in a018b5f
If the API fails, we have the logic here to update App/src/libs/actions/Report.ts Lines 4035 to 4039 in a018b5f
What changes do you think we should make in order to solve the problem?We should only update
App/src/libs/actions/Report.ts Lines 3965 to 3970 in a018b5f
App/src/libs/actions/Report.ts Lines 4035 to 4039 in a018b5f
We shouldn't pass
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?Updated the test case we created here with the case
For this bug, because we have What alternative solutions did you explore? (Optional)Instead of updating the
App/src/libs/actions/Report.ts Lines 4035 to 4039 in a018b5f
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job. |
Note C+:
|
Let me make it clear that the expected behaviour is
Can we please update this @alexpensify in the OP. |
@parasharrajat The PR is ready. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.17-1 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2025-03-31. 🎊 For reference, here are some details about the assignees on this issue:
|
@parasharrajat @alexpensify @parasharrajat The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
Issue not reproducible during KI retests. (Third week) |
Triggered auto assignment to @maddylewis ( |
🚨 Heads up! I'll be offline until Monday, April 7, 2025, and won’t be actively monitoring this GitHub during that time. @maddylewis, I went ahead and reassigned this one since the payment date is next week, and I’ll be offline. I appreciate your help with the required action here. Thanks! |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalPrecondition:
Test:
Do we agree 👍 or 👎 |
Summary:
|
Payment requested as per #57499 (comment) |
Uh oh!
There was an error while loading. Please reload this page.
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number:
Reproducible in staging?: Needs Reproduction
Reproducible in production?: Needs Reproduction
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?:
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @parasharrajat
Slack conversation (hyperlinked to channel name): #Expensify Bugs
Action Performed:
(Not sure of the exact step to reproduce this,
and don't know the criteria for this error)
Expected Result:
User should not be shown to onboarding
Actual Result:
When workspace creation fails, with following error, User is shown onboarding and other errors.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
26.02.2025_19.50.48_REC.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @Issue Owner
Current Issue Owner: @maddylewisThe text was updated successfully, but these errors were encountered: