survey icon indicating copy to clipboard operation
survey copied to clipboard

Any plans to implement a slider

Open droctothorpe opened this issue 3 years ago • 4 comments

...along the lines of https://github.com/piotrmurach/tty-prompt#210-slider?

I might be interested in contributing this as a PR.

droctothorpe avatar May 31 '21 03:05 droctothorpe

Oh interesting!

I hadn’t considered a prompt like that before but it would definitely be cool to add to the set. Let me know if you need any guidance with this

AlecAivazis avatar May 31 '21 03:05 AlecAivazis

I would vote no on a slider prompt. It would be an accessibility and a usability nightmare. A number input would be superior in almost every way.

mislav avatar Sep 16 '21 17:09 mislav

They're not mutually exclusive. It can be keyboard driven as well. Left / right and up / down can adjust the slider. Holding down shift can increment by 10 instead of 1.

droctothorpe avatar Jan 14 '22 03:01 droctothorpe

Apologies for the delayed response. I'm not sure if / when I'll have time to tackle this but definitely interested. I can loop around to it if no else one gets to it first.

droctothorpe avatar Jan 14 '22 03:01 droctothorpe