diff --git a/assets/layers/icons/icons.json b/assets/layers/icons/icons.json
index 93e9e91ec..54ebd45d5 100644
--- a/assets/layers/icons/icons.json
+++ b/assets/layers/icons/icons.json
@@ -430,10 +430,10 @@
}
},
{
- "condition": "_favourite=yes",
+ "id": "favourite_icon",
"description": "Only for rendering",
"icon": "circle:white;heart:red",
- "id": "favourite_icon",
+ "condition": "_favourite=yes",
"metacondition": "__showTimeSensitiveIcons!=no"
},
{
diff --git a/assets/layers/last_click/last_click.json b/assets/layers/last_click/last_click.json
index 6aaa19115..3185c513f 100644
--- a/assets/layers/last_click/last_click.json
+++ b/assets/layers/last_click/last_click.json
@@ -217,8 +217,8 @@
},
{
"id": "debug",
- "metacondition": "__featureSwitchIsDebugging=true",
- "render": "{all_tags()}"
+ "render": "{all_tags()}",
+ "metacondition": "__featureSwitchIsDebugging=true"
}
],
"filter": [
diff --git a/assets/layers/note/note.json b/assets/layers/note/note.json
index eedef08c6..b1dd36f32 100644
--- a/assets/layers/note/note.json
+++ b/assets/layers/note/note.json
@@ -114,9 +114,9 @@
"lineRendering": [],
"tagRenderings": [
{
- "classes": "p-0",
"id": "conversation",
- "render": "{visualize_note_comments()}"
+ "render": "{visualize_note_comments()}",
+ "classes": "p-0"
},
{
"id": "add_image",
diff --git a/assets/layers/osm_community_index/osm_community_index.json b/assets/layers/osm_community_index/osm_community_index.json
index 150fc6ecd..1c605ca38 100644
--- a/assets/layers/osm_community_index/osm_community_index.json
+++ b/assets/layers/osm_community_index/osm_community_index.json
@@ -66,16 +66,16 @@
],
"tagRenderings": [
{
- "condition": "level=country",
- "description": "The name of the country",
"id": "country_name",
- "render": "{nameEn} {emojiFlag}"
+ "description": "The name of the country",
+ "render": "{nameEn} {emojiFlag}",
+ "condition": "level=country"
},
{
- "condition": "_community_links~*",
- "description": "Community Links (Discord, meetups, Slack groups, IRC channels, mailing lists etc...)",
"id": "community_links",
- "render": "{_community_links}"
+ "description": "Community Links (Discord, meetups, Slack groups, IRC channels, mailing lists etc...)",
+ "render": "{_community_links}",
+ "condition": "_community_links~*"
}
],
"filter": [
diff --git a/assets/layers/usersettings/usersettings.json b/assets/layers/usersettings/usersettings.json
index a82beeaaf..907b37c2d 100644
--- a/assets/layers/usersettings/usersettings.json
+++ b/assets/layers/usersettings/usersettings.json
@@ -1898,6 +1898,46 @@
"render": {
"*": "{storage_all_tags()}"
}
+ },
+ {
+ "id": "debug_serviceworker_accordeon",
+ "render": {
+ "special": {
+ "header": "debug_serviceworker_accordeon_title",
+ "labels": "debug_serviceworker",
+ "type": "group"
+ }
+ },
+ "condition": "mapcomplete-show_debug=yes"
+ },
+ {
+ "id": "debug_serviceworker_accordeon_title",
+ "labels": [
+ "hidden"
+ ],
+ "render": {
+ "en": "Debug information about the service worker"
+ }
+ },
+ {
+ "id": "expl",
+ "labels": [
+ "debug_serviceworker",
+ "hidden"
+ ],
+ "render": {
+ "en": "To clear the service worker data, use the 'clear caches' button"
+ }
+ },
+ {
+ "id": "service_worker_tags",
+ "labels": [
+ "debug_serviceworker",
+ "hidden"
+ ],
+ "render": {
+ "*": "{serviceworker_all_tags()}"
+ }
}
],
"allowMove": false
diff --git a/index.html b/index.html
index 04cf21dcf..796ba73ec 100644
--- a/index.html
+++ b/index.html
@@ -43,8 +43,6 @@
-
-