Skip to content
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

7.20.4 #3628

Merged
merged 48 commits into from
Aug 22, 2024
Merged

7.20.4 #3628

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
9b7acfe
Added variable height for Admin neighborhood completion histogram and…
nschung28 Jun 27, 2024
0685b86
Merge branch 'develop' of https://github.com/ProjectSidewalk/Sidewalk…
misaugstad Jun 28, 2024
d357af2
Merge branch 'develop' of https://github.com/ProjectSidewalk/Sidewalk…
nschung28 Jul 2, 2024
f730070
Changed angle of labels to be -45 degrees, adjusted size of the chart…
nschung28 Jul 2, 2024
3af36bf
Changed angle of labels to be -45 degrees, adjusted size of the chart…
nschung28 Jul 2, 2024
287a822
Merge branch '3565-admin-neighborhood-completion-histogram-variable-h…
nschung28 Jul 2, 2024
7badcc9
Changed angle of labels to be -45 degrees, adjusted size of the chart…
nschung28 Jul 2, 2024
006a4b0
update currSelected
cyrusnaficy Jul 26, 2024
f756139
Update email address in README
misaugstad Jul 29, 2024
0b121f0
adds s keyboard shortcut to submit validation in new UI
misaugstad Jul 29, 2024
6b122ef
Merge pull request #3603 from ProjectSidewalk/3596-validate-submit-sh…
misaugstad Jul 29, 2024
0c20bcc
fixes cursor on disabled undo button in new validate
misaugstad Jul 29, 2024
e3f3658
removes minimap from Validate
misaugstad Jul 29, 2024
e8775b4
updates zoom button style after removing Validate minimap
misaugstad Jul 29, 2024
d0861ac
Merge pull request #3604 from ProjectSidewalk/3593-validate-remove-mi…
misaugstad Jul 29, 2024
6e5bf0c
gallery view unresponsive fix
cyrusnaficy Jul 30, 2024
ec7ab6a
Merge branch 'develop' into 3314-gallery-view-unresponsive
cyrusnaficy Jul 30, 2024
b8e93cc
adds unsure reason options to new Validate beta
misaugstad Jul 30, 2024
4be0b04
Merge pull request #3601 from ProjectSidewalk/3314-gallery-view-unres…
misaugstad Jul 31, 2024
ffee31c
adds tooltip for an unsure validation reason
misaugstad Jul 31, 2024
bcf8fb9
changes text in unsure reason text box on validate
misaugstad Jul 31, 2024
4c3e66d
Merge pull request #3605 from ProjectSidewalk/3581-validate-beta-unsu…
misaugstad Jul 31, 2024
58d85b7
adds optional comment box for agree validations
misaugstad Aug 2, 2024
af85829
Merge pull request #3606 from ProjectSidewalk/3595-validate-add-open-…
misaugstad Aug 2, 2024
2cbaba8
Switch to instead of in google street view links.
jsomeara Aug 5, 2024
e10094f
adds remaining tag example images for Explore tooltip
misaugstad Aug 6, 2024
1f6a7ef
Merge pull request #3609 from ProjectSidewalk/2968-add-more-tag-examp…
misaugstad Aug 6, 2024
db7f442
Merge branch 'develop' into 3607-use-pano-param-in-street-view
jsomeara Aug 6, 2024
75707cf
Swap deprecated 'DOMNodeInserted' with Mutation Observer
jsomeara Aug 13, 2024
b773b91
upgrades wellknown-0.5.0.js to betterknown-1.0.4.js
misaugstad Aug 19, 2024
2009779
upgrades turf.js 6.5.0 -> 7.1.0, bug fixes simplifies code
misaugstad Aug 19, 2024
c34e5f8
upgrades moment.js 2.29.4 -> 2.30.1
misaugstad Aug 19, 2024
1ca5ab0
fixes turf.js file naming convention
misaugstad Aug 19, 2024
ad2d0f0
removes accidental lib addition
misaugstad Aug 19, 2024
96f9103
upgrades i18next 21.9.1 -> 23.14.0
misaugstad Aug 19, 2024
a5a36ad
upgrades mapbox.js 3.1.0 -> 3.6.0, mapbox-gl-language 1.0.0 -> 1.0.1
misaugstad Aug 20, 2024
fd0ba4e
Merge pull request #3619 from ProjectSidewalk/Aug-2024-js-lib-upgrade
misaugstad Aug 20, 2024
dc9c928
Merge branch 'develop' into 3616-gallery-use-mutation-observer
jsomeara Aug 20, 2024
41f707f
Merge branch 'develop' into 3607-use-pano-param-in-street-view
jsomeara Aug 20, 2024
2749713
Merge pull request #3608 from jsomeara/3607-use-pano-param-in-street-…
misaugstad Aug 20, 2024
e237b61
Merge pull request #3617 from jsomeara/3616-gallery-use-mutation-obse…
misaugstad Aug 20, 2024
59f4632
Merge branch 'develop' of https://github.com/ProjectSidewalk/Sidewalk…
nschung28 Aug 21, 2024
e830d3d
Moved css for neighborhood-completion-rate to admin.css
nschung28 Aug 21, 2024
213c760
Merge pull request #3575 from ProjectSidewalk/3565-admin-neighborhood…
misaugstad Aug 21, 2024
5a94265
CSS zoom disabled on Chrome temporarily
misaugstad Aug 22, 2024
6c04037
Merge pull request #3627 from ProjectSidewalk/3626-bug-css-zoom-broke…
misaugstad Aug 22, 2024
a7cb69c
Merge branch 'master' of https://github.com/ProjectSidewalk/SidewalkW…
misaugstad Aug 22, 2024
3c34ea1
7.20.3 -> 7.20.4
misaugstad Aug 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Make sure Docker is running on your machine. You should see a Docker whale in yo

