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
3.47k stars 2.82k forks source link

[OldDot Rules Migration] Fix custom names, fix keys #48908

Closed BrtqKr closed 3 weeks ago

BrtqKr commented 1 month ago

Details

Added disable for the custom name section when report fields are disabled for the policy. Fixed the keys for some of the rule items

Fixed Issues

$ https://github.com/Expensify/App/issues/48879 $ https://github.com/Expensify/App/issues/48868 PROPOSAL:

Tests

  1. Go to Workspace settings > Rules.

  2. Enable Auto-pay approved reports.

  3. Click Auto-pay reports under.

  4. Enter the amount higher than 20k.

  5. Click Save.

  6. Verify that the error is being displayed correctly

  7. Go to Workspace settings > Rules.

  8. Enable Custom report names.

  9. Tap Custom name.

  10. Clear the field, enter anything, and save it.

  11. Try to scroll through the app.

  12. Verify that the app doesn't freeze

Offline tests

QA Steps

PR Author Checklist

Screenshots/Videos

Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
melvin-bot[bot] commented 1 month ago

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

WojtekBoman commented 1 month ago

Fix for this issue has been already pushed to this PR

shubham1206agra commented 1 month ago

@BrtqKr Please write the test here.

shubham1206agra commented 3 weeks ago

@BrtqKr Can you merge main please?

shubham1206agra commented 3 weeks ago

Reviewer Checklist

Screenshots/Videos

Android: Native
Android: mWeb Chrome https://github.com/user-attachments/assets/594e9e2e-9134-4cf9-bd3d-4f8d87f5ac40
iOS: Native https://github.com/user-attachments/assets/9fd27885-cc3f-4976-a512-5d002b3c7a2d
iOS: mWeb Safari https://github.com/user-attachments/assets/11a0e52d-bffe-443f-8bfc-db0f0bc58134
MacOS: Chrome / Safari https://github.com/user-attachments/assets/f77cde62-2c08-4a54-af28-b5929e623c41
MacOS: Desktop https://github.com/user-attachments/assets/4d48f9e5-36fa-4a3a-bb56-69bf769bd0fd
shubham1206agra commented 3 weeks ago

Only bug I noticed is that screen is scrolling on top on closing RHP.

https://github.com/user-attachments/assets/f77cde62-2c08-4a54-af28-b5929e623c41

marcaaron commented 3 weeks ago

Only bug I noticed is that screen is scrolling on top on closing RHP.

Huh that's really weird. I think we can't make it a polish item? I'd be surprised if it was related to these changes.

OSBotify commented 3 weeks ago

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

OSBotify commented 3 weeks ago

🚀 Deployed to staging by https://github.com/marcaaron in version: 9.0.38-0 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅
OSBotify commented 3 weeks ago

🚀 Deployed to production by https://github.com/grgia in version: 9.0.38-4 🚀

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