-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vite + Upgrade arcgis to 4.30 + esri-loader => @arcgis/loader (#691)
* Remove popup header from map popups * Update css and fix popups * Fix Protected areas modal in Future places AOI * Use new popup methods to open and close * Remove extra padding on popups * Fix eternal loading in WDPAs with no data * Move from react-app-rewired to vite * Move to @arcgis/core. Import scss variables as css variables. Make build work * Fix colors import. Rename yarn start to yarn dev. Put back Onboarding Tooltip * Remove extra parenthesis * Remove unneded dependencies and update documentation. Use build as build directory * Fix build * Remove node:sass * Update vite config * Update react and fix vite config * Use dist directory as build and change it in temporary vercel.json * Fix map not loading at first and landing scene * Update public links URL * yarn lock update * Fix race conditions with registered redux modules * React import on each file is not needed anymore in React 17 * Remove outdated comment * Remove unused export colors * Compress images
- Loading branch information
1 parent
4098276
commit 05de2ad
Showing
281 changed files
with
2,480 additions
and
8,411 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
NODE_PATH= | ||
REACT_APP_DATA_GLOBE_SCENE_ID= | ||
REACT_APP_FEATURED_GLOBE_SCENE_ID= | ||
REACT_APP_ARGISJS_API_VERSION= | ||
REACT_APP_CONTENTFUL_SPACE_ID= | ||
REACT_APP_CONTENTFUL_TOKEN= | ||
REACT_APP_GA_MEASUREMENT_ID= | ||
REACT_APP_VERCEL_ENV=development | ||
VITE_APP_DATA_GLOBE_SCENE_ID= | ||
VITE_APP_FEATURED_GLOBE_SCENE_ID= | ||
VITE_APP_ARGISJS_API_VERSION= | ||
VITE_APP_CONTENTFUL_SPACE_ID= | ||
VITE_APP_CONTENTFUL_TOKEN= | ||
VITE_APP_GA_MEASUREMENT_ID= | ||
VITE_APP_VERCEL_ENV=development | ||
|
||
REACT_APP_TRANSIFEX_TOKEN= | ||
REACT_APP_TRANSIFEX_SECRET= | ||
VITE_APP_TRANSIFEX_TOKEN= | ||
VITE_APP_TRANSIFEX_SECRET= | ||
TRANSIFEX_TOKEN= | ||
TRANSIFEX_SECRET= | ||
|
||
SKIP_PREFLIGHT_CHECK= | ||
GENERATE_SOURCEMAP= | ||
|
||
REACT_APP_FEATURE_SPECIFIC_REGIONS_AOI= | ||
REACT_APP_FEATURE_ALLOWED_LANGUAGES=en,es,pt,fr | ||
VITE_APP_FEATURE_SPECIFIC_REGIONS_AOI= | ||
VITE_APP_FEATURE_ALLOWED_LANGUAGES=en,es,pt,fr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
|
||
# production | ||
/build | ||
/dist | ||
|
||
# local jekyll docs | ||
/_site | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<link rel="shortcut icon" href="/favicon.ico" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1, shrink-to-fit=no" /> | ||
<meta name="theme-color" content="#000000" /> | ||
<link rel="manifest" href="/manifest.json" /> | ||
<link rel="stylesheet" href="https://js.arcgis.com/4.30/esri/css/main.css"> | ||
<link rel="stylesheet" | ||
href="https://js.arcgis.com/4.30/esri/themes/light/main.css" /> | ||
<!-- Fonts --> | ||
<!-- ivipresto Adobe font --> | ||
<link href="https://use.typekit.net/yql8sej.css" rel="stylesheet"> | ||
|
||
<!-- Transifex --> | ||
<script type="text/javascript" | ||
src="https://cdn.jsdelivr.net/npm/@transifex/native/dist/browser.native.min.js"></script> | ||
|
||
<title>Half-Earth Project Map</title> | ||
</head> | ||
<body> | ||
<noscript>You need to enable JavaScript to run this app.</noscript> | ||
<div id="root"></div> | ||
<script type="module" src="/src/index.jsx"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.