Commit Graph

3503 Commits

Author SHA1 Message Date
MinRK
32d6f11b33 review pass on widget examples 2014-01-26 18:00:41 -08:00
MinRK
119052f75d first review pass on widget tests 2014-01-26 17:01:59 -08:00
MinRK
36db60eacb review pass on Python-side of widgets
- remove variable signature complexity
- use a few more traitlets as appropriate
2014-01-26 15:46:06 -08:00
MinRK
dd2f4a25aa quick review pass on javascript 2014-01-26 15:02:29 -08:00
MinRK
001e06103b review pass on widgetmanager.js 2014-01-26 14:38:02 -08:00
Jonathan Frederic
134413c89c Fixed bug that prevented popup widget from displaying 2014-01-24 16:36:23 -08:00
Jonathan Frederic
ce461ec20a Simplified variable inspector example 2014-01-24 16:35:46 -08:00
Jonathan Frederic
c807dd29e4 Prevent TextBox from blurring unless explicity by user. 2014-01-24 13:35:58 -08:00
Jonathan Frederic
d0b6e2a63d Updated cell numbering in console example. 2014-01-24 12:40:43 -08:00
Jonathan Frederic
e4b3f24c76 Fixed some more example files (see list below)...
Export As (nbconvert).ipynb
File Upload Widget.ipynb
Nonblocking Console.ipynb
index.ipynb
2014-01-24 12:33:54 -08:00
Jonathan Frederic
3026ddb52b Fixed bug in throttling code. 2014-01-24 12:32:19 -08:00
Jonathan Frederic
7c32616556 Moved keyboard_manager logic into a sep. function. 2014-01-24 10:39:06 -08:00
Jonathan Frederic
59b41ca5fe Cleanup examples
- Fixed output numbering.
- Multiple typo fixes.
- Added index notebook.
- Added easy navigation to tutorials (next and back links).
2014-01-23 13:06:18 -08:00
Jonathan Frederic
dc9f81e75d Fixed bug in selection widget tests. 2014-01-23 10:58:52 -08:00
Jonathan Frederic
e793d022b5 Callback dispatcher return callback value.
Also import it with the widgets namespace so it can be used elsewhere.
2014-01-23 10:52:33 -08:00
Jonathan Frederic
820d58c721 Updated examples 3-6 2014-01-23 10:52:14 -08:00
Jonathan Frederic
00b39af9cf Fixed type in container
._children was not being set...  Instead the value was being returned (useless).
2014-01-23 09:12:05 -08:00
Jonathan Frederic
91e82218a8 Changed selection widget API to use labels list
for mapping custom str reprs to items in the selection list
2014-01-22 17:15:10 -08:00
Jonathan Frederic
7aa51f46c4 Updated widget tutorials 1-2 2014-01-22 17:14:45 -08:00
Jonathan Frederic
7f12f35fea Added code that removes the views when a model/widget is closed. 2014-01-22 16:28:17 -08:00
Jonathan Frederic
288b8a0ced s/view_name/_view_name 2014-01-22 16:21:00 -08:00
Jonathan Frederic
2d13d05e9c Replace O(N^2) algorithm with a faster one. 2014-01-22 16:14:20 -08:00
Jonathan Frederic
9e643f5692 Support multiple types in selection widget. 2014-01-22 15:53:58 -08:00
Jonathan Frederic
c9973a7114 Float widget views now inherit from int counterparts 2014-01-22 15:00:36 -08:00
Jonathan Frederic
2bb9ba9a9c Adjusted throttling 2014-01-22 12:53:59 -08:00
Jonathan Frederic
9560b29beb Removed float widget bound tests,
once the int widget inherits from the float, or vise-versa, the tests
will be covered by the int
2014-01-22 12:12:08 -08:00
Jonathan Frederic
1b8b6b3a88 Fixed bug where views child to other views would not have cell information 2014-01-22 12:04:53 -08:00
Jonathan Frederic
f06a0a7d5e Fixed a couple more context typos 2014-01-22 11:31:01 -08:00
Jonathan Frederic
629d65da89 Fixed context errors and a couple of typos to get the tests working again 2014-01-22 11:16:50 -08:00
Jonathan Frederic
99f3f5155e Fixed some typos related to _.each loops 2014-01-21 17:23:12 -08:00
Jonathan Frederic
d7b86104b8 Fixed typo - else -> elif 2014-01-21 17:14:34 -08:00
Jonathan Frederic
046280b51a s/ModalView/PopupView 2014-01-21 17:09:49 -08:00
Jonathan Frederic
7ce9f37b17 Made tests reflect changes to widget naming scheme. 2014-01-21 16:52:37 -08:00
Jonathan Frederic
10bd54bd30 Move js *RangeWidget code into *Widget 2014-01-21 16:49:35 -08:00
Jonathan Frederic
e323f64e6d Create base widget classes 2014-01-21 16:44:57 -08:00
Jonathan Frederic
b432b4840f Use CUnicode for width and height in ImageWidget 2014-01-21 16:33:49 -08:00
Jonathan Frederic
c5e48c0b75 Added some small comments to widget code 2014-01-21 16:32:18 -08:00
Jonathan Frederic
80c3339791 - remove second line in create_child_view
- add undefined check in delete_child_view
2014-01-21 16:29:59 -08:00
Jonathan Frederic
58f56a5dd7 Explicitly return null if there aren't any results 2014-01-21 16:28:26 -08:00
Jonathan Frederic
08e40697de Removed for () loops where necessary. Replaced with _.each 2014-01-21 16:26:03 -08:00
Jonathan Frederic
35a02a0436 Replace .html with .text everywhere possible 2014-01-21 15:38:37 -08:00
Jonathan Frederic
af4809bec4 Prefer JQuery to Underscore 2014-01-21 15:24:47 -08:00
Jonathan Frederic
d9a703d305 'create' should be handled in sync 2014-01-21 15:22:26 -08:00
Jonathan Frederic
2b27b4101b Remove todo in apply update 2014-01-21 15:21:44 -08:00
Jonathan Frederic
e823d386ab Fixed name conflict with _property_lock 2014-01-21 15:18:49 -08:00
Jonathan Frederic
077bd5c6ca Added new CallbackDispatcher class 2014-01-21 15:14:27 -08:00
Jonathan Frederic
611614b6eb Document in widget packing that vaues must be JSON-able. 2014-01-21 14:25:08 -08:00
Jonathan Frederic
cf05ef015a ict comprehension and list comprehension in pack/unpack widgets 2014-01-21 14:23:44 -08:00
Jonathan Frederic
cb6094281c s/custom_content/content 2014-01-21 14:17:57 -08:00
Jonathan Frederic
5fe860ed26 Added doc strings to properties in widget.py 2014-01-21 14:16:24 -08:00