Repository navigation
[CP Staging] Revert #96772: failed SmartScan amount handling - #98790
Conversation
|
drafting b/c @arosiclair will look into these |
|
🚧 Beamanator has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
…070997108-1 🍒 Cherry pick PR #98790 to staging 🍒
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.4.54-4 🚀
|
|
🤖 No help site changes required. This PR reverts #96772, which introduced an internal UI display detail for failed SmartScans — showing a blank amount placeholder ( I reviewed the diff against
That guidance (failed scan → message listing missing fields → enter details manually / replace receipt) holds true both before and after this revert, so no article needs updating and no draft docs PR is warranted. @Beamanator, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.4.54-4 🚀
Bundle Size Analysis (Sentry): |
|
🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.4.55-0 🚀
|
|
🤖 Still no help site changes required — reconfirming my earlier analysis. This PR reverts #96772, whose only user-visible effect was an internal UI display detail for failed SmartScans (blank amount placeholder + "enter amount" error/edit handling). Nothing in @Beamanator, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
🚀 Deployed to production by https://github.com/Beamanator in version: 9.4.55-4 🚀
Bundle Size Analysis (Sentry): |
Summary
This reverts PR #96772, which introduced failed-SmartScan placeholder amount handling across the expense confirmation flow, expense details, inline amount editing, amount submission, previews, and transaction utilities.
The revert is needed to unblock the linked deploy blockers:
The inverse was applied against current
main(12b0038e), not the original merge base. One conflict insrc/libs/TransactionUtils/index.tswas resolved by preserving the later scan-failed payment-flow helpers while removing only the behavior introduced by #96772.Validation
tsgois blocked by an unrelated existing error intests/unit/hooks/useDiscardChangesConfirmationNative.test.ts:HardwareBackPressEventis not exported by the installed React Native module.