Closed atiannicelli closed 1 week ago
Oh Crap.... I completed the tasks that I just told you to go look at!!! I'll give you another one.... Hold please...
there you go.
+1 for this. My use case: I create the task description as part of the script that creates the MR tasks as property and my task description only shows {markdownDescription}
which gets fetches the markdown text from the property. This way I can add custom instructions per Task like custom Mapillary links and such.
I wonder, if this should be something that is handeled by the MapRoulette Server? The response by the maproulette server could include the resolved mustache template tags and not just the raw information, right?
I believe that is the solution that they are looking into.
Description
I'm not sure this is something you can even fix, but I noticed that the {{curly braces}} parameters in the instructions don't get replaced with the correct values. The way that Maproulette allows people to write instructions it will replace {{idendifier}} with the value of identifier in the task. See Screen shots.
For more detail from MapRoulette: https://learn.maproulette.org/en-us/documentation/mustache-tag-replacement/#content
Screenshots
Here is what I see on Rapid
And here is what That task looks like on MapRoulette
Here is where the "osmIdentifier" comes from
When you do a
curl -X 'GET' 'https://maproulette.org/api/v2/task/227267509' -H 'accept: application/json'
you will see "properties". These can be referenced in the instructions by using {{}} and they are supposed to be replaced. For this specific task the properties look like this:Version
2.3.0
What browser are you seeing the problem on? What version are you running?
Chrome v124.0
The OS you're using
mac
Steps to reproduce
Go to https://rapideditor.org/edit#map=21.97/37.77652/-122.40743&background=Bing&datasets=fbRoads,msBuildings&disable_features=boundaries and enable the MapRoulette Tasks. Click on the one in the middle of your screen and scroll down to the instructions and look at the first sentence.
The browser URL at the time you encountered the bug
https://rapideditor.org/edit#map=21.97/37.77652/-122.40745&background=Bing&datasets=fbRoads,msBuildings&disable_features=boundaries
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36