Repository navigation
[Payment due @situchan] Show OAuth connection errors - #100019
Conversation
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3b22053970
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Addresses review comment: #100019 (comment)
Addresses review comments: #100019 (comment) #100019 (comment) #100019 (comment) #100019 (comment)
Addresses review comment: #100019 (comment)
Addresses review comments: #100019 (comment), #100019 (comment)
|
@MelvinBot can you fix the Eslint check? |
…ESLint Co-authored-by: Maxence Coulibaly <madmax330@users.noreply.github.com>
|
Fixed and pushed — the ESLint check was failing on
AI tests run locally
Oxfmt formatting was verified against the repo's The two other red checks — |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppAndroid: mWeb ChromeiOS: HybridAppios.moviOS: mWeb SafariMacOS: Chrome / Safariweb.mov |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 98f5c7d61a
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
This comment has been minimized.
This comment has been minimized.
|
All cool let me know when you've handled the AI review comments and this is clear for my review. |
Addresses review comments: #100019 (comment) and #100019 (comment)
|
Addressing the OAuth error findings in #5631187219 and #5631416532: fixed in -- AI Maxence |
|
@MelvinBot can you review this PR again? |
This comment has been minimized.
This comment has been minimized.
Addresses review comment: #100019 (comment)
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Addresses review comment: #100019 (comment)
This comment has been minimized.
This comment has been minimized.
|
@MelvinBot can you review again? |
|
🤖 Code review — head Looks good to merge from my side. Both new commits do what they say, and I found no new regressions. All checks pass except What's fixed
One optional nit
Still open from earlier reviews (out of scope or pre-existing)
I reviewed the code only. I did not run the OAuth flows in a browser, because they need real bank credentials on staging. |
|
🤖 Regression hunt — head No new regressions found. I re-checked the full diff against Still worth a manual check (backend timing)
Checked and cleared at this head
I reviewed the code only. Earlier web runs on this PR couldn't get past the account-validation code, and the error states need a real bank rejection from the backend. |
|
@chiragsalian we're ready now |
QA can't do steps 1-3. Did you mean for them to QA 4-6? I'll approve this so its not held on me but please clean up the QA steps and then merge the PR. |
|
🚧 madmax330 has triggered a test Expensify/App build. You can view the workflow run here. |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/madmax330 in version: 9.5.1-0 🚀
|
|
Hi @madmax330. Just to confirm, does this PR need to be checked on prod or stg? |
|
No help site update is needed. This PR only shows the bank's own error message on the existing card connection error screens. In-app error messages explain themselves, and no article sentence becomes incorrect. |
We have no productionQA label on App so @madmax330 can you please make sure this is tested on prod once deployed |
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.5.1-9 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Payment issue created: #102950 |
Explanation of Change
The OAuth callback backend supplies a provider-safe connection failure message, but the bank-connection screens only used the error bags as booleans and always rendered generic copy. This change displays the backend message for personal and company-card flows on web and native, while retaining the existing recovery guidance. Company-card errors are cleared before acknowledgement or retry so stale failures do not block another connection attempt.
Depends on https://github.com/Expensify/Web-Expensify/pull/55792
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/675115
PROPOSAL:
Tests
npm run typecheck.npm run react-compiler-compliance-check check-changed.npm run spell-changed -- <changed files>.Offline tests
QA Steps
Needs to be ProdQA
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components using that component are working as expected)mainbranch was merged into this PR after a review, I tested again and verified the expected outcome.Screenshots/Videos
Android: Native
Not captured; OAuth bank callbacks require staging credentials.
Android: mWeb Chrome
Not captured; OAuth bank callbacks require staging credentials.
iOS: Native
Not captured; OAuth bank callbacks require staging credentials.
iOS: mWeb Safari
Not captured; OAuth bank callbacks require staging credentials.
MacOS: Chrome / Safari
Not captured; OAuth bank callbacks require staging credentials.