Skip to content

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

Merged
HorusGoul merged 4 commits into
mainfrom
amal-staging-self-direct
Sep 15, 2021
Merged

HorusGoul merged 4 commits into
mainfrom
amal-staging-self-direct

Conversation

@TomatoToaster

@TomatoToaster TomatoToaster commented Sep 14, 2021 •

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

Looks good to me but there are conflicts.

Comment thread src/CONST.js Outdated
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 OSBotify mentioned this pull request Sep 15, 2021
27 tasks done
@OSBotify

Copy link
Copy Markdown
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
Copy Markdown
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