Hide crop/rotate buttons for individual odometer images#85457
Hide crop/rotate buttons for individual odometer images#85457
Conversation
The crop and rotate functionality doesn't properly handle individual odometer images (start/end photos) — it saves to transaction.receipt instead of transaction.comment.odometerStartImage/odometerEndImage. Until that's properly implemented, hide the buttons for odometer images. Co-authored-by: Jules <Julesssss@users.noreply.github.com>
|
🚧 @Julesssss 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! 🧪🧪
|
|
@situchan @Julesssss One of you needs to 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] |
|
Seeking C+ manually |
|
I can review since I am assigned |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppiOS: mWeb Safari |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
|
We had a fix here I think we should close this PR |
JmillsExpensify
left a comment
There was a problem hiding this comment.
@Julesssss I don't get it. Why are we disabling these controls for odometer receipts?
|
@JmillsExpensify Hi! From what I understand Jules simply wanted to take care of it as fast as possible as pointed out in the comment here #85365 (comment), so because of that we would just hide those buttons so that users have no access to flawed controls and then fix them later. But as @DylanDylann has just said the PR actually fixing those controls is already in review here #85438 so in the end we won't be hiding them |
|
Ok cool, thanks for the clarification! |
|
Yeah this wasn't a requirement but a nice to have, and removing them was going to speed up the release. Anyway, thanks for the real fix @jakubkalinski0 |
|
@situchan thanks, I'll add you to the issue for review payment regardless. |
|
Fixed elsewhere |


Explanation of Change
The crop and rotate functionality doesn't work properly for the Distance Expense: Odometer feature. This is not a requirement and not necessary so we are simply disabling these buttons for the odometer flow.
Fixed Issues
$ #85365
Tests
Melvin completed UII testing here.
I verified on Android here:
Offline tests
N/A — this is a UI visibility change; no network interaction involved.
QA Steps
Same as tests above.
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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari