From 484adf1ee115fc447dc9bc0297956ca53e9cc5e9 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Mon, 6 May 2024 11:53:23 +0200 Subject: [PATCH] Add some 'ifunset', fix some typos, fix #1933 --- .../ThemeConfig/Json/QuestionableTagRenderingConfigJson.ts | 1 + src/Models/ThemeConfig/Json/TagRenderingConfigJson.ts | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Models/ThemeConfig/Json/QuestionableTagRenderingConfigJson.ts b/src/Models/ThemeConfig/Json/QuestionableTagRenderingConfigJson.ts index db6c00346f..8642e3d318 100644 --- a/src/Models/ThemeConfig/Json/QuestionableTagRenderingConfigJson.ts +++ b/src/Models/ThemeConfig/Json/QuestionableTagRenderingConfigJson.ts @@ -229,6 +229,7 @@ export interface QuestionableTagRenderingConfigJson extends TagRenderingConfigJs * A (translated) text that is shown (as gray text) within the textfield * type: translation * group: expert + * ifunset: No specific placeholder is set, show the type of the textfield */ placeholder?: Translatable diff --git a/src/Models/ThemeConfig/Json/TagRenderingConfigJson.ts b/src/Models/ThemeConfig/Json/TagRenderingConfigJson.ts index 450634f71d..5a77327f7c 100644 --- a/src/Models/ThemeConfig/Json/TagRenderingConfigJson.ts +++ b/src/Models/ThemeConfig/Json/TagRenderingConfigJson.ts @@ -88,7 +88,7 @@ export interface TagRenderingConfigJson { * * question: When should this item be shown? * type: tag - * ifunset: No specific condition set; always show this tagRendering or ask the question if unkown + * ifunset: No specific condition set; always show this tagRendering or show this question if unknown * * Only show this tagrendering (or ask the question) if the selected object also matches the tags specified as `condition`. * @@ -132,9 +132,10 @@ export interface TagRenderingConfigJson { /** question: When should this item be shown (including special conditions)? * type: tag + * ifunset: No specific metacondition set which is evaluated against the usersettings/application state; always show this tagRendering or show this question if unknown * - * If set, this tag will be evaluated agains the _usersettings/application state_ table. - * Enable 'show debug info' in user settings to see available options. + * If set, this tag will be evaluated against the _usersettings/application state_ table. + * Enable 'show debug info' in user settings to see available options (at the settings-tab). * Note that values with an underscore depicts _application state_ (including metainfo about the user) whereas values without an underscore depict _user settings_ */ metacondition?: TagConfigJson