-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[$500] Web - On login with concierge, different chat is displayed before redirecting to concierge #34755
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
Job added to Upwork: https://www.upwork.com/jobs/~01206911560f412311 |
Triggered auto assignment to @adelekennedy ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @sobitneupane ( |
@Quintar - #vip-vsb |
ProposalPlease re-state the problem that we are trying to solve in this issue.When login with concierge, different chat is displayed before redirecting to concierge What is the root cause of that problem?When deep linking, openReportFromDeepLink function is called. After signing in, navigates to the deep link url App/src/libs/actions/Report.ts Lines 2057 to 2078 in e6b0761
When navigating to concierge chat, we wait for App/src/libs/actions/Report.ts Lines 1582 to 1585 in e6b0761
but when navigating to other chat, we just go to the report Meanwhile, we have App/src/libs/Navigation/AppNavigator/ReportScreenIDSetter.ts Lines 58 to 77 in e6b0761
As you can see above, This is the root cause What changes do you think we should make in order to solve the problem?We shouldn't call Insert the following code here
Update
to
This works as expected Result34755.mp4What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.When going to /concierge and login, the app shows other report briefly before the concierge chat. What is the root cause of that problem?When we navigate to /concierge, we actually being navigated to ConciergePage. App/src/pages/ConciergePage.tsx Lines 27 to 41 in 991a4e2
Before going to the concierge chat, it will pop the current screen, that is the ConciergePage itself. But App/src/libs/actions/Report.ts Lines 1579 to 1585 in 991a4e2
So, the ConciergePage utility page is gone, but we are still not navigated to the concierge page yet. Then, we have a logic to have at least one report screen on the stack which will show the last accessed report. App/src/libs/Navigation/AppNavigator/createCustomStackNavigator/CustomRouter.ts Lines 68 to 74 in 991a4e2
So, the nav stack will be: [Home, ReportScreen], and when What changes do you think we should make in order to solve the problem?First, we should wait until
With this change, we will see ConciergePage (which shows a loading screen) instead of a report screen. If we want to show a report skeleton on the concierge page, we can add
Here is what it looks like: Screen.Recording.2024-02-06.at.17.23.26.movBut the report screen added by CustomRouter still exists on the nav stack: [Home, ReportScreen, ReporScreen (Concierge)]. To prevent this, we can avoid adding it if ConciergePage is in the stack.
Last, we need to call App/src/pages/ConciergePage.tsx Lines 29 to 31 in 991a4e2
|
@sobitneupane two proposals above to review! |
I am working partially this week. I will try to review the proposals before weekend. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@sobitneupane, @adelekennedy Huh... This is 4 days overdue. Who can take care of this? |
we have proposals - @sobitneupane will review when back |
@sobitneupane @adelekennedy this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
i will review the proposals by EOD. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Thanks for the proposal everyone. Special thanks to @bernhardoj for detailed RCA. Overall, your proposal looks good to me.
@bernhardoj Should we show SkeletonView instead of loading screen? |
I think it's fine to show the loading screen as it's just an intermediary screen and only noticeable when opening it while the app is still loading. |
I believe we have replace the loading screen by SkeletonView in most of the places. And it's good to do have the change here as well. Is there any reason to not have SkeletonView here? |
I don't really have a strong reason, but I see all intermediary pages only show a loading screen (LogOutPreviousUserPage, demo page - not exist anymore), so I think we can just leave it as it is. If we want to add a skeleton, what would it look like? Do we want to show the header and report skeleton without the composer? |
@sobitneupane @jasperhuangg @adelekennedy this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ and will need to go internal. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks! |
@jasperhuangg will you check the approved proposal? |
On it, thanks for the bump. Been OOO the last two days. |
@bernhardoj's proposal also makes sense to me, great explanation! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
PR is ready cc: @sobitneupane |
This issue has not been updated in over 15 days. @sobitneupane, @jasperhuangg, @bernhardoj, @adelekennedy eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
PR was deployed to prod a few days ago without any regressions! |
Seems there's been a problem with melvin adding the awaiting payment labels |
It looks like we need to pay out: @adelekennedy can you send them offers? |
Payouts due: Contributor: $500 @bernhardoj Upwork |
made upwork payment and posted bz payment summary above |
$500 approved for @sobitneupane based on summary. |
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: 1.4.27-0
Reproducible in staging?: y
Reproducible in production?: y
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: Applause - Internal Team
Slack conversation:
Action Performed:
Expected Result:
App should display concierge page on login with concierge link
Actual Result:
App displays different chat first before redirecting to concierge page on login with concierge link
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6346840_1705601525095.34701_-_login_with_concierge_issue_staging.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: