These are chat archives for girder/girder

6th
Jan 2017
Jonathan Owens
@jonathan-owens
Jan 06 2017 13:56
I’m trying to extend the CheckedMenuWidget to display an additional action available when at least one item is selected.
I can get the widget to update its rendering using girder.wrap(girder.views.CheckedMenuWidget …
However, when I try to bind an event to clicking the new item with girder.views.CheckedMenuWidget.prototype.events, I get an “Undefined is not an object"
I did a little digging, and it seems that CheckedMenuWidget has no events field…so that could be a hint
But I’m new to JavaScript and don’t really no where to go from here.
Any tips?
Andrey Fedorov
@fedorov
Jan 06 2017 15:07
@zachmullen @jbeezley pip uninstall girder && pip install girder did not help, but removing node_modules and re-running girder-install web did the job, thank you! Would it make sense to have some documentation section with upgrade instructions?
Zach Mullen
@zachmullen
Jan 06 2017 15:09
That's probably a good thing to put into the Migration Guide
Andrey Fedorov
@fedorov
Jan 06 2017 16:17
@zachmullen I am happy to make a PR but not sure what are your conventions. How about adding the following paragraph in the beginning: "Existing installation may be upgraded by running pip install -U girder. You may need to remove node_modules directory from the installed girder package, and re-run girder-install web if you encounter problems. Note that the prerequisites may have changed in the latest version: make sure to review http://girder.readthedocs.io/en/latest/prerequisites.html prior to the upgrade."
Zach Mullen
@zachmullen
Jan 06 2017 16:41
sounds great :)
Andrey Fedorov
@fedorov
Jan 06 2017 16:51
girder/girder#1740