-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Fix subtitle displayed wrong in LHN when clicking reply in thread #20235
Conversation
@amyevans @abdulrahuman5196 One of you needs to 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] |
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.
NBD, but looks like the videos for mWeb - Safari and Desktop are swapped
Just updated |
Seems there is some bug in main not allowing the threads to be created optimistically. @dukenv0307 Even in your videos attached i am not seeing optimistic chat being created. @amyevans What do you think we should do? Should we rebase this fix on top of a older main commit(main branch at may 31st didn't have this issue)? |
@dukenv0307 @amyevans I have raised this issue in expensify-open-source slack channel as well - https://expensify.slack.com/archives/C01GTK53T8Q/p1686064782564449 |
This solution seems fine, it'll enable us to fully test the fix in this PR, without becoming dependent on a fix for the unrelated issue in |
The solution is fine. But I don't think we can test it fully. Even if we remove the author's commits, we can still see the same behaviour due to the main issue. Its like with or without this fix we are seeing the same behaviour during thread creation. Since the issue of "No activity yet" will only come during the skeleton view load phase we won't be able to test if this solution fixes it. |
@abdulrahuman5196 Hmm I'm not sure I follow what you're saying. I am testing with these steps:
I'm okay with not pursuing the route of rebasing the fix on top of a older main commit if you have an alternate proposal (such as putting this PR on |
You are actually checking out a older commit head and cherry picking this fix on top of that and testing. It will work that way. In your first step If instead of the above, if you checkout the Screen.Recording.2023-06-06.at.8.16.51.PM.movIf we want we can test the same way as you tested like checking out old commit and cherry picking fix commit on top of that(Basically that's the rebase if we want to test locally). Do we want to do that way so that we are not blocked on main fix? I am ok with that as well |
Anyways we don't have a GH issue for the skeleton view not present issue on main. So I am following to test with this way #20235 (comment) so that we don't have to wait. |
Yes, let's test that way. (Side note, earlier I think we were saying the same thing, just somehow not understanding one another 😄). Thanks! |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-06-07.at.12.08.37.AM.movMobile Web - Chromeaz_recorder_20230607_001307.mp4Mobile Web - SafariScreenRecording.movDesktopScreen.Recording.2023-06-06.at.11.04.52.PM.moviOSScreen.Recording.2023-06-06.at.11.46.49.PM.movAndroidaz_recorder_20230607_002619.mp4 |
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.
Changes looks good and works well. Reviewers checklist is also complete.
All yours now @amyevans . (I think we got derailed in the conversions a bit)
✋ 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/amyevans in version: 1.3.25-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.3.25-8 🚀
|
Details
Subtitle displayed wrong briefly in LHN when clicking reply in thread
Fixed Issues
$ #19349
PROPOSAL: #19349 (comment)
Tests
Offline tests
Same above
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)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
Web
Screencast.from.06-06-2023.09.50.46.webm
Mobile Web - Chrome
Record_2023-06-06-01-47-22.mp4
Mobile Web - Safari
processed-AD4FC88A-C6B6-47FE-AD95-9217EC3E13F6-9C01E48A-C84A-491A-95B8-D70AE5A90647.mp4
Desktop
Screen.Recording.2023-06-06.at.14.47.28.mov
iOS
Screen.Recording.2023-06-06.at.14.57.53.mov
Android
19349.mp4