-
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
Make optimistic reportActions appear last #15942
Conversation
@Santhosh-Sellavel @cristipaval 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] |
Messages do not reshuffle, but I noticed the following bugs
Screen.Recording.2023-03-15.at.6.17.50.PM.mov |
This comment was marked as outdated.
This comment was marked as outdated.
Thanks for testing @Santhosh-Sellavel, those bugs should be fixed now. Updated the test & QA steps accordingly. |
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.
Looks good, left one question. @Santhosh-Sellavel would you be able to re-test again?
Yes will do today |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-03-24.at.12.38.16.AM.movMobile Web - ChromeScreen_Recording_20230324_010359_Chrome.mp4Mobile Web - SafariRPReplay_Final1679600290.MP4DesktopScreen.Recording.2023-03-24.at.12.57.25.AM.moviOSUnable to test this AndroidAndroid_Screen.mp4 |
Can someone anyone of you test this one on iOS Native alone on a real device cc: @cristipaval or @mountiny I tested on other platforms it works well! |
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.
Tested in the emulator, which was not great for the reshuffling but we can assume that works fine across platforms, however, when I deleted the last reportAction, the new unread message marker appeared above 2
.
I am not sure if this is a regression from this PR tho, could you reproduce this on @Santhosh-Sellavel ?
Screen.Recording.2023-03-24.at.17.37.23.mp4
@mountiny Force offline is useless here, actions are executed data is sent to server only fetch is pending. |
Gotcha, I unfortunatelly dont have this running on my device, lets try the |
@mountiny just FYI you need to add the |
I was just wondering whats going on, there there is this SO for anyone internal https://stackoverflowteams.com/c/expensify/questions/15195/15196#15196 comes across |
🧪🧪 Use the links below to test this build in android and iOS. Happy testing! 🧪🧪 |
@Santhosh-Sellavel Can you test now if you have physical iPhone? |
Tested with my iPhone and it works. RPReplay_Final1679692996.MP4 |
Soooo, let's merge this then? 🙂 |
@mountiny looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
All tests have passed, not an emergency |
🚀 Deployed to staging by https://github.com/mountiny in version: 1.2.90-4 🚀
|
@mountiny My checklist was not completed that's why an emergency was added |
I investigated this further. As we know you tested the above with So I just the tested this PR for online case, I see shuffling of messages Screen.Recording.2023-03-27.at.7.26.47.PM.mov |
The above doesn't happen on staging, it would cause a regression. We should handle this before deploying @roryabraham Screen.Recording.2023-03-27.at.7.34.15.PM.mov |
@roryabraham I think we should revert this one, there is couple of regressions: Also sending a message in a new workspace admins chats puts the messages above the CREATED report action. |
@roryabraham please tag me for review in the new PR thanks! |
🚀 Deployed to production by https://github.com/luacmartins in version: 1.2.90-7 🚀
|
Will do! |
Details
#13250 (comment)
Fixed Issues
$ #13250
Tests
1
,2
,3
,4
,5
4
as the message preview for this report.Offline tests
All the tests are offline tests 😉
QA Steps
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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
web.mov
Mobile Web - Chrome
AndroidWeb.mov
Mobile Web - Safari
RPReplay_Final1678801099.MP4
Desktop
Desktop.mov
iOS
RPReplay_Final1678827873.MP4
Android
Android.mov