Set an initial value for draft comment collection#55411
Conversation
|
@allroundexperts 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] |
|
@allroundexperts Can you please prioritize this review? Thanks! |
|
Sure, will finish this today! |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2025-01-21.at.2.42.16.AM.movAndroid: mWeb ChromeScreen.Recording.2025-01-21.at.3.49.09.AM.moviOS: NativeHaving issues on iOS native iOS: mWeb SafariScreen.Recording.2025-01-21.at.2.29.54.AM.movMacOS: Chrome / SafariScreen.Recording.2025-01-21.at.2.25.44.AM.movMacOS: DesktopScreen.Recording.2025-01-21.at.2.28.17.AM.mov |
|
@mountiny is something else needed here? |
mountiny
left a comment
There was a problem hiding this comment.
All good! Was ooo yesterday. Thanka everyone
|
✋ 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/mountiny in version: 9.0.89-0 🚀
|
|
🚀 Deployed to production by https://github.com/yuwenmemon in version: 9.0.89-8 🚀
|
Explanation of Change
It set an initial value waiting for the value broadcasting from Onyx, so it rerenders the LHN.
Fixed Issues
$ #55254
PROPOSAL: #55254 (comment)
Tests
Verify that no errors appear in the JS console
Go into a chat write a message and don't send it
In the LHN the report should be above the non archived reports
Go into a chat write a message and don't send it
Close the app (Android/iOS) or refresh (web)
The draft report should be at the same place as before closing the app
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
lhn_draft_android.mp4
Android: mWeb Chrome
iOS: Native
lhn_draft_ios.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
lhn_draft_safari.mp4
lhn_draft_chrome.mp4
MacOS: Desktop
lhn_draft_desktop.mp4