Rapid icon indicating copy to clipboard operation
Rapid copied to clipboard

[MapRoulette Integration] Support MapRoulette templating in challenge instructions

Open b1tw153 opened this issue 9 months ago • 1 comments

Description

MapRoulette supports basic form fields and short codes in challenge instructions. E.g.:

[checkbox "Your checkbox label" name="myCheckbox"]

[select "Your select label" name="myDropdown" values="foo,bar,baz"]

[copyable "some useful text"]

This markup is documented here: https://learn.maproulette.org/en-us/documentation/challenge-instructions-templating/

Currently in Rapid, this markup is not parsed and is displayed as raw text in the instructions.

This issue is related to #1419 - Curly braces in instructions aren't replaced

Screenshots

Screenshot 2024-05-13 at 6 33 57 AM

Version

2.3.1

What browser are you seeing the problem on? What version are you running?

Firefox 125.0.3

The OS you're using

MacOS 14.4.1

Steps to reproduce

  1. Open Rapid and enable MapRoulette tasks in the Map Data using Challenge ID 43887
  2. Zoom/Pan to a MapRoulette task in Mono County and select the task
  3. Note that the MapRoulette markup in the instructions is rendered as plain text

The browser URL at the time you encountered the bug

https://rapideditor.org/rapid#map=15.85/38.0448/-119.2625&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)

No response

b1tw153 avatar May 13 '24 13:05 b1tw153