Skip to content
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

Revert changes related to #7623 #8412

Merged
merged 1 commit into from
Mar 31, 2022
Merged

Conversation

marcaaron
Copy link
Contributor

@marcaaron marcaaron commented Mar 31, 2022

cc @luacmartins @thienlnam

Details

I'm CP'ing this to staging so we can fix the broken error boundary ASAP.

I don't know what we want to do about the original issue but having the error boundary work is 1000x more valuable than the issue and this has wasted valuable time.

Fixed Issues

Related to #7623

Tests

Apply this diff:

diff --git a/src/libs/Navigation/AppNavigator/AuthScreens.js b/src/libs/Navigation/AppNavigator/AuthScreens.js
index 944dcfa52..acb1752c9 100644
--- a/src/libs/Navigation/AppNavigator/AuthScreens.js
+++ b/src/libs/Navigation/AppNavigator/AuthScreens.js
@@ -127,6 +127,8 @@ class AuthScreens extends React.Component {
         BankAccounts.fetchFreePlanVerifiedBankAccount();
         BankAccounts.fetchUserWallet();

+        throw new Error('derp');
+
         // Load policies, maybe creating a new policy first.
         Linking.getInitialURL()
             .then((url) => {

Run app see that error boundary is triggered:

2022-03-31_08-49-05

@marcaaron marcaaron requested a review from a team as a code owner March 31, 2022 18:49
@marcaaron marcaaron self-assigned this Mar 31, 2022
@github-actions
Copy link
Contributor

⚠️ ⚠️ Heads up! This pull request has the CP Staging label. ⚠️ ⚠️
Merging it will cause it to be immediately deployed to staging, even if the open StagingDeployCash deploy checklist is locked.

@melvin-bot melvin-bot bot requested review from amyevans and removed request for a team March 31, 2022 18:49
@luacmartins luacmartins merged commit 56a4f5a into main Mar 31, 2022
@luacmartins luacmartins deleted the marcaaron-revertRajatChanges branch March 31, 2022 18:54
OSBotify pushed a commit that referenced this pull request Mar 31, 2022
Revert changes related to #7623

(cherry picked from commit 56a4f5a)
OSBotify added a commit that referenced this pull request Mar 31, 2022
@OSBotify
Copy link
Contributor

🚀 Cherry-picked to staging by @luacmartins in version: 1.1.49-1 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

@OSBotify
Copy link
Contributor

OSBotify commented Apr 5, 2022

🚀 Deployed to production by @roryabraham in version: 1.1.49-1 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants