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

Fix infinite spinner when signing into an account after signing out #3535

Merged
merged 3 commits into from
Jun 11, 2021

Conversation

alex-mechler
Copy link
Contributor

@alex-mechler alex-mechler commented Jun 10, 2021

cc @Julesssss @marcaaron

Details

Moves the DeleteLogin call to be before we clear the auth token, ensuring that we do not make a network request without an auth token.

** This does introduce a new bug, where we drop the user into /r/ after signing in and out. We have decided that this should not block the release. **

Fixed Issues

Fixes #3488

Tests / QA Steps

  1. Sign into an account
  2. Sign out of the account
  3. Verify you can sign into a different account
    • you will be dropped into /r/, and not a chat. This is a different issue which we have decided to live with for now to not block release

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

image

Mobile Web

image

Desktop

image

iOS

image

Android

image

@marcaaron marcaaron self-requested a review June 11, 2021 19:32
@alex-mechler alex-mechler marked this pull request as ready for review June 11, 2021 19:36
@alex-mechler alex-mechler requested a review from a team as a code owner June 11, 2021 19:36
@MelvinBot MelvinBot requested review from MonilBhavsar and removed request for a team June 11, 2021 19:36
@alex-mechler
Copy link
Contributor Author

Ready for review, follow up issue here. @marcaaron This solves a deploy blocker, so a quick review would be great if you can!

@marcaaron marcaaron merged commit fad0d88 into main Jun 11, 2021
@marcaaron marcaaron deleted the amechler-fix-signout branch June 11, 2021 20:02
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@aliabbasmalik8
Copy link
Contributor

This issue still produces on the latest main branch.
VIDEO: http://recordit.co/vO2GdLgryh

@alex-mechler
Copy link
Contributor Author

@aliabbasmalik8 Did you npm i? there was a change that had to be made in onyx that fixed that behavior

@aliabbasmalik8
Copy link
Contributor

Okay, Got it. let me check

@aliabbasmalik8
Copy link
Contributor

aliabbasmalik8 commented Jun 11, 2021

@alex-mechler No, it did not produce after run npm i.
it's working fine

@roryabraham
Copy link
Contributor

I am going to manually CP this to staging. P.S. if you want to CP a PR to staging the easiest/default way of doing that is by adding the CP Staging label before it's merged 😁

github-actions bot pushed a commit that referenced this pull request Jun 11, 2021
Fix infinite spinner when signing into an account after signing out

(cherry picked from commit fad0d88)
@OSBotify
Copy link
Contributor

🚀 Cherry-picked to staging in version: 1.0.68-3🚀

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

@OSBotify
Copy link
Contributor

🚀 Deployed to production in version: 1.0.68-4🚀

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

@OSBotify
Copy link
Contributor

🚀 Deployed to staging in version: 1.0.68-5🚀

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

@OSBotify
Copy link
Contributor

🚀 Deployed to production in version: 1.0.73-3🚀

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

@isagoico
Copy link

@roryabraham Not sure why this PR was added to the staging checklist again. Looks like it was already deployed to production.

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.

Web/mWeb- Sign in - Endless loading spinner appears when re login
6 participants