You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-11-20] [$250] Web - Sign Up - Concierge chat is not auto scrolled to the bottom after onboarding process #52025
Version Number: 9.0.57-0 Reproducible in staging?: Y Reproducible in production?: Y Issue reported by: Applause Internal Team
Action Performed:
Open the staging.new.expensify.com website.
Sign up with a new account.
Select "Manage my team´s expenses"
Complete the onboarding process selecting any option on the following steps.
Verify you land on Concierge chat and the conversation is auto scrolled to the bottom.
Expected Result:
When landing on Concierge chat, the conversation should be auto scrolled to the bottom.
Actual Result:
When selecting "Manage my team´s expenses" during onboarding process, Concierge chat is not auto scrolled to the bottom when the user is redirected to it.
What changes do you think we should make in order to solve the problem?
We need to set the lastVisibleActionCreated to last action added to the targetChatReportID optimistically
so we will set it to the last task report action timestamp and if it is not available we will set it to the video comment action otherwise to the text comment action's created timestamp.
changed the title [-]Web - Sign Up - Concierge chat is not auto scrolled to the bottom after onboarding process[/-][+][$250] Web - Sign Up - Concierge chat is not auto scrolled to the bottom after onboarding process[/+]on Nov 5, 2024
changed the title [-][$250] Web - Sign Up - Concierge chat is not auto scrolled to the bottom after onboarding process[/-][+][HOLD for payment 2024-11-20] [$250] Web - Sign Up - Concierge chat is not auto scrolled to the bottom after onboarding process[/+]on Nov 13, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.60-3 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@brunovjk@twisterdotcom@brunovjk 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]
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal
Test:
Sign up with a new account.
Select "Manage my team´s expenses".
Complete the onboarding process selecting any option on the following steps.
Verify you land on Concierge chat and the conversation is auto scrolled to the bottom.
Activity
melvin-bot commentedon Nov 5, 2024
Triggered auto assignment to @twisterdotcom (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.FitseTLT commentedon Nov 5, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Web - Sign Up - Concierge chat is not auto scrolled to the bottom after onboarding process
What is the root cause of that problem?
The root cause of the problem is we haven't provided
lastVisibleActionCreatedoptimistically for the target chat Report hereApp/src/libs/actions/Report.ts
Lines 3643 to 3651 in 210db71
What changes do you think we should make in order to solve the problem?
We need to set the lastVisibleActionCreated to last action added to the targetChatReportID optimistically
so we will set it to the last task report action timestamp and if it is not available we will set it to the video comment action otherwise to the text comment action's
createdtimestamp.What alternative solutions did you explore? (Optional)
[-]Web - Sign Up - Concierge chat is not auto scrolled to the bottom after onboarding process[/-][+][$250] Web - Sign Up - Concierge chat is not auto scrolled to the bottom after onboarding process[/+]melvin-bot commentedon Nov 5, 2024
Job added to Upwork: https://www.upwork.com/jobs/~021853799179762467415
melvin-bot commentedon Nov 5, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @brunovjk (
External)twisterdotcom commentedon Nov 5, 2024
Possibly linked: #49599
FitseTLT commentedon Nov 5, 2024
Nope, that is completely different issue. 👍
luckydaniel1993 commentedon Nov 5, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Web - Sign Up - Concierge chat is not auto scrolled to the bottom after onboarding process
What is the root cause of that problem?
After completing the onboard flow, we didn't notify that is a new action.
What changes do you think we should make in order to solve the problem?
At the end of
completeOnboardingfunction (afterAPI.write), I addednotifyNewAction.notifyNewAction(targetChatReportID, currentUserAccountID);What alternative solutions did you explore? (Optional)
N/A
Contributor details
Your Expensify account email: anasup1995@gmail.com
Upwork Profile Link: https://www.upwork.com/freelancers/~01aff093c9a804b145
melvin-bot commentedon Nov 5, 2024
✅ Contributor details stored successfully. Thank you for contributing to Expensify!
13 remaining items
[-][$250] Web - Sign Up - Concierge chat is not auto scrolled to the bottom after onboarding process[/-][+][HOLD for payment 2024-11-20] [$250] Web - Sign Up - Concierge chat is not auto scrolled to the bottom after onboarding process[/+]melvin-bot commentedon Nov 13, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Nov 13, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.60-3 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 2024-11-20. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Nov 13, 2024
@brunovjk @twisterdotcom @brunovjk 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]
brunovjk commentedon Nov 19, 2024
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: Tasks for guided setup #39951 (comment)
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion:
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
Regression Test Proposal
Test:
Do we agree 👍 or 👎
twisterdotcom commentedon Nov 19, 2024
Payment Summary: