Commit Graph

1056 Commits (d103c682c54eee8d356e97b7798bf33db5c11b19)

Author SHA1 Message Date
Jason Grout a0b2cc40b8 Make widget keys have more explicit inheritance
12 years ago
Jason Grout ce98452180 Get rid of keys magic; make the keys very explicit
12 years ago
Jason Grout f0a4b9ea30 Make the widget keys property traverse the superclasses and accumulate the _keys attributes.
12 years ago
Jason Grout 7cbda99b0d Add widget view options in creating child views
12 years ago
Jonathan Frederic 7c3b21d239 Fixed typo in model_id property
12 years ago
Jonathan Frederic 0c8b6029a6 Remove debug print statements in container tests
12 years ago
Jonathan Frederic d2afb9895b Output one more for debugging
12 years ago
Jonathan Frederic 7f430db3c8 Print cell output
12 years ago
Jonathan Frederic 12760ddbe5 deleted: wigets_container.js
12 years ago
Jonathan Frederic 74fccf47b3 Revert "Added line to dump page html casperjs"
12 years ago
Jonathan Frederic 8891750535 Fixed static_url call which is no longer optionally 1 param
12 years ago
Jonathan Frederic c7362cb524 Added line to dump page html casperjs
12 years ago
Jonathan Frederic 926c93eb84 Fixed indentation in widgetmanager.js
12 years ago
Jonathan Frederic 57f3057ca5 Moved view widget into widget.py
12 years ago
Jonathan Frederic 46e88dc205 Fixed indent of line 450
12 years ago
Jonathan Frederic a2235efbea Further indentation cleanup
12 years ago
Jonathan Frederic 2e4abaa13d Removed console.log, unused
12 years ago
Jonathan Frederic 35a536f3b8 Re-decoupled comm_id from widget models
12 years ago
Jonathan Frederic 1b4e2ad6fe Added ViewWidget
12 years ago
Jonathan Frederic 399f11e2b2 renamed: wigets_container.js -> widgets_container.js
12 years ago
Jonathan Frederic c3189c1c93 Fixed JS tests to reflect Jason's changes
12 years ago
Jonathan Frederic 8732761524 Added `update_children` pattern to remaining parent widgets
12 years ago
Jonathan Frederic 2211abd28d Converted tabs to spaces
12 years ago
Jason Grout b41f77e635 Fix the python side of the add/remove class functions to send custom messages
12 years ago
Jason Grout 44e2043afe Live updates for children automatically change container views.
12 years ago
Jason Grout b52043b4f7 Get the add/remove css classes working
12 years ago
Jason Grout a8c8c2a5fd General cleanup of base.js, including indentation fixes and adding view callbacks to the save options dictionary.
12 years ago
Jason Grout 747b219771 Move some Widget class references to BaseWidget
12 years ago
Jason Grout 00472333ec log the error stack for a kernel javascript error message
12 years ago
Jason Grout 07ffef8392 Make sure containers transmit the children; take care of case where children is possibly empty.
12 years ago
Jason Grout 7810c78aea Fix visible attribute for the very first render
12 years ago
Jason Grout 9b1a0d70a2 fix a handle_status handler
12 years ago
Jason Grout 1bf8da0734 Note todos for widgets
12 years ago
Jason Grout 38f0135522 Delete the snapshot message handler
12 years ago
Jason Grout 9a4c5957c3 Store views in the models and store child views in the views
12 years ago
Jason Grout 7431fa37dd Make updates more granular for widgets
12 years ago
Jason Grout 641a5af70f Move all references to cells to the view objects.
12 years ago
Jason Grout 45206783c2 Delete unnecessary check for comm object
12 years ago
Jason Grout 41170f7471 Change accordion to use a children attribute
12 years ago
Jason Grout 18beaff887 Remove unused code and debugging statements
12 years ago
Jason Grout 72f7d2fe09 Remove the automatic _children_attr and _children_lists_attr.
12 years ago
Jason Grout ad1e23bfc2 Intermediate changes to javascript side of backbone widgets
12 years ago
Jason Grout 518cb4c647 Separate the display from the models on the python side, creating a BaseWidget class.
12 years ago
Jonathan Frederic 2df05bc5b8 Display handler now supports full kwargs
12 years ago
Jonathan Frederic 3361826b5a Added require.js shims for underscore and backbone
12 years ago
Jonathan Frederic b588a56f76 Moved touch logic out of model into view.
12 years ago
Jonathan Frederic a2c951d9b0 s/display/created for display_view stuff
12 years ago
Jonathan Frederic 996d133710 Remove redundent _handle_close method
12 years ago
Jonathan Frederic 857ae831fb Decoupled Python Widget from Comm
12 years ago
Jonathan Frederic f2fefe20ff Added event for widget construction
12 years ago
Jonathan Frederic ea27ae599b Added parent parameter to on_display callback
12 years ago
Jonathan Frederic d4b6823a49 Removed unused that from widget manager
12 years ago
Jonathan Frederic 73380ca442 Fixed nonregistered model bug in wiget manager
12 years ago
Jonathan Frederic 3c866ea412 Made widget model state update function public
12 years ago
Jonathan Frederic 8ceb29796a Made display_view a public method.
12 years ago
Jonathan Frederic 19e9cee437 Fix, require.js needs return of widget manager for other widgets
12 years ago
Jonathan Frederic d7c0498b13 renamed: widget.js -> widgetmanager.js
12 years ago
Jonathan Frederic 3d7557b740 Moved base widget model and view into widgets/base.js
12 years ago
Jonathan Frederic 3a936676dc Removed comm dependency of widget model and view
12 years ago
Jonathan Frederic 8120778e5a Fixed some spacing in widget.js
12 years ago
Jonathan Frederic 5678617d8f Fixed context of onclick callbacks selection widget views
12 years ago
Jonathan Frederic 4e3b2b3e94 jslint /widgets
12 years ago
Jonathan Frederic f1986755ec Removed button.close() test because it caused the test framework to hang
12 years ago
Jonathan Frederic 43bd3ae2ef Organized tests.
12 years ago
Jonathan Frederic 8853e40905 Added throttling test
12 years ago
Jonathan Frederic aae6970944 Added StringWidget tests
12 years ago
Jonathan Frederic a3a8a1efb1 Added list modification test to selection widget.
12 years ago
Jonathan Frederic 401997580e Added selection widget tests
12 years ago
Jonathan Frederic df2c5d7d06 Removed js test utils commit and rebased with master.
12 years ago
Jonathan Frederic 4ec03f00d9 Partially implemented selection widget tests
12 years ago
Jonathan Frederic 3bc9d12eb8 jshint widget.js
12 years ago
Jonathan Frederic d398ab6720 Added multicontainer widget tests
12 years ago
Jonathan Frederic e9bf942375 Fixed backbone event handling for accordion view
12 years ago
Jonathan Frederic 35e74c41b8 Added int range and int widget tests.
12 years ago
Jonathan Frederic 2ae3e86b50 Added ImageWidget tests
12 years ago
Jonathan Frederic b66bd65e75 Added float widget tests
12 years ago
Jonathan Frederic fbaeb9bb20 Fixed flushed messages not getting sent with new 'method' message tag
12 years ago
Jonathan Frederic a880181297 Added float range widget tests
12 years ago
Jonathan Frederic 1b02e8f607 Add ImageWidget
12 years ago
Jonathan Frederic 186e756da9 Remove uneccessary lines in String.js
12 years ago
Jonathan Frederic a6e5ec942c Added LatexView
12 years ago
Jonathan Frederic b656f34c48 s/LabelView/HTMLView
12 years ago
Jonathan Frederic fff6263840 Fab CSS
12 years ago
Jonathan Frederic d21426d461 - Fixed CSS so it also applies to widgets within modals
12 years ago
Jonathan Frederic 32a8d43afc - ModalView can now be docked and undocked
12 years ago
Jonathan Frederic 5e01a6bb1e Uncommented parent/child test that was failing
12 years ago
Jonathan Frederic 6cfdb5848a Fix bug where a child view could be displayed in a
12 years ago
Jonathan Frederic b020a0b129 Add container tests
12 years ago
Jonathan Frederic 1865d07928 Added bool widget value toggle tests
12 years ago
Jonathan Frederic 9a15dca291 Added test to check initial states of bool views
12 years ago
Jonathan Frederic e2143d5a8f Added basic bool widget tests
12 years ago
Jonathan Frederic 0b580b9f9a Make widget tests use new casper util functions
12 years ago
Jonathan Frederic ced0de342d Cleaned up utilities in widget casper js tests
12 years ago
Jonathan Frederic b53802472b Added button tests
12 years ago
Jonathan Frederic 9d8a0f62f1 Basic test widget button.
12 years ago
Jonathan Frederic 8e1c52382c Added `method` property to messages from the front-end
12 years ago
Jonathan Frederic d371e3772a Make selector property of the add and remove class packets optional.
12 years ago
Jonathan Frederic d69e957b9a Added support for disabled flag to button widget.
12 years ago
Jonathan Frederic 1536c45955 Replace model 'update' event with the backbone 'sync' event, added in 1.0
12 years ago
Jonathan Frederic dd31af4462 Do not vertically center modal
12 years ago