fix: inline merchant field is not disabled for unreported per diem expense#91298
Conversation
|
@parasharrajat 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] |
|
To be reviewed by @ahmedGaber93 and @puneetlath since this is related to the regression from our previous PR. |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2026-05-21.at.6.19.03.PM.mov |
|
@puneetlath Minor fix — all yours! |
|
Puneet is OOO, asked on slack for taking over. |
|
@puneetlath Minor fix — all yours! |
|
🚧 @puneetlath has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/puneetlath in version: 9.4.8-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Help site review: no changes required. This PR is a narrow bug fix that disables inline editing of the Amount and Merchant fields for per diem expenses (both values are derived from the configured rate). It restores intended behavior rather than introducing new user-facing functionality. I reviewed the relevant
Adding per-diem-specific inline-edit restrictions would be inconsistent with the existing scope of these articles, so no draft PR was created. If you'd prefer the editability rules documented explicitly (for distance and per diem), let me know and I can draft that update. |
|
🚀 Deployed to staging by https://github.com/puneetlath in version: 9.4.8-0 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Help site review: a docs update is warranted, but I hit a push blocker. On a second pass I found a real gap in Edit Expenses. That article already documents field-level edit restrictions (e.g. "Amount (cash expenses only)") but doesn't mention that per diem Amount and Merchant are locked — which is exactly the behavior this PR enforces (both are derived from the workspace's per diem rate). I prepared the update, but I was unable to push the branch to create the draft PR. Blocker: Every push of
This is a GitHub server-side timeout (the bot token lacks the What needs to happen: retry the request later once the GitHub-side check recovers, or have someone with Proposed change to
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.4.8-3 🚀
|
Explanation of Change
Fixed Issues
$ #82534
$ #91136
PROPOSAL:
Tests
→ Merchant inline field is disabled for per diem expense - Expected.
Offline tests
Same as tests.
QA Steps
Same as tests.
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))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
Inline editing is only available on desktop (wide screen), so I didn’t add recordings for other platforms.
MacOS: Chrome / Safari
Web_91136.mp4