Studio: some UX tweaks

This commit is contained in:
Pieter Vander Vennet 2023-11-14 17:35:12 +01:00
parent 5e453d5cf1
commit fb193123e0
29 changed files with 395 additions and 368 deletions

View file

@ -210,7 +210,7 @@ export interface LayerConfigJson {
minzoomVisible?: number
/**
* question: What title should be shown on the infobox?
* question: Edit the popup title
* The title shown in a popup for elements of this layer.
*
* group: title
@ -379,7 +379,7 @@ export interface LayerConfigJson {
}[]
/**
* question: Edit this tagRendering
* question: Edit this way this attributed is displayed or queried
*
* A tag rendering is a block that either shows the known value or asks a question.
*

View file

@ -6,7 +6,7 @@ import { Translatable } from "./Translatable"
*/
export interface MinimalTagRenderingConfigJson {
/**
* question: What value should be rendered?
* question: What value should be shown (if no predifined option matches)?
*
* This piece of text will be shown in the infobox.
* Note that "&LBRACEkey&RBRACE"-parts are substituted by the corresponding values of the element.
@ -56,7 +56,7 @@ export interface TagRenderingConfigJson {
*
* Note that this is a HTML-interpreted value, so you can add links as e.g. '<a href='{website}'>{website}</a>' or include images such as `This is of type A <br><img src='typeA-icon.svg' />`
* type: rendered
* ifunset: no text is rendered if no predefined options match
* ifunset: No text is shown if no predefined options match.
*/
render?:
| Translatable
@ -67,7 +67,7 @@ export interface TagRenderingConfigJson {
* An icon shown next to the rendering; typically shown pretty small
* This is only shown next to the "render" value
* Type: icon
* ifunset: do not show an icon next to the "render"-value
* ifunset: No additional icon is shown next to the always shown text
*/
icon?:
| string