Add https to webpack dev server#28422
Conversation
|
npm has a |
|
Hey, I noticed you changed some webpack configuration files. This can break production builds. Did you remember to run a production build locally to verify they still work? |
|
npm has a |
|
npm has a |
|
@rushatgabhane Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
|
I tested. I messaged you on slack |
|
@justinpersaud on web, this tested well However, the desktop build isn't working. I'll test more and provide more details. We also need to edit the CSP of dev OldDot here. I can make a PR for this one tomorrow morning |
|
Ok, let me know when you're satisfied with this then and I'll remove hold and do the announcement to contributors. |
This is blocking. @justinpersaud did your desktop build worked?
This is not blocking I gonna sleep now but I'll come back to this tomorrow morning |
|
the desktop build isn't working
|
|
@cristipaval Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
hayata-suenaga
left a comment
There was a problem hiding this comment.
@justinpersaud the PR is ready to be merged, would it be possible for you to post the announcement to the open source channel
thienlnam
left a comment
There was a problem hiding this comment.
Do we need to do anything for adhoc builds as well?
|
Long thread here https://expensify.slack.com/archives/C03TQ48KC/p1698343291525409 But we are changing the hostname to |
|
Retested with Works well. |
|
@justinpersaud Please see this Slack message |
This PR changes the URL used by the local NewDot dev server. This doesn't affect Ad Hoc builds. We currently don't have a good solution to test Hybrid Web on Ad Hoc builds. Ad Hoc builds will keep working for Chat functionalities. On Ad Hoc builds, you will just see a blank space for the portion where the iframe is supposed to occupy. |
hayata-suenaga
left a comment
There was a problem hiding this comment.
@akinwale confirmed that the PR works with dev.new.expensify.com
could you post a message to the #expensify-open-source channel and send an email to the engineering team about the upcoming changes?
and then we can merge the PR
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
Update: Check out the changes to readme if you're running into this: https://github.com/Expensify/App/pull/28422/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5 This PR broke local dev for me: |
|
@erquhart Have you performed these steps? https://expensify.slack.com/archives/C01GTK53T8Q/p1698686381655959 |
|
I did, found that and added a note to the top of my comment for others a bit ago. Thank you! |
|
🚀 Deployed to staging by https://github.com/justinpersaud in version: 1.3.94-0 🚀
|
1 similar comment
|
🚀 Deployed to staging by https://github.com/justinpersaud in version: 1.3.94-0 🚀
|
|
🚀 Deployed to production by https://github.com/Beamanator in version: 1.3.94-2 🚀
|
|
🚀 Deployed to staging by https://github.com/justinpersaud in version: 1.3.95-0 🚀
|
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.95-9 🚀
|
This was missed in commit ed9707a on Expensify#28422

Enables https on webpack dev server
Details
Enables https for local development
Before merging, we need to send out communication to #expensify-open-source and let them know as this will break their local devs until they setup the certificates.
After this PR is merged, merge this PR.
Fixed Issues
$ https://github.com/Expensify/Expensify/issues/320857
$
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
Mobile Web - Chrome
Mobile Web - Safari
Desktop
iOS
Android