On Windows, we recommend [Windows Powershell](https://docs.microsoft.com/en-us/powershell/scripting/overview?view=powershell-7) (built in to Win10). On Mac, use the basic terminal or, even better, [iTerm2](https://www.iterm2.com/). On Linux (or if you're using WSL2 on Windows), the default Linux Shell (such as [Bash](https://www.gnu.org/software/bash/)) is a great choice.

1. Email Mikey (michaelssaugstad@gmail.com) and ask for a database dump, a Mapbox API key, and a Google Maps API key & secret (if you are not part of our team, you'll have to [create a Google Maps API key](https://developers.google.com/maps/documentation/javascript/get-api-key) yourself).
1. Email Mikey (saugstad@cs.washington.edu) and ask for a database dump, a Mapbox API key, and a Google Maps API key & secret (if you are not part of our team, you'll have to [create a Google Maps API key](https://developers.google.com/maps/documentation/javascript/get-api-key) yourself).
1. If your computer has an Apple Silicon (M1 or M2) chip, then you should modify the `platform` line in the `docker-compose.yml`, changing it to `linux/arm64`.
1. Modify the `MAPBOX_API_KEY`, `GOOGLE_MAPS_API_KEY`, and `GOOGLE_MAPS_SECRET` lines in the `docker-compose.yml` using the keys and secret you've acquired.
1. Modify the `SIDEWALK_CITY_ID` line in the `docker-compose.yml` to use the ID of the appropriate city, listed [here](https://github.com/ProjectSidewalk/SidewalkWebpage/wiki/Docker-Troubleshooting#first-heres-a-table-that-youll-reference-when-setting-up-your-dev-env) (it's the city that matches your database dump, so check the name of the db dump file).
Expand Down
9 changes: 4 additions & 5 deletions app/views/accessScoreDemo.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,20 +63,19 @@ <h3 id="access-score-header"><span id="access-score-neighborhood"></span><small
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/d3-3.5.6.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/common/detectMobileBrowser.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/common/UtilitiesSidewalk.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/turf.min-6.5.0.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/turf-7.1.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/accessScoreDemo.js")'></script>
<script src='https://api.mapbox.com/mapbox.js/v3.3.1/mapbox.js'></script>
<link href='https://api.mapbox.com/mapbox.js/v3.3.1/mapbox.css' rel='stylesheet' />
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-21.9.1.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextXHRBackend.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-23.14.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextHttpBackend-2.6.0.min.js")'></script>
<link href='@routes.Assets.at("stylesheets/accessScoreDemo.css")' rel="stylesheet"/>
<link href='@routes.Assets.at("stylesheets/choropleth.css")' rel="stylesheet"/>

<script>
$(document).ready(function () {
// Gets all translations before loading the demo map.
i18next.use(i18nextXHRBackend);
i18next.init({
i18next.use(i18nextHttpBackend).init({
backend: { loadPath: '/assets/locales/{{lng}}/{{ns}}.json' },
fallbackLng: 'en',
ns: ['common'],
Expand Down
15 changes: 7 additions & 8 deletions app/views/admin/index.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ <h1>Label Search</h1>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/d3-3.5.6.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/Admin/build/Admin.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/PSMap/build/PSMap.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/turf.min-6.5.0.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/turf-7.1.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/jquery.dataTables.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/dataTables.bootstrap.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/SVValidate/src/util/PanoProperties.js")'></script>
Expand All @@ -927,11 +927,11 @@ <h1>Label Search</h1>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-lite/2.0.0-beta.4/vega-lite.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-embed/3.0.0-beta.17/vega-embed.js"></script>

<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-3.1.0.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-language-1.0.0.js")'></script>
<link href='@routes.Assets.at("javascripts/lib/mapbox-gl-3.1.0.css")' rel="stylesheet"/>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-21.9.1.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextXHRBackend.min.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-3.6.0.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-language-1.0.1.js")'></script>
<link href='@routes.Assets.at("javascripts/lib/mapbox-gl-3.6.0.css")' rel="stylesheet"/>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-23.14.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextHttpBackend-2.6.0.min.js")'></script>

<link href='@routes.Assets.at("stylesheets/dataTables.bootstrap.min.css")' rel="stylesheet"/>
<link href='@routes.Assets.at("stylesheets/choropleth.css")' rel="stylesheet"/>
Expand All @@ -941,8 +941,7 @@ <h1>Label Search</h1>
<script>
$(document).ready(function () {
// Gets all translations before loading the choropleths.
i18next.use(i18nextXHRBackend);
i18next.init({
i18next.use(i18nextHttpBackend).init({
backend: { loadPath: '/assets/locales/{{lng}}/{{ns}}.json' },
fallbackLng: 'en',
ns: ['common', 'labelmap'],
Expand Down
7 changes: 3 additions & 4 deletions app/views/admin/label.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ <h1>Label Search</h1>
<div style="height: 237px;"></div> <!-- Just included to fill the page by default at usual zoom. -->
</div>

<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-21.9.1.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextXHRBackend.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-23.14.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextHttpBackend-2.6.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/common/timestampLocalization.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/Admin/build/Admin.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/SVValidate/src/util/PanoProperties.js")'></script>
Expand All @@ -28,8 +28,7 @@ <h1>Label Search</h1>
<link href='@routes.Assets.at("stylesheets/admin.css")' rel="stylesheet"/>
<script>
$(document).ready(function () {
i18next.use(i18nextXHRBackend);
i18next.init({
i18next.use(i18nextHttpBackend).init({
backend: { loadPath: '/assets/locales/{{lng}}/{{ns}}.json' },
fallbackLng: 'en',
ns: ['common', 'labelmap'],
Expand Down
13 changes: 6 additions & 7 deletions app/views/admin/task.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,18 @@
<script type="text/javascript" src='@routes.Assets.at("javascripts/common/UtilitiesSidewalk.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/common/Panomarker.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/bootstrap-3.3.5/js/bootstrap-slider.min.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-3.1.0.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-language-1.0.0.js")'></script>
<link href='@routes.Assets.at("javascripts/lib/mapbox-gl-3.1.0.css")' rel="stylesheet"/>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-3.6.0.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-language-1.0.1.js")'></script>
<link href='@routes.Assets.at("javascripts/lib/mapbox-gl-3.6.0.css")' rel="stylesheet"/>
<link href='@routes.Assets.at("javascripts/lib/bootstrap-3.3.5/css/bootstrap-slider.min.css")' rel="stylesheet"/>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-21.9.1.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextXHRBackend.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-23.14.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextHttpBackend-2.6.0.min.js")'></script>
<link href='@routes.Assets.at("stylesheets/admin.css")' rel="stylesheet"/>
<link href='@routes.Assets.at("stylesheets/adminTask.css")' rel="stylesheet"/>
<link href='@routes.Assets.at("stylesheets/choropleth.css")' rel="stylesheet"/>
<script>
$(document).ready(function () {
i18next.use(i18nextXHRBackend);
i18next.init({
i18next.use(i18nextHttpBackend).init({
backend: { loadPath: '/assets/locales/{{lng}}/{{ns}}.json' },
fallbackLng: 'en',
ns: ['common'],
Expand Down
15 changes: 7 additions & 8 deletions app/views/admin/user.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,12 +227,12 @@ <h1>Feedback</h1>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/d3-3.5.6.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/jquery.dataTables.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/dataTables.bootstrap.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/turf.min-6.5.0.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-21.9.1.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextXHRBackend.min.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-3.1.0.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-language-1.0.0.js")'></script>
<link href='@routes.Assets.at("javascripts/lib/mapbox-gl-3.1.0.css")' rel="stylesheet"/>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/turf-7.1.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-23.14.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextHttpBackend-2.6.0.min.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-3.6.0.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-language-1.0.1.js")'></script>
<link href='@routes.Assets.at("javascripts/lib/mapbox-gl-3.6.0.css")' rel="stylesheet"/>

<script type="text/javascript" src='@routes.Assets.at("javascripts/Admin/build/Admin.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/common/UtilitiesSidewalk.js")'></script>
Expand All @@ -257,8 +257,7 @@ <h1>Feedback</h1>
<script>
$(document).ready(function () {
// Gets all translations before loading the choropleth.
i18next.use(i18nextXHRBackend);
i18next.init({
i18next.use(i18nextHttpBackend).init({
backend: { loadPath: '/assets/locales/{{lng}}/{{ns}}.json' },
fallbackLng: 'en',
ns: ['dashboard', 'common', 'labelmap'],
Expand Down
13 changes: 6 additions & 7 deletions app/views/api.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -624,17 +624,16 @@ <h2 class="permalink-anchor" id="license">License
<script type="text/javascript" src='@routes.Assets.at("javascripts/common/detectMobileBrowser.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/api.js")'></script>

<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-3.1.0.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-language-1.0.0.js")'></script>
<link href='@routes.Assets.at("javascripts/lib/mapbox-gl-3.1.0.css")' rel="stylesheet"/>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-21.9.1.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextXHRBackend.min.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-3.6.0.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-language-1.0.1.js")'></script>
<link href='@routes.Assets.at("javascripts/lib/mapbox-gl-3.6.0.css")' rel="stylesheet"/>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-23.14.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextHttpBackend-2.6.0.min.js")'></script>

<script>
$(document).ready(function () {
// Gets all translations before loading the example maps.
i18next.use(i18nextXHRBackend);
i18next.init({
i18next.use(i18nextHttpBackend).init({
backend: { loadPath: '/assets/locales/{{lng}}/{{ns}}.json' },
fallbackLng: 'en',
ns: ['common'],
Expand Down
16 changes: 8 additions & 8 deletions app/views/explore.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -839,13 +839,13 @@ <h3 id="modal-mission-complete-progress-title"></h3>
<script type="text/javascript" src='@routes.Assets.at("javascripts/common/detectMobileBrowser.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/d3-3.5.6.js")'></script>

<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-21.9.1.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextXHRBackend.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/turf.min-6.5.0.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/wellknown-0.5.0.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-3.1.0.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-language-1.0.0.js")'></script>
<link href='@routes.Assets.at("javascripts/lib/mapbox-gl-3.1.0.css")' rel="stylesheet"/>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-23.14.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextHttpBackend-2.6.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/turf-7.1.0.min.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/betterknown-1.0.4.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-3.6.0.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-language-1.0.1.js")'></script>
<link href='@routes.Assets.at("javascripts/lib/mapbox-gl-3.6.0.css")' rel="stylesheet"/>

<script type="text/javascript">
// Todo. Try to move the following code to Main.js
Expand Down Expand Up @@ -1034,7 +1034,7 @@ <h3 id="modal-mission-complete-progress-title"></h3>

mainParam.regionId = @region.regionId;
mainParam.regionName = '@region.name';
mainParam.regionGeoJSON = window.wellknown.parse("@region.geom");
mainParam.regionGeoJSON = window.betterknown.wktToGeoJSON("@region.geom");

mainParam.nextTemporaryLabelId = @nextTempLabelId;
mainParam.mission = @Html(mission.toJSON.toString);
Expand Down
4 changes: 2 additions & 2 deletions app/views/gallery.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

@main(title) {
<script type="text/javascript" src='@routes.Assets.at("javascripts/Gallery/build/Gallery.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-21.9.1.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextXHRBackend.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-23.14.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextHttpBackend-2.6.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("/javascripts/common/Utilities.js")'></script>
<div id="page-loading"><img id="loading-gif" src='@routes.Assets.at("images/project_sidewalk_page_load.gif")'/></div>

Expand Down
15 changes: 7 additions & 8 deletions app/views/index.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -263,20 +263,19 @@

<script type="text/javascript" src='@routes.Assets.at("javascripts/common/detectMobileBrowser.js")'></script>
<script src='@routes.Assets.at("javascripts/homepage.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-3.1.0.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-language-1.0.0.js")'></script>
<link href='@routes.Assets.at("javascripts/lib/mapbox-gl-3.1.0.css")' rel="stylesheet"/>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/turf.min-6.5.0.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-21.9.1.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextXHRBackend.min.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-3.6.0.js")'></script>
<script src='@routes.Assets.at("javascripts/lib/mapbox-gl-language-1.0.1.js")'></script>
<link href='@routes.Assets.at("javascripts/lib/mapbox-gl-3.6.0.css")' rel="stylesheet"/>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/turf-7.1.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18next-23.14.0.min.js")'></script>
<script type="text/javascript" src='@routes.Assets.at("javascripts/lib/i18nextHttpBackend-2.6.0.min.js")'></script>
<link href='@routes.Assets.at("stylesheets/choropleth.css")' rel="stylesheet"/>
<script type="text/javascript" src='@routes.Assets.at("javascripts/PSMap/build/PSMap.js")'></script>

<script>
$(document).ready(function () {
// Gets all translations before loading the choropleth.
i18next.use(i18nextXHRBackend);
i18next.init({
i18next.use(i18nextHttpBackend).init({
backend: { loadPath: '/assets/locales/{{lng}}/{{ns}}.json' },
fallbackLng: 'en',
ns: ['common'],
Expand Down
Loading