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

Redirect NewDot staging links in the same tab just like production links #5248

Merged
merged 4 commits into from
Sep 15, 2021

Conversation

TomatoToaster
Copy link
Contributor

@TomatoToaster TomatoToaster commented Sep 14, 2021

CC: @luacmartins @marcaaron @ctkochan22

Details

Follow up from this discussion on slack: https://expensify.slack.com/archives/C03TQ48KC/p1631576910170000

Related to this issue and testing it on staging
$ https://github.com/Expensify/Expensify/issues/176437

Tests

Same as Web QA done locally.

QA Steps

Send this exact message to yourself or any other user: testing https://staging.new.expensify.com/settings and verify that clicking on the hyper link opens the settings page in the same tab without opening a new page.

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

image
image

@TomatoToaster TomatoToaster requested a review from a team as a code owner September 14, 2021 16:12
@TomatoToaster TomatoToaster self-assigned this Sep 14, 2021
@MelvinBot MelvinBot requested review from HorusGoul and removed request for a team September 14, 2021 16:12
@TomatoToaster TomatoToaster changed the title Amal staging self direct Redirect NewDot staging links in the same tab just like production links Sep 14, 2021
marcaaron
marcaaron previously approved these changes Sep 14, 2021
@marcaaron
Copy link
Contributor

Looks good to me but there are conflicts.

src/CONST.js Outdated
@@ -132,6 +132,7 @@ const CONST = {
STAGING_SECURE_URL: 'https://staging-secure.expensify.com/',
NEWDOT: 'new.expensify.com',
NEW_EXPENSIFY_URL,
NEW_EXPENSIFY_URL_STAGING: 'https://staging.new.expensify.com',
Copy link
Contributor

Choose a reason for hiding this comment

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

NAB really small nitpick but we have STAGING_SECURE_URL and most of these URL constants ending in URL maybe we can make this STAGING_NEW_EXPENSIFY_URL for consistency?

@TomatoToaster
Copy link
Contributor Author

Resolved those conflicts and chose the better name.

@HorusGoul HorusGoul merged commit 9032d31 into main Sep 15, 2021
@HorusGoul HorusGoul deleted the amal-staging-self-direct branch September 15, 2021 08:52
@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.98-2 🚀

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

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @Jag96 in version: 1.0.99-4 🚀

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