-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Config URL Cleanup #7662
Config URL Cleanup #7662
Conversation
@rushatgabhane @iwiznia, three quick questions:
|
I guess you can change the URLs there and test pointing to staging and prod?
I think that's perfect. Staging should point to staging and prod should point to prod. |
…/change-url-vars # Conflicts: # src/CONST/index.js
@iwiznia @rushatgabhane Will this go via QA? I am not sure what to add for screenshots for different variable changes and QA steps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mananjadhav looks good, just requesting a tiny change.
.env.production
Outdated
@@ -1,6 +1,6 @@ | |||
EXPENSIFY_URL_CASH=https://new.expensify.com/ | |||
NEW_EXPENSIFY_URL=https://new.expensify.com/ | |||
EXPENSIFY_URL_SECURE=https://secure.expensify.com/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's change it to SECURE_EXPENSIFY_URL
everywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UPDATED
I don't know. We need to make sure all URLs are used correctly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you can change the URLs there and test pointing to staging and prod?
This works as expected.
@iwiznia LGTM! 🎉️
@mananjadhav This chrome extension gets the job done for me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but holding merge on:
- The pending tests
- Since this is renaming some widely used variables, you should merge main into this branch right before we merge, to reduce the possibility of some other PR having added usages of the old variables
Merged latest |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
@mananjadhav @rushatgabhane @iwiznia Anything QA team need to run here ? |
@mananjadhav @rushatgabhane @iwiznia Bump on the above please, looks like QA doesn't need to do anything other than check there are overall no errors in the console, can you confirm please? |
We could add maybe general app loading and URL checks, but as these are just code cleanup QA can look at console errors. Keen on hearing from @rushatgabhane and @iwiznia |
I'm so sorry about this. |
I assumed it was no QA because most of it would be caught in regression testing, but if there are specific things to QA here, please let's add them. |
Updated |
Do we need an |
Are you asking if we change the title of PR? |
No, sorry to clarify... if we change the variable names for the environment variables that everyone who works on the codebase uses - then they might need to know about this change. They may have a bunch of pointless or undefined stuff in their local |
@marcaaron oh yeah, good call. Here are the renames that need to be made in a I've posted it on #expensify-open-source here
|
🚀 Deployed to production by @francoisl in version: 1.1.41-6 🚀
|
Details
Fixed Issues
$ #7489
Tests
.env
file changes load the correct environmentCORS origin from localhost:8080CORS origin from localhost:8080QA Steps
Check correct URL is picked
App Download
About -> App Download links
menumacOS
download link, and it should download the correct bundlePlaid Link
Payments -> Add Payment
menuTested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android