-
Notifications
You must be signed in to change notification settings - Fork 13
Conversation
2d6689a
to
b8eed3e
Compare
b8eed3e
to
065a5f7
Compare
Setting this up! |
I was able to reproduce this problem in development and it's happening in both Chrome and Firefox. Everything else is working. I think it probably makes sense to try to fix the map styling problem here if that's possible rather than making a new issue for it, since it was working prior to the upgrade and it potentially hinders continued continued development until it's remedied. |
Thanks for confirming it's real. Taking a look now. |
6c084d0
to
da8ea7e
Compare
The styling issue seems to be a bug in react-scripts 2.1.4 and 2.1.5: facebook/create-react-app#6399. Seems to have been fixed, will be released in 2.1.6, but in the interim the recommended solution is to downgrade to 2.1.3. I'm downgrading now. |
0240909
to
cd65bf2
Compare
Cool, I think this works correctly now. Ready for another look. |
Heads up that there's a merge conflict -- I made some changes to package.json in #237 |
cd65bf2
to
b6f1ca8
Compare
Rebased on |
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.
👍
Oh wait, just one quick comment: json2csv is no longer used in the app, so consider removing before merging. |
This more recent version of react-scripts includes securty updates, but also requires newer versions of eslint, as well as the new browserslist key in package.json, which are currently filled with default values. The very latest version of react-script, 2.1.5, has a bug that causes styles to not load correctly in the development envrionment facebook/create-react-app#6399, so we use the most recent version without that bug, namely 2.1.3.
With the eslint upgrades come new eslint rules, but we don't have the bandwidth to correct the 213 reported errors. Thus, these new rules are disabled for the next few days, after which we hope to find the time to return, reverse this commit, and fix the lint issues.
This isn't used anywhere anymore.
b6f1ca8
to
4880483
Compare
Overview
Updates react-scripts to improve infrastructure and ensure security with the latest version. Also updates eslint, which is a requirement of the new version of react-scripts we're now on. Also adds a
browserslist
item topackage.json
, another requirement.Connects #236
Notes
The eslint upgrade introduced a number of failures:
These errors will be fixed in #251.
Testing Instructions
update
server
and go to :6543/. Ensure things work correctly.There is a minor issue on my machine where the map won't render full-height until the window is resized. If this is replicated, we can make an issue for that. This only happens in dev-server, not in the production build.This was due to FOUC - JS chunks rendered before CSS has loaded, on development, references blobs instead of inline style facebook/create-react-app#6399. Got around this for now by using 2.1.3 instead of the latest 2.1.5.cibuild
and go to :8081/. Ensure things work correctly.