From 2835fa4d0a521462c71097098b4aa67242aacd65 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Mon, 7 Sep 2020 02:47:21 +0200 Subject: [PATCH] Add statistics links, add instant reload of preview --- README.md | 4 ++++ State.ts | 2 +- UI/CustomGenerator/CustomGeneratorPanel.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bb6609c..158e24c 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,10 @@ You can create [your own theme too](https://pietervdvn.github.io/MapComplete/cus There are plenty more. Discover them in the app. +### Statistics + +To see statistics, consult [OsmCha](https://osmcha.org/?filters=%7B%22comment%22%3A%5B%7B%22label%22%3A%22%23mapcomplete%22%2C%22value%22%3A%22%23mapcomplete%22%7D%5D%2C%22date__gte%22%3A%5B%7B%22label%22%3A%222020-07-05%22%2C%22value%22%3A%222020-07-05%22%7D%5D%7D) or the [analytics page](https://pietervdvn.goatcounter.com/) + ## User journey MapComplete is set up to lure people into OpenStreetMap and to teach them while they are on the go, step by step. diff --git a/State.ts b/State.ts index 58527f2..6a94316 100644 --- a/State.ts +++ b/State.ts @@ -23,7 +23,7 @@ export class State { // The singleton of the global state public static state: State; - public static vNumber = "0.0.7i"; + public static vNumber = "0.0.7j"; // The user journey states thresholds when a new feature gets unlocked public static userJourney = { diff --git a/UI/CustomGenerator/CustomGeneratorPanel.ts b/UI/CustomGenerator/CustomGeneratorPanel.ts index 86a4ece..6d92eb7 100644 --- a/UI/CustomGenerator/CustomGeneratorPanel.ts +++ b/UI/CustomGenerator/CustomGeneratorPanel.ts @@ -61,7 +61,7 @@ export default class CustomGeneratorPanel extends UIElement { }); const preview = new Combine([ - new VariableUiElement(iframe.stabilized(2500)) + new VariableUiElement(iframe) ]).SetClass("preview") this.mainPanel = new TabbedComponent([ {