From 3aad60841610deee215ac8631056c6ae033fa815 Mon Sep 17 00:00:00 2001 From: Aditya Singh Date: Tue, 23 Jan 2024 08:57:27 +0100 Subject: [PATCH] fix: min and max threshold not being displayed --- CHANGELOG.md | 3 +++ package.json | 2 +- src/module.ts | 10 ++++++++++ src/plugin.json | 2 +- 4 files changed, 15 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a7e306..66edd9a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,9 @@ All notable changes to the "Range Slider Panel" plugin will be documented in thi The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.1.4] - 2024-01-23 +- Fix min and max threshold not being displayed + ## [1.1.0] - 2024-01-23 - Allow only variables of type `textbox` to be selected - Remove default min and max values and use the values from the current variable value diff --git a/package.json b/package.json index a1a521b..8226d9e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "my-first-plugin", - "version": "1.0.0", + "version": "1.1.4", "description": "Ui for textbox input variable", "scripts": { "build": "webpack -c ./.config/webpack/webpack.config.ts --env production", diff --git a/src/module.ts b/src/module.ts index 66622b2..3630ed2 100644 --- a/src/module.ts +++ b/src/module.ts @@ -25,6 +25,16 @@ export const plugin = new PanelPlugin(SimplePanel).setPanelOption description: 'The user-friendly label of the variable', defaultValue: 'My First Variable', }) + .addTextInput({ + path: 'variableMinimumThreshold', + name: 'Minimum threshold', + defaultValue: '0', + }) + .addTextInput({ + path: 'variableMaximumThreshold', + name: 'Maximum threshold', + defaultValue: '100', + }) .addTextInput({ path: 'rangePrefix', name: 'Range Prefix', diff --git a/src/plugin.json b/src/plugin.json index 9c13b08..b6fdc97 100644 --- a/src/plugin.json +++ b/src/plugin.json @@ -20,7 +20,7 @@ } ], "screenshots": [], - "version": "1.1.0", + "version": "1.1.4", "updated": "2024-01-08" }, "dependencies": {