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

[TS migration] Remove 'OptionsSelector' component #41077

Closed war-in closed 3 days ago

war-in commented 3 weeks ago

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/25125 PROPOSAL:

Tests

  1. Go to small room.
  2. Create split expense / submit expense.
  3. Provide amount (e.g. 100).
  4. Verify that values are displayed correctly.
  5. There should be some space between the Show more and Submit buttons (depending on the room size).
  6. Go to huge room (with at least 20 users) (crowded policy - #huge-room)
  7. Do all previous steps.
  8. Verify that the list is scrollable and clickable (values should update if someone is "unclicked").
  9. Create split expanse / submit expense and add scan with wrong file type (there should be warning Password-protected PDF is not supported)

Offline tests

QA Steps

  1. Go to small room.
  2. Create split expense / submit expense.
  3. Provide amount (e.g. 100).
  4. Verify that values are displayed correctly.
  5. There should be some space between the Show more and Submit buttons (depending on the room size).
  6. Go to huge room (with at least 20 users) (crowded policy - #huge-room)
  7. Do all previous steps.
  8. Verify that the list is scrollable and clickable (values should update if someone is "unclicked").
  9. Create split expanse / submit expense and add scan with wrong file type (there should be warning Password-protected PDF is not supported)

PR Author Checklist

Screenshots/Videos

Android: Native https://github.com/Expensify/App/assets/61014013/1109851c-ae1d-4e90-b08d-d4c8b97d2da2
Android: mWeb Chrome https://github.com/Expensify/App/assets/61014013/e986de25-9b24-40f9-abf0-76ad1641ee02
iOS: Native https://github.com/Expensify/App/assets/61014013/3a9c4fa6-04ea-4c88-8567-14142839bf4a
iOS: mWeb Safari https://github.com/Expensify/App/assets/61014013/72bd11c0-98a2-4301-b82f-72e113f74492
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/61014013/8d222309-d4bf-48cb-b938-9ea2314a4909
MacOS: Desktop https://github.com/Expensify/App/assets/61014013/4f5c8b80-4683-455e-927b-0eac100357be
war-in commented 2 weeks ago

While working on this and recording videos I've encountered a bug (it is present on the main branch too) The Password-protected PDF is not supported warning is not displayed on native apps (iOS and android).

https://github.com/Expensify/App/assets/61014013/d69471fb-e812-4ce7-9ab2-811e9a12d1cd

melvin-bot[bot] commented 1 week ago

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

s77rt commented 1 week ago
Screenshot 2024-05-06 at 6 12 01 PM
war-in commented 1 week ago

@s77rt I've added changes but it seems that MoneyRequestConfirmationList changed a lot from yesterday so I'm currently working on resolving the conflict 😓

s77rt commented 1 week ago

@war-in Can you please tag me once this is ready for another review

war-in commented 5 days ago

Yup, will re-request review and tag you!

war-in commented 5 days ago

@s77rt It should be ready for review now :)

war-in commented 5 days ago

It turned out that there was another PR doing the same thing :/ I'll merge it and leave only necessary changes

war-in commented 5 days ago

Done, it is ready for review now :)

s77rt commented 5 days ago

Reviewer Checklist

Screenshots/Videos

Android: Native android
Android: mWeb Chrome Networking issue
iOS: Native ios
iOS: mWeb Safari mweb-safari
MacOS: Chrome / Safari web
MacOS: Desktop desktop
s77rt commented 5 days ago

Can you please fix this styling bug, comparing to staging the user email is right next to the amount

Screenshot 2024-05-13 at 7 23 31 PM
war-in commented 4 days ago

@s77rt Fixed :)

image image
OSBotify commented 3 days 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.