-
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
[$500] The expense chat doesn't scroll to bottom when we create a distance request #39198
Comments
Triggered auto assignment to @johncschuster ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The report isn't scrolled to the bottom What is the root cause of that problem?When we create a new distance request, we always notifyNewAction for the chat report. So if we create this in expense report, this doesn't scroll to bottom Line 1417 in ad1e214
Actually, sometime when we open the report, the report doesn't scroll to bottom when we send any action. The RCA of this we're missing
So if the time we open the report the last report action of the report isn't loaded, App/src/pages/home/report/ReportActionsList.tsx Lines 321 to 330 in 94b9b33
What changes do you think we should make in order to solve the problem?
Line 2127 in ad1e214
Line 1417 in ad1e214
What alternative solutions did you explore? (Optional)NA |
@johncschuster I'm the reporter of this bug and have the context on this. I can take over this as C+ if the issue is external |
@dukenv0307 thanks for reporting this and volunteering to be the reviewer! Is "scrolling to the bottom of the report" a global behavior when other requests are created? |
@johncschuster Yes, when we create other requests like manual or scan, the report scrolls to the bottom after the request is created. Screen.Recording.2024-04-02.at.09.45.56.mov |
Job added to Upwork: https://www.upwork.com/jobs/~01a3b77e7d3b5ad058 |
Current assignee @dukenv0307 is eligible for the External assigner, not assigning anyone new. |
@nkdengineer I tried your solution but it did not worked on my side. Beside, we can reproduce this bug with the following steps
Can you pls help take a look? Or Do I miss sth? |
@dukenv0307 Thanks for your feedback, I also can reproduce this. The RCA is here and I updated proposal #39198 (comment) with additional RCA and solution to fix this case. |
@nkdengineer I don't like the way we pass |
@dukenv0307 I think we can do that, updated proposal #39198 (comment) to use ref for |
@nkdengineer's proposal looks good to me 🎀👀🎀 C+ reviewed |
Triggered auto assignment to @aldo-expensify, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@nkdengineer A note on the proposed solution: Instead of updating the ref in a App/src/pages/home/report/ReportActionsList.tsx Lines 199 to 200 in 6fb92cf
so it is never out of sync. I'm assuming that you recommended to use a ref and not add |
📣 @dukenv0307 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @nkdengineer You have been assigned to this job! |
@aldo-expensify Yes we only want to subscribe/unsubscribe |
@dukenv0307 The PR is here |
This issue has not been updated in over 15 days. @johncschuster, @aldo-expensify, @dukenv0307, @nkdengineer 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! |
@johncschuster The PR was deployed to production a while ago, could you help with payments here 🙇 |
@johncschuster Gentle bump on the comment above |
Working on this now |
Payment has been issued to @dukenv0307 via Upwork. |
@johncschuster Done! thanks |
Paid! Thanks for your patience! |
@johncschuster We can close this issue now. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 1.4.57-2
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: @dukenv0307
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1711431374851699
Action Performed:
Expected Result:
The report should be scrolled to the bottom as it's when we create other requests like manual or scan
Actual Result:
The report isn't scrolled to the bottom
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Screen.Recording.2024-03-26.at.12.36.28.mov
Recording.2917.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: