[CP Staging] Update drafts syntax#68480
Conversation
|
@linhvovan29546 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] |
|
@linhvovan29546 the |
linhvovan29546
left a comment
There was a problem hiding this comment.
@luacmartins I did a quick check and this looks good to me. I just left a minor comment.
|
Could you also please create an issue in the |
|
BUG: The app crashes when typing
Screen.Recording.2025-08-22.at.08.37.49.mov |
|
NAB: I'm unsure if this is intended behavior or a bug. If I type Screen.Recording.2025-08-22.at.08.51.20.mov |
|
@linhvovan29546 this bug is also present for other invalid statuses and in production. This is being addressed as part of this issue #68674 This one is expected #68480 (comment) |
|
Actually for the crash, I decided to just include a fix on this PR since it's simple enough |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2025-08-23.at.16.26.12.movAndroid: mWeb ChromeScreen.Recording.2025-08-23.at.16.29.50.moviOS: HybridAppScreen.Recording.2025-08-23.at.16.12.41.moviOS: mWeb SafariScreen.Recording.2025-08-23.at.16.19.45.movMacOS: Chrome / SafariScreen.Recording.2025-08-23.at.16.02.01.movMacOS: DesktopScreen.Recording.2025-08-23.at.16.35.40.mov |
|
I'll complete check list today! |
linhvovan29546
left a comment
There was a problem hiding this comment.
LGTM!
NAB: @luacmartins You forgot to select a checkbox in the description
|
@srikarparsi 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] |
|
🎯 @linhvovan29546, thanks for reviewing and testing this PR! 🎉 An E/App issue has been created to issue payment here: #69099. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Update drafts syntax (cherry picked from commit 5505a57) (cherry-picked to staging by luacmartins)
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.1.98-8 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.1.98-10 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.98-12 🚀
|
|
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 9.1.99-0 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
|
🚀 Deployed to production by https://github.com/thienlnam in version: 9.1.99-11 🚀
|
| ...CONST.SEARCH.STATUS.TASK, | ||
| }); | ||
| } | ||
| return suggestedStatuses.map((value) => getUserFriendlyValue(value)); |
There was a problem hiding this comment.
Coming from #75908 checklist we should filter out empty suggested item (ALL option)
Explanation of Change
Updates the
Draftssyntax toDraftto be consistent with other statuses.Fixed Issues
$ https://github.com/Expensify/Expensify/issues/535345
$ #69037
Tests
Pre-condition: an account with unsubmitted reports
status:draftas the suggestion, instead ofdraftsdraftis highlightedStatusasDraftOffline tests
N/A
QA Steps
Same as tests
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand 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
Screen.Recording.2025-08-21.at.4.55.57.PM.mov
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop