Commit Graph

324 Commits

Author SHA1 Message Date
Min RK
7d465c7e96 Merge pull request #7139 from jdfreder/widget-space-fix
Fix padding of widgets.
2014-12-09 15:06:21 -08:00
Jonathan Frederic
2cc041444a Explicit 2.5px 2014-12-09 10:35:02 -08:00
Jonathan Frederic
cb12229480 Fix padding of widgets. 2014-12-08 17:32:43 -08:00
Jonathan Frederic
d466601dbb Persistence API,
This is a combination of 10 commits.
Enable widget instanciation from front-end.

Address @minrk 's review comments.

Make API that allows users to persist widget state easily.

Added support for view persistence

Started adding support for model persistence.

Half way there!

Finished persistence API.

Move persistence code into the widget framework.

Fin.

Bug fixes
2014-12-08 17:18:09 -08:00
Jonathan Frederic
80bfe779f5 Add warning to widget namespace import. 2014-12-04 15:38:13 -08:00
silviav12
a803717c5d Removed the two empty lines of dosctring in widget_float.py. 2014-12-01 20:45:16 +00:00
silviav12
6b7399c8e6 Added changes to dosctring documentation in widget_float.py (previous docstring written by me).
Added docstring documentation in widget_bool.py.
2014-11-30 18:27:47 +00:00
Silvia
b41a9c9586 Add docstring documentation for widget_float 2014-11-29 16:54:44 +00:00
Jonathan Frederic
2ef509e505 Add doc string to Output widget 2014-11-18 11:31:33 -08:00
Jonathan Frederic
a5779bcd0e Output Widget 2014-11-18 11:29:35 -08:00
Sylvain Corlay
7ac82931ca Tooltip on toggle button 2014-11-13 19:04:06 +00:00
Min RK
b5e7ce30ca handle setting Widget.comm = None
which is done in `Widget.close`

fixes loads of warnings in widget test output, caused every time a widget is closed.
2014-11-12 11:29:10 -08:00
Sylvain Corlay
ed5e602950 jupyter -> IPython 2014-10-29 21:52:03 -04:00
Sylvain Corlay
374459e5e7 Adding custom keys for core jptr notebook 2014-10-29 21:52:03 -04:00
Sylvain Corlay
18e77a090a registering core widgets 2014-10-29 21:52:03 -04:00
Sylvain Corlay
e5b347804a widget registry 2014-10-29 21:52:03 -04:00
Jonathan Frederic
ba77877c18 Rebase fixes 2014-10-28 17:55:36 -07:00
Jonathan Frederic
db10ae8f2d s/target_name/widget_class 2014-10-28 16:49:46 -07:00
Jonathan Frederic
cb2c76999c Address some more review comments... 2014-10-28 16:49:46 -07:00
Jonathan Frederic
a68df8a8b1 Address @minrk 's review comments. 2014-10-28 16:49:46 -07:00
Jonathan Frederic
fbca0bfa3f Rebase fixes. 2014-10-28 16:49:45 -07:00
Jonathan Frederic
2b5ebb9e8f Make Python push initial state.
Also added initial state push callback.
2014-10-28 16:49:45 -07:00
Jonathan Frederic
e7ee9c12b3 Enable widget instanciation from front-end. 2014-10-28 16:44:02 -07:00
Thomas Kluyver
031530da42 Support specifying requirejs modules for widget models 2014-10-24 12:14:43 -07:00
Jonathan Frederic
79670e8afb Merge pull request #6494 from takluyver/widget-comm-require
Allow widget views to be loaded from require modules
2014-10-21 10:11:41 -07:00
Jonathan Frederic
1172876191 Add version trait to Widget base,
From widget Trello: version numbers for widget models;
when reloaded, will give the widget a chance to do
something intelligent or fail (by default) if the
version number doesn't match.
2014-10-13 11:52:19 -07:00
Jonathan Frederic
6a304fc63c Merge pull request #6540 from takluyver/comms-mgr-needs-no-shell
Make comm manager (mostly) independent of InteractiveShell
2014-10-12 16:11:36 -07:00
Min RK
60bfcf8c74 Merge pull request #6665 from jdfreder/travis_please_run_on_this
Separate widget model name from com target name.
2014-10-09 11:45:41 -07:00
Jonathan Frederic
4b968ece0b s/target_name/model_name 2014-10-09 10:55:46 -07:00
Jonathan Frederic
24096b0f45 Separate widget model name from com target name. 2014-10-08 21:31:00 -07:00
Jonathan Frederic
60531c917f Merge pull request #6481 from jdfreder/intvalidatefix
Fix bug in bounded int/float logic.
2014-10-07 10:50:02 -07:00
Thomas Kluyver
09b10dcb86 Make changes suggested by @jdfreder 2014-10-05 09:35:54 -07:00
Thomas Kluyver
5953a3f874 Allow widget views to be loaded from require modules
This required refactoring things that create widget views to use
callbacks instead of return values.
2014-10-05 09:35:53 -07:00
Sylvain Corlay
54a36e7369 forcing value to be in values 2014-10-03 23:47:48 +00:00
Sylvain Corlay
8a384cd489 adding a tooltip in IPython buttons 2014-10-03 16:41:34 +00:00
Jonathan Frederic
f83140dae8 s/long thing/set_state 2014-09-30 15:55:31 -04:00
Jonathan Frederic
341527779b Fix notify_trait getting called too early. 2014-09-25 14:51:38 -07:00
Thomas Kluyver
3cb8c5a0a1 Merge pull request #6532 from SylvainCorlay/barewidgetmodels
Fix Issue #6530
2014-09-25 12:10:00 -07:00
Sylvain Corlay
a9fca81e95 Set default view to None and never display widget with no view 2014-09-24 23:10:41 -04:00
Thomas Kluyver
f420cdf3e7 Make comm_manager a property of kernel, not shell 2014-09-24 17:38:04 -07:00
Jonathan Frederic
aec576a5f2 Fix infinite loop typo 2014-09-24 15:48:19 -07:00
Matthias Bussonnier
684d739d92 Merge pull request #6520 from minrk/comm-default
avoid copious warnings in interact tests
2014-09-24 13:44:58 +02:00
Brian E. Granger
4ec1a3b41e Merge pull request #6235 from jdfreder/addclass
Remove add/remove_class and set/get_css.
2014-09-23 16:28:50 -07:00
Jonathan Frederic
d4d554052e Address problems found in in-person review 2014-09-23 15:18:00 -07:00
Brian E. Granger
1e8b4ee586 Merge pull request #6051 from chronitis/interact-widget-on-demand
Interact on_demand option
2014-09-23 14:02:12 -07:00
MinRK
ec4d3597c7 avoid copious warnings in interact tests
comm was mocked out, but in a way that makes traitlets complain
2014-09-22 13:21:19 -07:00
Gordon Ball
48e1a0b2bc s/choose/manual/g 2014-09-22 21:23:51 +02:00
Jonathan Frederic
02e3a58030 s/fore_color/color
s/back_color/background_color
2014-09-16 10:17:59 -07:00
Jonathan Frederic
9c1c4f9f0a Fix bug in bounded int/float logic. 2014-09-15 22:24:49 -07:00
Jonathan Frederic
78db5dc24e Merge pull request #6377 from jasongrout/fix-widget-prefix
Strip the IPY_MODEL_ prefix from widget IDs before referencing them.
2014-09-15 13:40:09 -07:00