Skip to content

Commit

Permalink
fix: min and max threshold not being displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
adityasingh-anyline committed Jan 23, 2024
1 parent 3b65eb8 commit c524a37
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.1] - 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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "my-first-plugin",
"version": "1.0.0",
"version": "1.1.3",
"description": "Ui for textbox input variable",
"scripts": {
"build": "webpack -c ./.config/webpack/webpack.config.ts --env production",
Expand Down
10 changes: 10 additions & 0 deletions src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,16 @@ export const plugin = new PanelPlugin<SimpleOptions>(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',
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
],
"screenshots": [],
"version": "1.1.0",
"version": "1.1.3",
"updated": "2024-01-08"
},
"dependencies": {
Expand Down

0 comments on commit c524a37

Please sign in to comment.