-
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
[$250] After paying expense and canceling payment don't scroll down to comments #53077
Comments
Triggered auto assignment to @kadiealexander ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.After paying expense and canceling payment don't scroll down to the comments What is the root cause of that problem?We do not call What changes do you think we should make in order to solve the problem?Add Line 7309 in e08c53a
|
ProposalPlease re-state the problem that we are trying to solve in this issue.After paying expense and canceling payment don't scroll down What is the root cause of that problem?We are missing Line 7464 in 51e25af
Lines 7397 to 7406 in 51e25af
What changes do you think we should make in order to solve the problem?We should add
What alternative solutions did you explore? (Optional) |
I can help take this issue as C+ since I have the context on it @kadiealexander |
Job added to Upwork: https://www.upwork.com/jobs/~021861289275630369185 |
Current assignee @dukenv0307 is eligible for the External assigner, not assigning anyone new. |
ProposalPlease re-state the problem that we are trying to solve in this issue.After paying expense and canceling payment don't scroll down to comments What is the root cause of that problem?We already have a code that will scroll to bottom whenever the last action is changed on the report here App/src/pages/home/report/ReportActionsList.tsx Lines 374 to 379 in 084a711
but in our case hasNewesReportAction will be false
hasNewesReportAction will ensure that the last action does exist in our report action list but in our case although we added the payed and cancelled payment report actions optimistically we forgot to update lastVisibleActionCreated with the last action created timestampLines 6615 to 6625 in 084a711
Lines 7385 to 7395 in 084a711
What changes do you think we should make in order to solve the problem?We will need to set the lastVisibleActionCreated field correctly Line 7394 in 084a711
Line 6625 in 084a711
and for cancel payment we need to revert previous value on failureData here Line 7435 in 084a711
but for pay we are already doing it here Lines 6673 to 6675 in 084a711
POC:2024-11-26.17-14-42.mp4What alternative solutions did you explore? (Optional) |
@dukenv0307 bump! |
I'm reviewing. |
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: 9.0.66-3
Reproducible in staging?: Y
Reproducible in production?: Y
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: @dukenv0307
Slack conversation (hyperlinked to channel name): ts_external_expensify_bugs
Action Performed:
Expected Result:
After paying expense and canceling payment scroll down to the comments
Actual Result:
After paying expense and canceling payment don't scroll down to the comments
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
bug.mp4
Recording.794.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @The text was updated successfully, but these errors were encountered: