-
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
[HOLD for payment 2024-06-20] [HOLD for payment 2024-06-18] CRITICAL: [UX Reliability] [$1000] Chat - Chat does not scroll down when sending messages #40724
Comments
Triggered auto assignment to @luacmartins ( |
We think that this bug might be related to #vip-vsb |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Job added to Upwork: https://www.upwork.com/jobs/~016dcc2d8605cc9198 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @DylanDylann ( |
Looking for proposals |
Gonna look into this one |
it might be related to #40547 |
I found the issue, and looking for possible solutions. |
Cool, let us know what you find @climax0916 |
When adding comments, App/src/pages/home/report/ReportActionsView.tsx Lines 488 to 512 in a43595b
|
@luacmartins Am I right? |
Why does it become |
When adding new transactions, this App/src/libs/actions/Report.ts Lines 604 to 608 in a43595b
Then, Lines 56 to 63 in a43595b
After that, render again because of Onyx storage changed. But, here
Because of this, the scroll doesn't down to the latest message. |
I think this issue have the same RCA with #40664 |
ProposalPlease re-state the problem that we are trying to solve in this issueChat does not scroll down when sending messages. What is the root cause of that problem?Two things which both cause our issue: 1.Whenever we start a new chat there's this new action which I assume was introduced by BE recently: an additional new This addition causes This makes it such that the 2.Due to recent new architecture being enabled, it looks like the native specific What changes do you think we should make in order to solve the problem?We have a two part solution to address both parts of the RCA: 1.The first part of the RCA was already handled by PR #40286, specifically this line where we make sure we don't early return when the user posts their first comment when the first action is a whisper (automated comment). 2. const scrollToBottom = useCallback(() => {
requestAnimationFrame(() => {
if (!flatListRef?.current) {
return;
}
setScrollPosition({offset: 0});
flatListRef.current?.scrollToOffset({animated: false, offset: 0});
});
}, [flatListRef, setScrollPosition]); This ensures that the code within Here's a test branch of the solution: test/40724 and it's diff. Videos (before / after)iOS: Native
|
Based on the previous comments this seems like it might not be a deploy blocker as if its related to the new architecture, that has already been deployed to production |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.81-11 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-06-18. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.82-4 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-06-20. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
Regression Test StepsFor attachments, text messages, For whispers.
For IOU reports, For IOU previews.
Do you agree 👍 or 👎 ? |
IMO we can skip TC in this case given that's such an obvious issue that many people would report it. I'm not too passionate about it though so also ok adding it. |
Final payment summary
|
Payment requested as per #40724 (comment) |
$1,000 approved for @parasharrajat |
Reopening as per this https://expensify.slack.com/archives/C049HHMV9SM/p1720444720601389 |
Closing this again as per that thread we agreed to create a new issue. |
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.64-0
Reproducible in staging?: y
Reproducible in production?: y
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
The chat view will scroll down to show the latest message.
Actual Result:
The chat view does not scroll down to show the latest message.
Workaround:
n/a
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6457776_1713809495909.RPReplay_Final1713809407.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @anmuraliThe text was updated successfully, but these errors were encountered: