Jason Grout
b52043b4f7
Get the add/remove css classes working
2014-01-16 10:57:11 +00:00
Jason Grout
a8c8c2a5fd
General cleanup of base.js, including indentation fixes and adding view callbacks to the save options dictionary.
2014-01-16 10:57:11 +00:00
Jason Grout
747b219771
Move some Widget class references to BaseWidget
2014-01-16 10:57:11 +00:00
Jason Grout
00472333ec
log the error stack for a kernel javascript error message
2014-01-16 10:57:11 +00:00
Jason Grout
07ffef8392
Make sure containers transmit the children; take care of case where children is possibly empty.
2014-01-16 10:57:11 +00:00
Jason Grout
7810c78aea
Fix visible attribute for the very first render
2014-01-16 10:57:11 +00:00
Jason Grout
9b1a0d70a2
fix a handle_status handler
2014-01-16 10:57:11 +00:00
Jason Grout
1bf8da0734
Note todos for widgets
2014-01-16 10:57:10 +00:00
Jason Grout
38f0135522
Delete the snapshot message handler
2014-01-16 10:57:10 +00:00
Jason Grout
9a4c5957c3
Store views in the models and store child views in the views
2014-01-16 10:57:10 +00:00
Jason Grout
7431fa37dd
Make updates more granular for widgets
2014-01-16 10:57:10 +00:00
Jason Grout
641a5af70f
Move all references to cells to the view objects.
2014-01-16 10:57:10 +00:00
Jason Grout
45206783c2
Delete unnecessary check for comm object
2014-01-16 10:57:10 +00:00
Jason Grout
41170f7471
Change accordion to use a children attribute
2014-01-16 10:57:10 +00:00
Jason Grout
18beaff887
Remove unused code and debugging statements
2014-01-16 10:57:10 +00:00
Jason Grout
72f7d2fe09
Remove the automatic _children_attr and _children_lists_attr.
...
When serializing, any Widget object is encoded as its comm_id. The view should know how to deal with the attribute, and should know that the attribute is a comm_id.
2014-01-16 10:57:10 +00:00
Jason Grout
ad1e23bfc2
Intermediate changes to javascript side of backbone widgets
2014-01-16 10:57:10 +00:00
Jason Grout
518cb4c647
Separate the display from the models on the python side, creating a BaseWidget class.
...
Conflicts:
IPython/html/widgets/widget.py
2014-01-16 10:57:10 +00:00
Jonathan Frederic
2df05bc5b8
Display handler now supports full kwargs
2014-01-16 10:57:10 +00:00
Jonathan Frederic
3361826b5a
Added require.js shims for underscore and backbone
...
This is necessary since underscore and backbone are no longer AMD
modules.
2014-01-16 10:57:10 +00:00
Jonathan Frederic
b588a56f76
Moved touch logic out of model into view.
...
View now updates using backbone events.
2014-01-16 10:57:10 +00:00
Jonathan Frederic
a2c951d9b0
s/display/created for display_view stuff
2014-01-16 10:57:09 +00:00
Jonathan Frederic
996d133710
Remove redundent _handle_close method
2014-01-16 10:57:09 +00:00
Jonathan Frederic
857ae831fb
Decoupled Python Widget from Comm
...
Fixed conflicts:
IPython/html/widgets/widget.py
2014-01-16 10:57:09 +00:00
Jonathan Frederic
f2fefe20ff
Added event for widget construction
2014-01-16 10:57:09 +00:00
Jonathan Frederic
ea27ae599b
Added parent parameter to on_display callback
2014-01-16 10:57:09 +00:00
Jonathan Frederic
d4b6823a49
Removed unused that from widget manager
2014-01-16 10:57:09 +00:00
Jonathan Frederic
73380ca442
Fixed nonregistered model bug in wiget manager
2014-01-16 10:57:09 +00:00
Jonathan Frederic
3c866ea412
Made widget model state update function public
2014-01-16 10:57:09 +00:00
Jonathan Frederic
8ceb29796a
Made display_view a public method.
2014-01-16 10:57:09 +00:00
Jonathan Frederic
19e9cee437
Fix, require.js needs return of widget manager for other widgets
2014-01-16 10:57:09 +00:00
Jonathan Frederic
d7c0498b13
renamed: widget.js -> widgetmanager.js
2014-01-16 10:57:09 +00:00
Jonathan Frederic
3d7557b740
Moved base widget model and view into widgets/base.js
2014-01-16 10:57:09 +00:00
Jonathan Frederic
3a936676dc
Removed comm dependency of widget model and view
2014-01-16 10:57:09 +00:00
Jonathan Frederic
8120778e5a
Fixed some spacing in widget.js
2014-01-16 10:57:09 +00:00
Jonathan Frederic
5678617d8f
Fixed context of onclick callbacks selection widget views
2014-01-16 10:57:09 +00:00
Jonathan Frederic
4e3b2b3e94
jslint /widgets
2014-01-16 10:57:08 +00:00
Jonathan Frederic
f1986755ec
Removed button.close() test because it caused the test framework to hang
2014-01-16 10:57:08 +00:00
Jonathan Frederic
43bd3ae2ef
Organized tests.
2014-01-16 10:57:08 +00:00
Jonathan Frederic
8853e40905
Added throttling test
2014-01-16 10:57:08 +00:00
Jonathan Frederic
aae6970944
Added StringWidget tests
2014-01-16 10:57:08 +00:00
Jonathan Frederic
a3a8a1efb1
Added list modification test to selection widget.
2014-01-16 10:57:08 +00:00
Jonathan Frederic
401997580e
Added selection widget tests
2014-01-16 10:57:08 +00:00
Jonathan Frederic
df2c5d7d06
Removed js test utils commit and rebased with master.
...
Also add test to see if selection widgets are atleast displayed.
2014-01-16 10:57:08 +00:00
Jonathan Frederic
4ec03f00d9
Partially implemented selection widget tests
2014-01-16 10:57:08 +00:00
Jonathan Frederic
3bc9d12eb8
jshint widget.js
2014-01-16 10:57:08 +00:00
Jonathan Frederic
d398ab6720
Added multicontainer widget tests
2014-01-16 10:57:08 +00:00
Jonathan Frederic
e9bf942375
Fixed backbone event handling for accordion view
2014-01-16 10:57:08 +00:00
Jonathan Frederic
35e74c41b8
Added int range and int widget tests.
2014-01-16 10:57:08 +00:00
Jonathan Frederic
2ae3e86b50
Added ImageWidget tests
2014-01-16 10:57:07 +00:00