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

Stop automatically creating a workspace when landing on an invalid url #4852

Merged
merged 3 commits into from
Aug 26, 2021

Conversation

TomatoToaster
Copy link
Contributor

Details

We will stop creating a workspace when a user lands tries to access the workspace modal with an invalid policyID. Before when we had the Create Workspace modal, this was useful since the user could actively choose to create a workspace if the one they're accessing does not exist. Now, we are

Fixed Issues

https://github.com/Expensify/Expensify/issues/174834

Tests

Same as QA, done locally

QA Steps

  1. Go to staging.new.expensify.com/workspace/whatever/card
  2. Verify you see this error message in the screenshot and the workspace modal simply disappears.

Tested On

Only relevant on Web at the moment.

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

image

@TomatoToaster TomatoToaster requested a review from a team as a code owner August 26, 2021 15:03
@TomatoToaster TomatoToaster self-assigned this Aug 26, 2021
@MelvinBot MelvinBot requested review from HorusGoul and removed request for a team August 26, 2021 15:04
HorusGoul
HorusGoul previously approved these changes Aug 26, 2021
Copy link
Contributor

@HorusGoul HorusGoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! However, the linter is barking at you 😄

@TomatoToaster
Copy link
Contributor Author

Oops I forgot to remove the import. Silly silly. One sec.

@TomatoToaster
Copy link
Contributor Author

@HorusGoul, ready for another look! (had to also resolve some merge conflicts)

@HorusGoul HorusGoul merged commit ef99044 into main Aug 26, 2021
@HorusGoul HorusGoul deleted the amal-invalid-workspace-no-create branch August 26, 2021 18:17
@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.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging by @HorusGoul in version: 1.0.88-3 🚀

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

@OSBotify
Copy link
Contributor

OSBotify commented Sep 1, 2021

🚀 Deployed to production by @roryabraham in version: 1.0.90-2 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 failure ❌
🕸 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.

3 participants