-
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
Sort to ensure the CREATED
action is always on top
#51023
Sort to ensure the CREATED
action is always on top
#51023
Conversation
@dukenv0307 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] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-21.at.10.09.10.movAndroid: mWeb ChromeScreen.Recording.2024-10-21.at.10.13.51.moviOS: NativeScreen.Recording.2024-10-21.at.10.09.32.moviOS: mWeb SafariScreen.Recording.2024-10-21.at.10.12.04.movMacOS: Chrome / SafariScreen.Recording.2024-10-21.at.09.59.36.movMacOS: DesktopScreen.Recording.2024-10-21.at.10.16.49.mov |
LGTM |
✋ 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/stitesExpensify in version: 9.0.52-0 🚀
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.52-5 🚀
|
Details
At present, the
getSortedReportActions
function does not ensure that theCREATED
action always comes first. This can cause other messages to appear before theCREATED
action. This PR fixes it.Fixed Issues
$ #47895
PROPOSAL: #47895 (comment)
Tests
to
ReportScreen
file.2. Logon on ND.
3. Go to any report (say, self DM).
4. Verify that no messages are shown before the
CREATED
action.Offline tests
NA
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 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
createdAndroid.mp4
Android: mWeb Chrome
createdAndroidmWeb.mp4
iOS: Native
creatediOS.mp4
iOS: mWeb Safari
creatediOSmWeb.mp4
MacOS: Chrome / Safari
createdChrome.mp4
MacOS: Desktop
createdDesktop.mp4