-
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
Recalculate new marker indicator if current one is deleted #15144
Recalculate new marker indicator if current one is deleted #15144
Conversation
@neil-marcellini @thesahindia 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] |
@neil-marcellini, what should be the expected behaviour for new line message indicator in the case below:-
I just checked staging and the new line message indicator stays above the greyed out message and after going online it goes away and reappears above the next message. We will have the same behaviour after this PR. Just want to confirm if we are fine with it Screen.Recording.2023-02-15.at.6.17.43.PM.mov |
Co-authored-by: Sahil <thesahindia@gmail.com>
This comment was marked as outdated.
This comment was marked as outdated.
@s77rt, actually I am not sure. I just wanna confirm the expected behaviour. |
Ah it's already the same behaviour. In that case we should do nothing. |
Reviewer Checklist
Screenshots/VideosWebScreen.Recording.2023-02-15.at.9.36.22.PM.movMobile Web - ChromeScreen.Recording.2023-02-15.at.10.08.32.PM.movMobile Web - SafariScreen.Recording.2023-02-15.at.10.01.58.PM.movDesktopScreen.Recording.2023-02-15.at.9.41.36.PM.moviOSScreen.Recording.2023-02-15.at.9.57.06.PM.movAndroidScreen.Recording.2023-02-15.at.10.05.47.PM.mov |
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 and tests well!
All yours @neil-marcellini
👀 |
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.
Nice work, thanks so much! The changes test well.
I also tested what happens when another user's message causes the new message indicator to appear. When that user deletes their message the new message indicator correctly disappears for the other user. That flow is failing on main so it's another thing that was fixed.
@thesahindia Oh good find! Since that issue already exists on staging let's not worry about fixing it here. Please report that bug in #expensify-bugs if it's not a duplicate and we can solve it separately. |
✋ 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/neil-marcellini in version: 1.2.73-0 🚀
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.2.73-1 🚀
|
1 similar comment
🚀 Deployed to production by https://github.com/francoisl in version: 1.2.73-1 🚀
|
Details
Ensure that the newMarkerReportActionID is referring to a report action that actually exists. Otherwise recalculate a new marker position.
Fixed Issues
$ #14649
PROPOSAL: #14649 (comment)
Tests
Offline tests
n/a
QA Steps
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.Screenshots/Videos
Web
web.mp4
Mobile Web - Chrome
mweb-chrome.mp4
Mobile Web - Safari
mweb-safari.mp4
Desktop
desktop.mp4
iOS
ios.mp4
Android
android.mp4