diff --git a/src/service-worker.js b/src/service-worker.js index 20f36c2c81055fd5d31ab0efd946e79e03fe67dd..755d00f9dd13e8bf55b6b01c29f50360cd65ec9d 100644 --- a/src/service-worker.js +++ b/src/service-worker.js @@ -74,7 +74,6 @@ self.addEventListener('message', (e) => { if (!e.data) { return; } - //console.log(e.data); switch (e.data.type) { case 'SKIP_WAITING': self.skipWaiting(); diff --git a/src/services/map-service.js b/src/services/map-service.js index fa21a885caa783817e4ed5f22bea243e5113a398..607a3990178b4dbefb35c505024fb67aeb4b968e 100644 --- a/src/services/map-service.js +++ b/src/services/map-service.js @@ -522,7 +522,6 @@ const mapService = { if (featureType) { const { color, opacity } = this.retrieveFeatureStyle(featureType, properties); - //console.log(color, opacity, featureType, properties); const colorValue = color && color.value && color.value.length ? color.value : typeof color === 'string' && color.length ? diff --git a/src/views/FeatureType/FeatureTypeDetail.vue b/src/views/FeatureType/FeatureTypeDetail.vue index 80facaf3c8d5aad62407e6a3ed57ce6f9de2fbcf..5f4ec56385c7fd86af43988669598aac66d67578 100644 --- a/src/views/FeatureType/FeatureTypeDetail.vue +++ b/src/views/FeatureType/FeatureTypeDetail.vue @@ -568,9 +568,7 @@ export default { } } else if (field_type === 'multi_choices_list') { //*then check if the values in the value array are available options - //const unvalidValues = fieldInFeature.some((el) => !options.includes(el)); const unvalidValues = fieldInFeature.filter((el) => !options.includes(el)); - console.log(customType, field_type, options, fieldInFeature, unvalidValues); if (unvalidValues.length > 0) { const plural = unvalidValues.length > 1; this.importError = `Le fichier est invalide: ${plural ? 'les valeurs' : 'la valeur'} [ ${unvalidValues.join(', ')} ] ${plural ? 'ne sont pas des options valides' : 'n\'est pas une option valide'} diff --git a/src/views/FeatureType/FeatureTypeDisplay.vue b/src/views/FeatureType/FeatureTypeDisplay.vue index 190769328e2a20235fe3065d9da00af02317b9ba..5fde6cc457dfa97ca43c0e5a510fe7ac87f913a7 100644 --- a/src/views/FeatureType/FeatureTypeDisplay.vue +++ b/src/views/FeatureType/FeatureTypeDisplay.vue @@ -85,12 +85,20 @@ id="popupDisplay" > <h3>Prévisualisation des champs personnalisés de l'info-bulle</h3> - <table class="ui definition single line compact table"> + <table + id="table-fields-to-display" + class="ui definition single line compact table" + aria-describedby="Liste des champs à afficher" + > <thead> <tr> - <th><!-- Sélection --></th> - <th>Champ</th> - <th>Type</th> + <th scope="col" /> + <th scope="col"> + Champ + </th> + <th scope="col"> + Type + </th> </tr> </thead> <tbody> @@ -98,7 +106,10 @@ v-for="field in featureAnyFields" :key="field.name" > - <td class="collapsing"> + <td + scope="row" + class="collapsing" + > <div class="ui toggle checkbox"> <input :checked="form.displayed_fields.includes(field.name)" @@ -108,8 +119,12 @@ <label /> </div> </td> - <td>{{ field.label }}</td> - <td>{{ field.field_type || getCustomFieldType(field.field_type) }}</td> + <td scope="row"> + {{ field.label }} + </td> + <td scope="row"> + {{ field.field_type || getCustomFieldType(field.field_type) }} + </td> </tr> </tbody> </table> diff --git a/src/views/Project/FeaturesListAndMap.vue b/src/views/Project/FeaturesListAndMap.vue index 0240d950a5acd6bdd065b3994e2b59b6eeb5c5cd..099eb291c2ba1f75a51e0cec74b8697faf28b571 100644 --- a/src/views/Project/FeaturesListAndMap.vue +++ b/src/views/Project/FeaturesListAndMap.vue @@ -307,10 +307,6 @@ export default { this.toggleDeleteModal(); }, - modifyFeaturesAttributes() { - console.log('modifyFeaturesAttributes'); - }, - onFilterChange() { if (mapService.getMap() && mapService.mvtLayer) { mapService.mvtLayer.changed();