From 3eb36b11900f40ee0ad33d59b0854facfd683b06 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sat, 8 Feb 2025 11:55:54 +0100 Subject: [PATCH] Statistics: add filters for platform --- .../mapcomplete-changes.proto.json | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/assets/themes/mapcomplete-changes/mapcomplete-changes.proto.json b/assets/themes/mapcomplete-changes/mapcomplete-changes.proto.json index ed7530db0..d50ff1be8 100644 --- a/assets/themes/mapcomplete-changes/mapcomplete-changes.proto.json +++ b/assets/themes/mapcomplete-changes/mapcomplete-changes.proto.json @@ -182,6 +182,26 @@ } ] }, + { + "id": "platform", + "question": { + "en": "With what platform was the change made?" + }, + "mappings": [ + { + "if": "android=", + "then": { + "en": "Made on the web" + } + }, + { + "if": "android=yes", + "then": { + "en": "Made with the android app" + } + } + ] + }, { "id": "version", "question": { @@ -403,6 +423,28 @@ } ] }, + { + "id": "platform", + "options": [ + { + "question": { + "en": "All platforms" + } + }, + { + "question": { + "en": "Made with Android" + }, + "osmTags": "android=yes" + }, + { + "question": { + "en": "Made on the web" + }, + "osmTags": "android=" + } + ] + }, { "id": "added-image", "options": [