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

[Wave Collect] [Xero] [Export Flow] Create the Preferred exporter select page #41641

Closed hungvu193 closed 1 week ago

hungvu193 commented 2 weeks ago

Details

Create the Preferred exporter select page

Fixed Issues

$ https://github.com/Expensify/App/issues/39742 PROPOSAL: N/A

Tests

Precondition: User connected to Xero

  1. Go to Workspace => Accounting
  2. Choose Export => Preferred Exporter, click on the MenuItem
  3. Try to update the preferred exporter email few times.
  4. Verify that it's updated correctly.
    • [x] Verify that no errors appear in the JS console

Offline tests

Same as Tests.

QA Steps

Same as Tests.

PR Author Checklist

Screenshots/Videos

Android: Native https://github.com/Expensify/App/assets/16502320/11c5eb54-f44a-4402-afc5-6ea0f21f7378
Android: mWeb Chrome https://github.com/Expensify/App/assets/16502320/12693b32-8eda-4cf6-b543-28c42465f0e4
iOS: Native https://github.com/Expensify/App/assets/16502320/47a87a0d-85bf-463b-89a2-323fd1bec20f
iOS: mWeb Safari https://github.com/Expensify/App/assets/16502320/580d7ade-952c-46b9-8726-c746b59f6b5f
MacOS: Chrome / Safari https://github.com/Expensify/App/assets/16502320/d12046d5-4c1e-4e91-b870-d7be9e28ad8f
MacOS: Desktop https://github.com/Expensify/App/assets/16502320/25796372-227c-4194-a48a-325ee78f5aa3
hungvu193 commented 2 weeks ago

Hold for https://github.com/Expensify/App/pull/41554

mananjadhav commented 2 weeks ago

This should be blocked for Invoice Account Selector PR as well right? I can see changes that I just reviewed.

hungvu193 commented 1 week ago

This PR is not ready yet. Please wait until I mark it as ready πŸ˜„

mananjadhav commented 1 week ago

Ohh πŸ˜„. I stumbled upon this one.

hungvu193 commented 1 week ago

Hold for #41554

Still being held but almost ready!

melvin-bot[bot] commented 1 week ago

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

mananjadhav commented 1 week ago

Reviewer Checklist

Screenshots/Videos

Android: Native **Revised** https://github.com/Expensify/App/assets/3069065/26bc3dff-6e2a-4a7e-b301-d92bf138d6f0 **Old** https://github.com/Expensify/App/assets/3069065/a60afa0c-224a-4a6e-a42c-9444e10d304d
Android: mWeb Chrome **Revised** https://github.com/Expensify/App/assets/3069065/2409afbb-6373-4919-95d8-06869e5a76db **Old** https://github.com/Expensify/App/assets/3069065/8dbf6cc0-1d5b-41a8-a9ee-cda714ede6af
iOS: Native **Revised** https://github.com/Expensify/App/assets/3069065/bd7164e7-fb70-4a9a-85c7-1704b3b17bc2 **Old** https://github.com/Expensify/App/assets/3069065/65c1312c-ba9c-480c-8d52-21d63e1b7c39
iOS: mWeb Safari **Revised** https://github.com/Expensify/App/assets/3069065/fb1b1a64-469d-4d92-b55c-9486598585d0 **Old** https://github.com/Expensify/App/assets/3069065/459fac12-edce-44c3-9c27-6fa0a9eb8811
MacOS: Chrome / Safari **Revised** https://github.com/Expensify/App/assets/3069065/7a2d25b7-d9f0-44ce-aff9-8781975ed605 **Old** https://github.com/Expensify/App/assets/3069065/4494b3a0-f146-402a-bd50-e60cca4ef0d5
MacOS: Desktop **Revised** https://github.com/Expensify/App/assets/3069065/9ed352d5-a925-47a7-940f-fce3dfef3eef **Old** https://github.com/Expensify/App/assets/3069065/b2e8e97b-ed94-497c-a4f8-4882bec3e61e
melvin-bot[bot] commented 1 week ago

We did not find an internal engineer to review this PR, trying to assign a random engineer to #39742 as well as to this PR... Please reach out for help on Slack if no one gets assigned!

mananjadhav commented 1 week ago

Tagging @Expensify/design. I wanted to also confirm if it's the only email in the list do we need to navigate twice?

dannymcclain commented 1 week ago

Thanks for bringing this upβ€”no, we do not want to do the double-navigate thing you're showing. The second screen should more closely follow what we do for language select (for example). That would give us something like this: CleanShot 2024-05-07 at 16 39 20@2x

Where we have the push input on the first screen, and then the immediate screen after that is the list with the explainer text.

trjExpensify commented 1 week ago

Thanks for bringing this upβ€”no, we do not want to do the double-navigate thing you're showing. The second screen should more closely follow what we do for language select (for example). That would give us something like this: CleanShot 2024-05-07 at 16 39 20@2x

Where we have the push input on the first screen, and then the immediate screen after that is the list with the explainer text.

Huge +1.

dubielzyk-expensify commented 1 week ago

Exactly. Thanks for clarifying, @dannymcclain . I assume this is reflected in the Figma file? If not, let's update it

hungvu193 commented 1 week ago

I did it like the docs: https://docs.google.com/document/d/1VEIzxwNzedLNestAFVT5InGvD4N6FHb0922xjMGOkko/edit#heading=h.fbu7ml85rrhl Can we update the docs?

shawnborton commented 1 week ago

Big agree with where you landed Danny.

hungvu193 commented 1 week ago

Cool. Let's me update it then.

hungvu193 commented 1 week ago

Updated!

https://github.com/Expensify/App/assets/16502320/9f544b6b-3444-4cc8-a0ba-7e9d4239fabb

lakchote commented 1 week ago

cc @Expensify/design does that look good to you too now?

dubielzyk-expensify commented 1 week ago

That looks right to me!

mananjadhav commented 1 week ago

@lakchote @hungvu193 I've raised another question related to pendingFields.

hungvu193 commented 1 week ago

@lakchote This will be ready for your final review πŸ‘€

lakchote commented 1 week ago

@lakchote This will be ready for your final review πŸ‘€

Approved, conflicts to be solved and then I'll merge it @hungvu193 πŸ‘

hungvu193 commented 1 week ago

Cool! I've resolved the conflicts

hungvu193 commented 1 week ago

I've fixed the lint as well, this will be ready to merge πŸ˜„

OSBotify commented 3 days ago

πŸš€ Deployed to staging by https://github.com/lakchote in version: 1.4.74-0 πŸš€

platform result
πŸ€– android πŸ€– success βœ…
πŸ–₯ desktop πŸ–₯ success βœ…
🍎 iOS 🍎 success βœ…
πŸ•Έ web πŸ•Έ success βœ