fix: show Mark As Resolved as primary action - #74426
Conversation
|
@ZhenjaHorbach 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] |
|
@ZhenjaHorbach we have a follow up PR here |
|
About the regression #74273, after the admin marked it as resolved, we saved the violation App/src/hooks/useTransactionsAndViolationsForReport.ts Lines 24 to 25 in 4ec5f12
|
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
It makes sense! @francoisl |
joekaufmanexpensify
left a comment
There was a problem hiding this comment.
Looks good from a product perspective 👍
Looks like the backend code for dismissed violations has been changing a bit recently, so it's possible someone is already working on that. For now I'd say let's not block on this. There's a conflict in ReportPrimaryActionUtils.ts though, can we fix please? |
|
@francoisl i resolved |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp2025-10-30.10.00.08.movAndroid: mWeb Chrome2025-10-30.09.57.35.moviOS: HybridApp2025-10-30.09.55.31.moviOS: mWeb Safari2025-10-30.09.47.54.movMacOS: Chrome / Safari2025-10-30.09.44.31.movMacOS: Desktop2025-10-30.09.44.31.mov |
|
LGTM! |
|
@francoisl looks like this was merged without a test passing. Please add a note explaining why this was done and remove the |
|
Hmm sounds like a false alarm, tests were passing. |
|
✋ 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/francoisl in version: 9.2.58-0 🚀
|
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.2.58-3 🚀
|


Explanation of Change
After rejecting expense, Mark as resolved button will be shown as the primary button in the single expense report view and hide Submit button in more menu
Fixed Issues
$ #72393
PROPOSAL: #72393 (comment)
Tests
Offline tests
QA Steps
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))npm run compress-svg)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
Screen.Recording.2025-10-21.at.01.04.49.mov
Android: mWeb Chrome
Screen.Recording.2025-10-21.at.01.05.42.mov
iOS: Native
Screen.Recording.2025-10-21.at.01.22.59.mov
iOS: mWeb Safari
Screen.Recording.2025-10-21.at.01.23.28.mov
MacOS: Chrome / Safari
Screen.Recording.2025-10-21.at.01.24.13.mov
MacOS: Desktop
Screen.Recording.2025-10-21.at.01.25.04.mov