nengo-gui
nengo-gui copied to clipboard
Set different ranges in a set of sliders
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.
+1
Would this be a good issue to tackle to try and ease into the GUI code?
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....
Where would be a good place to start looking at code?
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.
Note that if you do go deeper after getting the front-end working, there are further docs in this Google Drive folder.