nengo-gui icon indicating copy to clipboard operation
nengo-gui copied to clipboard

Set different ranges in a set of sliders

Open studywolf opened this issue 8 years ago • 6 comments

It would be nice to be able to pass in a list to set the ranges of sliders in a group individually, right now you have to set them all to be the same.

studywolf avatar Mar 19 '16 15:03 studywolf

+1

studywolf avatar May 14 '17 13:05 studywolf

Would this be a good issue to tackle to try and ease into the GUI code?

bmorcos avatar May 15 '17 12:05 bmorcos

Would this be a good issue to tackle to try and ease into the GUI code?

It should be a good issue to try for that... :) It's slightly tricky in terms of deciding what the interface should be... this'll be the first time we need a way of setting a list of ranges, and we still want to support setting all the ranges at once....

tcstewar avatar May 15 '17 17:05 tcstewar

Where would be a good place to start looking at code?

bmorcos avatar May 15 '17 18:05 bmorcos

Where would be a good place to start looking at code?

I believe it can mostly be done in this file:

https://github.com/nengo/nengo_gui/blob/master/nengo_gui/static/components/slider.js

In addition to that, there is a bit of server communication needed in order to save the ranges. That'll touch this code: https://github.com/nengo/nengo_gui/blob/master/nengo_gui/components/slider.py I wouldn't worry about that until the client-side stuff is working, though.

tcstewar avatar May 15 '17 19:05 tcstewar

Note that if you do go deeper after getting the front-end working, there are further docs in this Google Drive folder.

Seanny123 avatar May 16 '17 05:05 Seanny123