-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "Connection Complete" page #40497
Conversation
@shawnborton @ishpaul777 One of you needs to 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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry I clicked a wrong button. I meant to ask if we're showing the connection completion screen on web as well ask desktop?
🧪🧪 Use the links below to test this adhoc build on Android, iOS, Desktop, and Web. Happy testing! 🧪🧪
|
Can't seem to login with the test builds above, but the screenshots look good to me at least! |
facing an issue with local testing. I messages Aldo 1:1 |
@shawnborton you should be able to see it by going here: https://40497.pr-testing.expensify.com/connection-complete |
No, the connection complete should only be visible when you start the flow from the Desktop App. If you start the flow from web, the tab will close automatically and won't have time to see it. |
Friendly bump @hayata-suenaga |
@hayata-suenaga is there something missing here to get this merged? |
sorry was trying to test locally, but ad hoc is working correctly. I'll approve the PR now. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeScreen.Recording.2024-04-30.at.6.54.48.PM.moviOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
I was still testing on Desktop (my bad I shouldn't have approved and checked the boxes before testing is complete 😓 ) I believe the PR is working, but I was wondering how you ran web and desktop local build at the same time? Desktop build seems to be erroring whenever I ran it along with web 🤔 This is the screen recording (at the last part, you can see some issues I faced with webpack) https://drive.google.com/file/d/1Cq2L6iFD-AxN8p45zbyC_XxOvS8YhyIt/view?usp=sharing |
🚀 Deployed to staging by https://github.com/aldo-expensify in version: 1.4.69-0 🚀
|
I tested the following and didn't see errors:
Did you do something different? |
let me try one more time |
I pulled the main and tested now the changes from this PR were merged. I still see the same issue
I think this is the different step. I didn't log into web new Expensify in advance to connecting to QBO. Let me try again |
maybe a dumb question, but you are running It looks like some misconfiguration in your dev env though |
🚀 Deployed to production by https://github.com/Beamanator in version: 1.4.69-2 🚀
|
I tried both: not running and running both didn't work |
hmm maybe you can show me in a google meet what you are doing, I have no idea what the problem may be. |
Iet's proritize QBO lease first and then we can circle back to this. thank you so much for offering help |
@@ -390,6 +391,11 @@ function AuthScreens({session, lastOpenedPublicRoomID, initialLastUpdateIDApplie | |||
getComponent={loadReceiptView} | |||
listeners={modalScreenListeners} | |||
/> | |||
<RootStack.Screen | |||
name={SCREENS.CONNECTION_COMPLETE} | |||
options={defaultScreenOptions} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We forgot to remove the route from pages we can deeplink and incorrect options lead to #49342
Can be tested with: https://github.com/Expensify/Web-Expensify/pull/41719
When the QBO authorization flow starts from the desktop app, we can't close the tab we opened. In this case, we want to show the user this new page so they manually go back to the Desktop app:
Details
Fixed Issues
$ #40365
PROPOSAL:
Tests
For testing just the page being added directly:
For testing the FULL flow, you need https://github.com/Expensify/Web-Expensify/pull/41719, then follow the steps below:
In Web/IOS/Android:
Accounting
inMore Features
Accounting
and start the flow to connect to QBOIn Desktop:
Accounting
inMore Features
Accounting
and start the flow to connect to QBOOffline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps./** comment above it */
this
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop