Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
2.99k stars 2.5k forks source link

Fix receipt preview in confirmation page #40763

Closed dukenv0307 closed 1 week ago

dukenv0307 commented 3 weeks ago

Details

Fix receipt preview in confirmation page

Fixed Issues

$ https://github.com/Expensify/App/issues/34120 PROPOSAL: none

Tests

  1. Go to FAB > Scan
  2. Upload a long image
  3. Select any participant
  4. Verify that on the confirmation page the receipt thumbnail shows the top of the receipt
    • [x] Verify that no errors appear in the JS console

Offline tests

Same as above

QA Steps

  1. Go to FAB > Scan
  2. Upload a long image
  3. Select any participant
  4. Verify that on the confirmation page the receipt thumbnail shows the top of the receipt
    • [x] Verify that no errors appear in the JS console

PR Author Checklist

Screenshots/Videos

Android: Native https://github.com/Expensify/App/assets/129500732/6fa78d32-a5dc-42b6-beaf-3170532d019a
Android: mWeb Chrome https://github.com/Expensify/App/assets/129500732/48415d16-4f0f-4879-9a8c-91adb999d6c3
iOS: Native https://github.com/Expensify/App/assets/129500732/5e974e0b-4022-492a-a9bb-41885b77dc51
iOS: mWeb Safari https://github.com/Expensify/App/assets/129500732/ec0e1b42-039e-4176-a02b-7d2a7219910b
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/129500732/613ec3eb-ecef-4757-8675-4423109293fd
MacOS: Desktop https://github.com/Expensify/App/assets/129500732/8c141fa0-42bc-4a06-bf71-e64d0c087ff2
melvin-bot[bot] commented 3 weeks ago

@cubuspl42 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]

shawnborton commented 3 weeks ago

Looks pretty good from a design perspective.

dukenv0307 commented 2 weeks ago

@Santhosh-Sellavel Friendly bump.

Santhosh-Sellavel commented 2 weeks ago

Sorry got lost of tracking as this was not assigned to me/

Santhosh-Sellavel commented 2 weeks ago

Reviewer Checklist

Screenshots/Videos

Android: Native
Android: mWeb Chrome ![Screenshot_1714683609](https://github.com/Expensify/App/assets/85645967/0e4d8540-0777-437b-aae0-0c1564c6c3aa)
iOS: Native ![Simulator Screenshot - iPhone 15 Pro - 2024-05-03 at 02 27 50](https://github.com/Expensify/App/assets/85645967/7724e68d-5c56-4964-8d02-fc80055aa463)
iOS: mWeb Safari ![Simulator Screenshot - iPhone 15 Pro - 2024-05-03 at 02 33 23](https://github.com/Expensify/App/assets/85645967/b902e202-87d0-4fdc-b62a-fc6013b50ec2)
MacOS: Chrome / Safari Screenshot 2024-05-03 at 2 25 16 AM
MacOS: Desktop Screenshot 2024-05-03 at 2 34 12 AM
Beamanator commented 2 weeks ago

@dukenv0307 can you make those quick commend edits i suggested, then we can get this merged? 🙏

OSBotify commented 1 week ago

🚀 Deployed to production by https://github.com/marcaaron in version: 1.4.71-6 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