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.34k stars 2.77k forks source link

Update QBO/Xero connection to use standard external link pattern #48720

Open joekaufmanexpensify opened 1 week ago

joekaufmanexpensify commented 1 week ago

Problem

Coming from here, the QBO/Xero connection flows don't use the standard external linking pattern we recently decided on. This hinders a consistent product experience to the customer throughout the application.

Solution

Update the QBO/Xero connection UI use the new standard external linking pattern. This means instead of linking out to a new browser tab to connect to QBO/Xero, we'll open the QBO/Xero connection as a new small-centered window overlaying New Expensify, and display a RHP page that tells you to check your browser window, and offers the opportunity to open another connection window (if the first one didn't open), similar to what we're planning with cards.

Here's an example of what we'd be trying to do with QBO/Xero:

image

Vs what we do now:

https://github.com/user-attachments/assets/ae09e05e-9599-4c86-a1ee-d91b0314d2ac

cc @Expensify/design @trjExpensify

joekaufmanexpensify commented 1 week ago

Leaving this in planning until we finish the card implementation. Will make this external then!

dubielzyk-expensify commented 1 week ago

Like this? image

Btw, this would only work on desktop right cause on mobile it has to open the link in the app of the external browser?

joekaufmanexpensify commented 1 week ago

Looks solid. Though I think we still want to show the RHP for consistency, no?

Btw, this would only work on desktop right cause on mobile it has to open the link in the app of the external browser?

Yep, this is only for web/desktop. We wouldn't change the behavior for mobile because we don't link out to the mobile browser or anything like that.

joekaufmanexpensify commented 1 week ago

There is actually a slight difference between what we were planning for cards on mobile and the accounting integration behavior here on mobile now. Discussing here.

dubielzyk-expensify commented 1 week ago

Updated mocks for desktop:

image

joekaufmanexpensify commented 1 week ago

Looks great to me!

dubielzyk-expensify commented 1 week ago

Sweet. Let me know if you need any changes down the line 👍