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

Updating app to work with COD UXDS version 1.0.18. #164

Merged
merged 1 commit into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 build/assets/js/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/assets/js/main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/assets/js/runtime.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/assets/js/vendors.sentry-internal.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/assets/js/vendors.sentry.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/assets/js/vendors.terraformer-arcgis-parser.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/assets/js/vendors.terraformer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/assets/js/vendors.turf.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Local Services Lookup</title><meta name="description" content="App to lookup city services based on a location."><meta name="author" content="Edgar Montes"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet"><link href="https://unpkg.com/maplibre-gl@2.4.0/dist/maplibre-gl.css" rel="stylesheet"/><script defer="defer" src="assets/js/runtime.js"></script><script defer="defer" src="assets/js/vendors.sentry.js"></script><script defer="defer" src="assets/js/vendors.sentry-internal.js"></script><script defer="defer" src="assets/js/vendors.terraformer.js"></script><script defer="defer" src="assets/js/vendors.terraformer-arcgis-parser.js"></script><script defer="defer" src="assets/js/vendors.turf.js"></script><script defer="defer" src="assets/js/main.js"></script></head><body><my-home-info data-geocoder-label="Property Address:" data-inital-sets="" data-app-state="active-screen" data-parcel-id="none" data-api-stored-datasets="{}" data-api-active-datasets="none" data-active-section="about this property" data-active-sets="assessors-data,neighborhood,recycling,rental-data,rental-cert,demo-status,blight-data,permit-data,DWSDBackupProtection,HRDFlooding" data-app-mode="my-home-info" data-map-available="false" data-map-active-data=""><p class="no-wc">Please turn on javascript to use this feature. Thanks!</p></my-home-info><script src="https://www.unpkg.com/cod-design-system@1.0.13/build/assets/js/main.js"></script><script src="https://www.unpkg.com/cod-design-system@1.0.13/build/assets/js/runtime.js"></script><script src="https://www.unpkg.com/cod-design-system@1.0.13/build/assets/js/vendors.babel.js"></script><script src="https://www.unpkg.com/cod-design-system@1.0.13/build/assets/js/vendors.maplibre-gl.js"></script><script src="index.js"></script></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Local Services Lookup</title><meta name="description" content="App to lookup city services based on a location."><meta name="author" content="Edgar Montes"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=5"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet"><link href="https://unpkg.com/maplibre-gl@2.4.0/dist/maplibre-gl.css" rel="stylesheet"/><script defer="defer" src="assets/js/runtime.js"></script><script defer="defer" src="assets/js/vendors.sentry.js"></script><script defer="defer" src="assets/js/vendors.sentry-internal.js"></script><script defer="defer" src="assets/js/vendors.terraformer.js"></script><script defer="defer" src="assets/js/vendors.terraformer-arcgis-parser.js"></script><script defer="defer" src="assets/js/vendors.turf.js"></script><script defer="defer" src="assets/js/main.js"></script></head><body><my-home-info data-geocoder-label="Property Address:" data-inital-sets="" data-app-state="active-screen" data-parcel-id="none" data-api-stored-datasets="{}" data-api-active-datasets="none" data-active-section="about this property" data-active-sets="assessors-data,neighborhood,recycling,rental-data,rental-cert,demo-status,blight-data,permit-data,DWSDBackupProtection,HRDFlooding" data-app-mode="my-home-info" data-map-available="false" data-map-active-data=""><p class="no-wc">Please turn on javascript to use this feature. Thanks!</p></my-home-info><script src="https://www.unpkg.com/cod-design-system@1.0.18/build/assets/js/main.js"></script><script src="https://www.unpkg.com/cod-design-system@1.0.18/build/assets/js/runtime.js"></script><script src="https://www.unpkg.com/cod-design-system@1.0.18/build/assets/js/vendors.babel.js"></script><script src="https://www.unpkg.com/cod-design-system@1.0.18/build/assets/js/vendors.maplibre-gl.js"></script><script src="index.js"></script></body></html>
8 changes: 4 additions & 4 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
<!-- <my-home-info data-geocoder-label="Check your property’s eligibility for the CDBG-DR Basement Backup Protection Program below and apply, if eligible." data-inital-sets="HRDFlooding" data-app-state="active-screen" data-parcel-id="none" data-api-stored-datasets="{}" data-api-active-datasets="none" data-active-section="about this property" data-active-sets="HRDFlooding" data-app-mode="single-app" data-initial-map-available="false" data-map-available="false" data-map-active-data="">
<p class="no-wc">Please turn on javascript to use this feature. Thanks!</p>
</my-home-info> -->
<script src="https://www.unpkg.com/cod-design-system@1.0.13/build/assets/js/main.js"></script>
<script src="https://www.unpkg.com/cod-design-system@1.0.13/build/assets/js/runtime.js"></script>
<script src="https://www.unpkg.com/cod-design-system@1.0.13/build/assets/js/vendors.babel.js"></script>
<script src="https://www.unpkg.com/cod-design-system@1.0.13/build/assets/js/vendors.maplibre-gl.js"></script>
<script src="https://www.unpkg.com/cod-design-system@1.0.18/build/assets/js/main.js"></script>
<script src="https://www.unpkg.com/cod-design-system@1.0.18/build/assets/js/runtime.js"></script>
<script src="https://www.unpkg.com/cod-design-system@1.0.18/build/assets/js/vendors.babel.js"></script>
<script src="https://www.unpkg.com/cod-design-system@1.0.18/build/assets/js/vendors.maplibre-gl.js"></script>
<script src="index.js"></script>
</body>
</html>
3 changes: 1 addition & 2 deletions src/components/DataLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,6 @@ export default class DataLoader extends HTMLElement {
break;

case 'HRDFlooding':
console.log('pushing HRDFlooding');
dataList.push(HRDFlooding);
break;

Expand Down Expand Up @@ -796,7 +795,7 @@ export default class DataLoader extends HTMLElement {
} else {
let dataList = loader.getDataSets(loader);
Promise.all(dataList).then(values => {
console.log(values);
// console.log(values);
let dataSets = {};
for (let key in values) {
if (values[key] != null) {
Expand Down
Loading