account icon indicating copy to clipboard operation
account copied to clipboard

new feature: explicitly set range and default value

Open ginatrapani opened this issue 4 years ago • 3 comments

Right now you can't set a slider to default to say, 3, but make the range 1-10. If you set it to 3, the range only goes to 6. If you set it to 1-10, the default is 5.

ginatrapani avatar May 15 '20 14:05 ginatrapani

So you could have:

10 (default behavior is to set range min 0 max 20 default 10) 1-10 (set range min 1 max 10) 1-5-10 (set range min 1 max 10 default 5)

it makes parsing negatives (both actually and visually) harder so maybe

1 -1...10 -10...-5...10

or -100 -100 - -100 -100 - -50 - 100

or

-100 -100 to -10 -100 to -50 to 100

idk, thinking

ftrain avatar May 15 '20 15:05 ftrain

yeah I dislike - as the range notation, I wish it was 1..10 instead of 1-10

Extending on that, I'd love to indicate the default like this:

1..3..10 where 3 is the default.

ginatrapani avatar May 15 '20 19:05 ginatrapani

or 3 dots, either way

ginatrapani avatar May 15 '20 19:05 ginatrapani