Feature: layer validation system now builds a dependency graph and only updates what is needed, makes "refresh:layeroverview" redundant

This commit is contained in:
Pieter Vander Vennet 2025-04-21 23:53:10 +02:00
parent 1bd060df82
commit fda0bc6b2e
19 changed files with 301 additions and 186 deletions

View file

@ -141,11 +141,12 @@
"lineRendering": [],
"tagRenderings": [
{
"id": "images",
"render": {
"special": {
"before": "{image_carousel(toilets:panoramax;toilets:mapillary;toilets:images)}",
"type": "image_upload",
"key": "toilets:panoramax",
"image_key": "toilets:panoramax",
"label": {
"en": "Add a picture of the toilets",
"nl": "Voeg een foto van de toiletten toe"
@ -153,19 +154,6 @@
}
}
},
{
"id": "dead",
"labels": [
"hidden",
"relevant_questions"
],
"condition": {
"and": [
"id="
]
},
"render": "Only used to make sure 'relevant-questions' is known"
},
{
"builtin": "toilet.amenity-no-prefix",
"prefix": "toilets",

View file

@ -18,6 +18,11 @@
},
{
"id": "grouptitle",
"labels": [
"all",
"hidden"
],
"icon": "./assets/layers/toilet/toilets.svg",
"render": {
"en": "Toilet information",
"nl": "Informatie over de toiletten"
@ -61,7 +66,8 @@
"id": "toilet-question-box",
"labels": [
"toilet-questions",
"all"
"all",
"hidden"
],
"render": {
"special": {