Jonathan Frederic
9e643f5692
Support multiple types in selection widget.
12 years ago
Jonathan Frederic
c9973a7114
Float widget views now inherit from int counterparts
12 years ago
Jonathan Frederic
2bb9ba9a9c
Adjusted throttling
12 years ago
Jonathan Frederic
1b8b6b3a88
Fixed bug where views child to other views would not have cell information
12 years ago
Jonathan Frederic
f06a0a7d5e
Fixed a couple more context typos
12 years ago
Jonathan Frederic
629d65da89
Fixed context errors and a couple of typos to get the tests working again
12 years ago
Jonathan Frederic
99f3f5155e
Fixed some typos related to _.each loops
12 years ago
Jonathan Frederic
046280b51a
s/ModalView/PopupView
12 years ago
Jonathan Frederic
10bd54bd30
Move js *RangeWidget code into *Widget
12 years ago
Jonathan Frederic
c5e48c0b75
Added some small comments to widget code
12 years ago
Jonathan Frederic
80c3339791
- remove second line in create_child_view
...
- add undefined check in delete_child_view
12 years ago
Jonathan Frederic
58f56a5dd7
Explicitly return null if there aren't any results
12 years ago
Jonathan Frederic
08e40697de
Removed for () loops where necessary. Replaced with _.each
12 years ago
Jonathan Frederic
35a02a0436
Replace .html with .text everywhere possible
12 years ago
Jonathan Frederic
af4809bec4
Prefer JQuery to Underscore
12 years ago
Jonathan Frederic
d9a703d305
'create' should be handled in sync
12 years ago
Jonathan Frederic
2b27b4101b
Remove todo in apply update
12 years ago
Jonathan Frederic
cb6094281c
s/custom_content/content
12 years ago
Jonathan Frederic
097951a6b8
Remove residual tabs
12 years ago
Jonathan Frederic
b7cd129c37
Added a line that was accidently deleted during merge of 4e813c5
12 years ago
Jonathan Frederic
691cd56038
Change the callback logic so the order makes more sense:
...
*Now*
View calls Model which calls Widget Manager
*instead of *
View calls Widget Manager, which then the Model modifies right
before sync
12 years ago
Jason Grout
fe6edb26a6
Rewrite widget syncing
...
Conflicts:
IPython/html/static/notebook/js/widgetmanager.js
IPython/html/static/notebook/js/widgets/widget.js
12 years ago
Jonathan Frederic
e17200a533
Widget require.js fix
...
The WidgetManager namespace is passed around instead of a
widget_manager instance...
12 years ago
Jonathan Frederic
469c865603
Added support for multiple kernels.
12 years ago
Jonathan Frederic
6871c8f9e0
Cherry pick of @jasongrout 's 2bc2f96.
...
Only merged changes to notebook and kernel... (see original comment below).
Separate the widget registry from the widget managers;
attach widget managers to kernels.
Yet to do: take care of clean-up when a kernel is deleted
Conflicts:
IPython/html/static/notebook/js/widgetmanager.js
IPython/html/static/notebook/js/widgets/widget.js
12 years ago
Jason Grout
140d1872f7
Delete unnecessary save
12 years ago
Jason Grout
ce19a34d93
Pass the whole message into the widget manager display_view call
...
We do this so implementations can see metadata and any other things in the message, if they want.
Conflicts:
IPython/html/static/notebook/js/widgetmanager.js
12 years ago
Jason Grout
092e40df32
make the saving to python a method of the model, called with callbacks
...
Conflicts:
IPython/html/static/notebook/js/widgets/widget.js
12 years ago
Jason Grout
24ec0da125
Fix the cell reference in views
...
This solution is kludgy, but it does fix what broke when we tried to take the cell references out of views.
Conflicts:
IPython/html/static/notebook/js/widgets/widget.js
12 years ago
Jonathan Frederic
7cc6692fc4
Make dropdown view DOM swap elements on update.
12 years ago
Jonathan Frederic
82bf9c6826
Fix bug in all children containing views
12 years ago
Jonathan Frederic
d317532a38
Halign dict colons
12 years ago
Jonathan Frederic
bd3ba3328c
Added PEP8 style comments to all of the JS code.
12 years ago
Jonathan Frederic
bad85fb879
Remove O(N) cell by msg-id lookup
12 years ago
Jonathan Frederic
2aeac3a424
Make widget views work with new keyboard manager.
12 years ago
Jonathan Frederic
f86fe40c97
Fix rebase issues
12 years ago
Jonathan Frederic
6286f8b1ea
Fab CSS
12 years ago
Jonathan Frederic
74185a68e7
Got containers and mutlicontainers working! Yay
12 years ago
Jonathan Frederic
4017c7b27a
Fixed *almost* all of the test-detected bugs
12 years ago
Jonathan Frederic
c085593e2a
More fixes
12 years ago
Jonathan Frederic
d694666e66
A lot of bug fixes...
...
Related to 1-to-1 changes
12 years ago
Jonathan Frederic
c1c7bb7563
Everyone uses one model
12 years ago
Jonathan Frederic
00650fd64a
Dev meeting Jan 2014, widget review day 2
12 years ago
Jonathan Frederic
d103c682c5
Many checks off the todo list, test fixes
12 years ago
Jonathan Frederic
f6de685d9f
Use .apply for calling base with not proto-type.
...
See codecell for example.
12 years ago
Jonathan Frederic
1e37a46a55
Add a helper method that acts on the changes made to a list.
12 years ago
Jonathan Frederic
70c6a295d0
Finished renaming Multicontainer to SelectionContainer
12 years ago
Jonathan Frederic
a528610e07
renamed: ../static/notebook/js/widgets/widget_multicontainer.js -> ../static/notebook/js/widgets/widget_selectioncontainer.js
...
renamed: widget_multicontainer.py -> widget_selectioncontainer.py
12 years ago
Jonathan Frederic
643516f6f9
remove .html('');
12 years ago
Jonathan Frederic
c62b496b0e
s/image_format/format
12 years ago