-
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
Update thread headers and ancestry to deep link back to the original comment using comment linking #39454
Conversation
…comment using comment linking
… until refresh, the cause of the bug: when we already have messages after the linked message, loadNewerChats and handleReportActionPagination are called and isFirstLinkedActionRender.current is set to false, but when the linked message is the last message in the report handleReportActionPagination is not called (based on hasNewestReportAction) and isFirstLinkedActionRender.current remains true.
…tle in a deleted report with messages
…itle in a deleted report with no messages
…stor message offline
…g from thread and sending text | Report - 'New message' button is not displayed when navigating to parent report | Chat - Parent msgs disappear after back from thread by clicking header/browser back button
…deep-link-back-to-the-original-comment
@rushatgabhane Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
…deep-link-back-to-the-original-comment
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeScreen.Recording.2024-04-10.at.02.04.46.moviOS: NativeScreen.Recording.2024-04-10.at.02.21.06.moviOS: mWeb SafariScreen.Recording.2024-04-10.at.02.17.40.movMacOS: Chrome / SafariScreen.Recording.2024-04-10.at.01.55.16.movScreen.Recording.2024-04-10.at.01.57.29.movMacOS: DesktopScreen.Recording.2024-04-10.at.02.29.25.mov |
We did not find an internal engineer to review this PR, trying to assign a random engineer to #38979 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 1.4.62-0 🚀
|
1 similar comment
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 1.4.62-0 🚀
|
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 1.4.62-0 🚀
|
🚀 Deployed to production by https://github.com/thienlnam in version: 1.4.62-17 🚀
|
Hey, this PR caused a bug. More details here - #40087 (comment) It has been handled but just FYI |
The PR caused this bug: #41514 |
(reportActionID && indexOfLinkedAction > -1 && !hasNewestReportAction && !isLoadingOlderReportsFirstNeeded) || | ||
(!reportActionID && !hasNewestReportAction && !isLoadingOlderReportsFirstNeeded) | ||
) { | ||
if ((reportActionID && indexOfLinkedAction > -1 && !isLoadingOlderReportsFirstNeeded) || (!reportActionID && !isLoadingOlderReportsFirstNeeded)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coming from #45227, (Bz Checklist)
This PR introduced a regression, Detailed RCA can be found in this proposal #45227 (comment)
Details
Update thread headers and ancestry to deep link back to the original comment using comment linking.
Fixed Issues
$ #38979
PROPOSAL: N/A
Tests
Test 1:
Test 2:
Test 3:
Test 4 (Web and mWeb only):
Test 5:
Test 6:
Offline tests
Test 2
QA Steps
Same as "Tests"
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Recording.2024-04-05.070802.mp4
Android: mWeb Chrome
Recording.2024-04-05.024057.mp4
iOS: Native
Recording.2024-04-05.074510.mp4
iOS: mWeb Safari
Recording.2024-04-05.022119.mp4
Recording.2024-04-05.023447.mp4
MacOS: Chrome / Safari
Recording.2024-04-05.015422.mp4
MacOS: Desktop
Recording.2024-04-05.021151.mp4