Min RK
02b757770b
Merge pull request #8273 from SylvainCorlay/fixes_widget_serialization
...
Minor fixes on custom serialization, and traitlet hold_traits
11 years ago
Sylvain Corlay
6c4cd1c1be
Check for null value
11 years ago
Sylvain Corlay
672f5fc72c
minor fixes on custom serialization, and traitlet hold_traits
11 years ago
unknown
0745f35b2f
Pass the arguments to the callback in the on_some_change function
11 years ago
Sylvain Corlay
3b200d388b
Move _unpack_models to widget.js and widget serialization to widget.py
11 years ago
Jason Grout
4d86d06940
Export the widget unpack_models function for other custom classes to use
...
Thanks to @jdfreder for this suggestion.
11 years ago
Jason Grout
58098aebc1
Register widget models and views that have the right inheritance, rather than the right name.
...
Thanks to @jdfreder for this suggestion.
11 years ago
Jason Grout
15c29f685c
Change custom serialization to use custom models, rather than transmitting the serializer name across the wire
...
This separates the kernel and the js much more cleanly, and doesn't use as much space on the wire as well!
11 years ago
Jason Grout
d6def13dbd
Fix serialization of models from js -> kernel
11 years ago
Jason Grout
50a0cd57ef
Handle case when pixel values are undefined or null
11 years ago
Jason Grout
5c797f9672
Simplify error handling for errors in sending sync messages from js
11 years ago
Jason Grout
18ff9c5e1c
Fix two calls to utils.reject (misplaced parens)
11 years ago
Jason Grout
c70f687c0e
Increment the pending_msgs counter immediately to avoid race conditions that send more messages
11 years ago
Jason Grout
4ef0a23839
work-in-progress for custom js serializers
11 years ago
Sylvain Corlay
55246125e4
Adding readout for Valid widget
11 years ago
Sylvain Corlay
c1a3e7f389
Valid widget
11 years ago
Nicholas Bollweg
1fa4296cef
fixes #8012
11 years ago
Jonathan Frederic
5ad87d13d6
Merge pull request #7902 from gertingold/radio
...
fix margin in RadioButtons
11 years ago
Jonathan Frederic
e09b83e910
Merge pull request #7725 from SylvainCorlay/fabutton
...
Adding font-awesome icon to button and toggle button
11 years ago
Sylvain Corlay
03b884a615
Moving styling to else statement
11 years ago
Min RK
17ee541add
actually catch failure to load widget state
...
load callback was called directly,
rather than in promise function that catches errors
11 years ago
Gert-Ludwig Ingold
5cef46f26e
fix margin in RadioButtons
11 years ago
Jonathan Frederic
63b181a1a2
Only style direct decendants.
11 years ago
Jonathan Frederic
1fbbda5a14
Pad interact widgets.
11 years ago
Jonathan Frederic
c65a28eb42
Merge pull request #7794 from SylvainCorlay/css_numeric_text
...
Minor styling fix for IntText and FloatText widgets
11 years ago
Jason Grout
0b2f212786
Force display_message to be processed in order
...
Otherwise sometimes the display message will be processed before the update message.
11 years ago
Sylvain Corlay
0daa48b2c9
wrong css class for widget-int
11 years ago
Sylvain Corlay
a70b65b5b4
Font-awesome icons for toggle buttons
11 years ago
Sylvain Corlay
829d25bdfd
Tooltips in togglebuttons
11 years ago
dongweiming
bf3b9dc0c6
fix Radio margin
11 years ago
Sylvain Corlay
da96d28620
font awesome icon
11 years ago
Jonathan Frederic
d78915af13
Fix variable scope.
11 years ago
Nicholas Bollweg
39e7836ddc
firing select.change on option.click
11 years ago
Nicholas Bollweg
7643b3ccf0
listening for change on SelectView and SelectMultipleView
11 years ago
Nicholas Bollweg
6a372a4c66
squashing the whitespace changes
11 years ago
Matthias Bussonnier
1ce46a8723
Merge pull request #7481 from minrk/toggle-buttons-indicate
...
don't set bootstrap toggle on ToggleButtonsWidget
11 years ago
Jonathan Frederic
273a8030d9
Hook the output the right way.
11 years ago
Jonathan Frederic
39b99340ed
Finished changing output widget logic.
11 years ago
Jonathan Frederic
705bd90653
Start forwarding the messages over widget custom messages
11 years ago
Min RK
a152a481d0
don't set bootstrap toggle on ToggleButtonsWidget
...
model update already toggles active and data-toggle does the same,
so clicking on a toggle toggles twice, setting it back to the original value.
11 years ago
Min RK
da07d77f82
encode URI components in selection widget queries
...
avoids failure to find items when composing attribute queries
11 years ago
Min RK
9e3e5cfca7
store widget state in single key
...
rather than in a dict, which doesn't work without reserializing *all* stored widget states (of all notebooks), since localStorage only supports storing strings.
11 years ago
Min RK
ffaa09492a
Merge pull request #7315 from Carreau/codacy2
...
miscellaneous cleanup
11 years ago
Min RK
796b480922
Merge pull request #7359 from jdfreder/tab-fix
...
Accordion and Tab widget, fixes for ancient bugs.
11 years ago
Jonathan Frederic
ad546d89f9
Merge pull request #7341 from jdfreder/remove-popup
...
Remove the popup widget
11 years ago
Matthias Bussonnier
41f24bbe2c
Merge pull request #7358 from jdfreder/persistence-page-specific
...
Associate widget state persistence with current URL.
11 years ago
Jonathan Frederic
47c12abbf3
Fix a bunch of bugs with the accordion and tab widgets
11 years ago
Jonathan Frederic
8ad7cb3f4b
Associate persistence with URL
11 years ago
Jonathan Frederic
8e54937893
Fixed pre-display "pixel-like" widget attribute parsing
11 years ago
Jonathan Frederic
1a1c93b9d2
Remove modal less
11 years ago