Sylvain Corlay
4b6c753f3f
Dates are JavaScript objects, and _pack_models returns an empty object
11 years ago
Jonathan Frederic
ba77877c18
Rebase fixes
11 years ago
Jonathan Frederic
db10ae8f2d
s/target_name/widget_class
11 years ago
Jonathan Frederic
3cb5ac6fbb
Clarified API for the create_model function,
...
Also added a test!
11 years ago
Jonathan Frederic
a68df8a8b1
Address @minrk 's review comments.
11 years ago
Jonathan Frederic
fbca0bfa3f
Rebase fixes.
11 years ago
Jonathan Frederic
5a655b24da
Fixed typo.
11 years ago
Jonathan Frederic
2b5ebb9e8f
Make Python push initial state.
...
Also added initial state push callback.
11 years ago
Jonathan Frederic
e7ee9c12b3
Enable widget instanciation from front-end.
11 years ago
Thomas Kluyver
031530da42
Support specifying requirejs modules for widget models
11 years ago
Jonathan Frederic
79670e8afb
Merge pull request #6494 from takluyver/widget-comm-require
...
Allow widget views to be loaded from require modules
11 years ago
Sylvain Corlay
43d08b0795
fix alignment
11 years ago
Min RK
60bfcf8c74
Merge pull request #6665 from jdfreder/travis_please_run_on_this
...
Separate widget model name from com target name.
11 years ago
Jonathan Frederic
4b968ece0b
s/target_name/model_name
11 years ago
Matthias Bussonnier
65f41327c9
Merge pull request #6106 from chronitis/interact-slider-textedit
...
Allow text input on slider widgets
11 years ago
Jonathan Frederic
24096b0f45
Separate widget model name from com target name.
11 years ago
Jonathan Frederic
032300ea49
Merge pull request #6645 from jdfreder/css_order
...
Make sure DOMWidget _css is set after basic style traits
11 years ago
Thomas Kluyver
6163656f28
Merge pull request #6634 from minrk/select-contains
...
don't use contains in SelectWidget item_query
11 years ago
Jonathan Frederic
176529cce2
Make sure DOMWidget _css is set after basic style traits
11 years ago
Jonathan Frederic
60531c917f
Merge pull request #6481 from jdfreder/intvalidatefix
...
Fix bug in bounded int/float logic.
11 years ago
MinRK
6740d0492e
don't use contains in SelectWidget item_query
...
gives false positive matches when some values are substrings of others
11 years ago
Thomas Kluyver
825284bc6d
Remove superfluous error checking
11 years ago
Thomas Kluyver
590ba19ac3
Clean up some JS code
11 years ago
Thomas Kluyver
1ff846520b
Put callbacks for create_view and create_child_view in options
...
And add errback support
11 years ago
Thomas Kluyver
c4a9cf9020
Fix logic
11 years ago
Thomas Kluyver
09b10dcb86
Make changes suggested by @jdfreder
11 years ago
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.
11 years ago
Jason Grout
7700848737
Add semantic classes to top-level containers for single widgets
...
This makes it much easier to customize all widgets of a certain type using
CSS. For example, to change just the IPython widget selects, a CSS
rule like .widget-select select {...} should work well.
11 years ago
Sylvain Corlay
8a384cd489
adding a tooltip in IPython buttons
11 years ago
Gordon Ball
48b6f53f51
Require base/js/keyboard and use keycode.enter
11 years ago
Jonathan Frederic
60bf0f5b2f
s/apply_update/set_state
11 years ago
Jonathan Frederic
b5195e1b17
Merge pull request #6548 from SylvainCorlay/widget_views_by_id
...
Make WidgetModel.views be an object indexed by view id
11 years ago
sylvain.corlay
60925f0a1a
hasOwnProperty
11 years ago
Jason Grout
1204af464b
on("destroy",...) -> once("destroy",...) so we don't keep a reference to it, preventing gc
...
Thanks to Sylvain Corlay for the suggestion.
11 years ago
Jason Grout
9d96319f76
Load the link models
11 years ago
Jason Grout
d00be3a8a1
Load link widget javascript
11 years ago
Jason Grout
bba453aa0b
Fix whitespace
11 years ago
Sylvain Corlay
859de50a68
Adding directional link widget
11 years ago
Jason Grout
34939886a3
Adding Link widget
11 years ago
Sylvain Corlay
d8635fc1cc
on_atomic_change -> on_some_change
11 years ago
Sylvain Corlay
b6a0f60d3f
Make Widget.views be an object indexed by view id
11 years ago
Sylvain Corlay
a9fca81e95
Set default view to None and never display widget with no view
11 years ago
Jonathan Frederic
aec576a5f2
Fix infinite loop typo
11 years ago
Gordon Ball
3ec873b084
Change _parse_text_input to _parse_value and update float range regex
11 years ago
Gordon Ball
3011820cd3
Add support for parsing pairs of numbers for range sliders
11 years ago
Gordon Ball
67630b0886
Ignore the event object for handleTextChange
11 years ago
Gordon Ball
0f7fbc0781
Add keydown listener to commit changes on <enter>
11 years ago
Gordon Ball
0b45bacd0d
Add support to the float slider
11 years ago
Gordon Ball
6a976cf2b6
Use contentEditable to allow modification via the the slider readout
11 years ago
Sylvain Corlay
fb336de4ed
register bare views
12 years ago
Brian E. Granger
4ec1a3b41e
Merge pull request #6235 from jdfreder/addclass
...
Remove add/remove_class and set/get_css.
12 years ago
Jonathan Frederic
9f3dfbc56c
Fix slidercolor on widget construction
12 years ago
Jonathan Frederic
d4d554052e
Address problems found in in-person review
12 years ago
Jonathan Frederic
a7e7f95ef1
Remove forgotten hreadout
12 years ago
Jonathan Frederic
02d7039a00
Cleaned up hbox and vbox widget div styles,
...
removed 5px margin
12 years ago
Jonathan Frederic
6637b768cc
Merge pull request #6463 from SylvainCorlay/bulk_update
...
Bulk update of widget attributes
12 years ago
Sylvain Corlay
cd782c916d
state_lock loop
12 years ago
Sylvain Corlay
769e7fa108
rename to on_atomic_change
12 years ago
Jonathan Frederic
591b2b3ad7
Tabs->Spaces
12 years ago
Jonathan Frederic
02e3a58030
s/fore_color/color
...
s/back_color/background_color
12 years ago
Jonathan Frederic
0acd8daf71
Merge pull request #6438 from SylvainCorlay/model_destroy_message
...
Destroy backbone model on comm:close
12 years ago
Sylvain Corlay
e809fcb545
stop listening
12 years ago
Sylvain Corlay
75cb63fba2
Adding a comment and renaming on_bulk_change to on_change
12 years ago
Sylvain Corlay
06747c1ada
simplification of trigger destroy
12 years ago
Sylvain Corlay
222dc5fb3e
Destroy backbone model on comm:close
12 years ago
sylvain.corlay
e77b21cb22
optimization of WidgetModel.apply_update
12 years ago
sylvain.corlay
6eea0c37aa
Added on_bulk_change method in WidgetModel
12 years ago
weichm
06b2926a0a
"event" is not defined error in Firefox
...
see http://stackoverflow.com/questions/20522887/referenceerror-event-is-not-defined-error-in-firefox
"WebKit follows IE's old behavior of using a global symbol for "event", but Firefox doesn't..."
12 years ago
Jonathan Frederic
cb9014e42c
Fixed rebase bugs and other bugs.
12 years ago
Jonathan Frederic
fa1c6f93f1
Added bootstrap3 progress bar classes
12 years ago
Jonathan Frederic
9b4d19bad7
Added Bootstrap specific classes,
...
and fixed a few bugs here and there...
12 years ago
Jonathan Frederic
a0e70e350f
Fix some bugs found by the widget examples,
...
add margin and padding base traits,
add overflow traits to box base.
12 years ago
Jonathan Frederic
42cc27e1f5
Finished style attributes.
12 years ago
Jonathan Frederic
fdcf263965
Partial implementation of styles
12 years ago
Jonathan Frederic
9af77a6374
Initial crack at using specific traits for styling.
12 years ago
Jonathan Frederic
f85a01041c
Remove add/remove class methods,
...
Remove helper set/get css methods
12 years ago
Gordon Ball
a12b1a50a9
Change `range` trait to `_range`
12 years ago
Gordon Ball
1a8b77231e
Remove errant tabs from js
12 years ago
Gordon Ball
b8c0afbb55
Merge master
12 years ago
Brian E. Granger
94f717781d
Merge pull request #6125 from jdfreder/flex
...
Embrace the flexible box model in the widgets
12 years ago
Jonathan Frederic
62bd36bcc9
s/that/this bug
12 years ago
Gordon Ball
08895738f2
Merge master
12 years ago
Jonathan Frederic
ed593f02f1
Merge pull request #6171 from tarzzz/slider-value-validate
...
Validate slider value, when limits change
12 years ago
Jonathan Frederic
2790684a17
Fixed typo
12 years ago
Jonathan Frederic
afdba2fd47
Fix logic, use box where applicable
12 years ago
Jonathan Frederic
9b5ece6661
Make popup inherit from widget box
12 years ago
Jonathan Frederic
0aca365718
Address Sylvain's comments.
12 years ago
Tarun Gaba
258b888835
added 'var'
12 years ago
Tarun Gaba
dda92ff7ea
Removed another stray alertO
12 years ago
Tarun Gaba
825186c868
Removed alert statement!
12 years ago
Tarun Gaba
539596bcdd
adressed @jdfrederer's concern!
12 years ago
Jonathan Frederic
2db702fa57
Filenames s/container/box
12 years ago
Jonathan Frederic
d985ee86c6
s/Container/Box
12 years ago
Jonathan Frederic
848c223785
Rebase cleanup
12 years ago
Sylvain Corlay
c9ed512d54
adding hbox and vbox
...
Conflicts:
IPython/html/static/widgets/js/widget_container.js
IPython/html/widgets/widget_container.py
12 years ago
Jonathan Frederic
6faf86ee77
Embrace flexible box model
12 years ago
Gordon Ball
ff3f952b18
Merge branch 'master' into interact-range-widgets
...
Conflicts:
IPython/html/static/style/ipython.min.css
IPython/html/static/style/style.min.css
IPython/html/static/widgets/js/widget_int.js
12 years ago
Jonathan Frederic
ba0a805404
Merge pull request #6226 from jasongrout/css-top-default
...
Remove $el_to_style from the widget javascript code; '' now defaults to this.$el
12 years ago
Jonathan Frederic
0ee948efca
Merge pull request #6200 from SylvainCorlay/widget-changes
...
Partial update of DOMWidgetView styling and simplification of containers.
12 years ago
Sylvain Corlay
c03a3eb6d2
making the use of options explicit
12 years ago
Jason Grout
eccc20ce1a
Remove $el_to_style from the widget javascript code; '' now defaults to this.$el
...
This seems to make it easiest to select the top-level element. An alternative is to use special syntax for top-level elements, like in https://github.com/ipython/ipython/pull/6185
This will be followed up by other fixes that let the user set specific common properties of different elements.
This change also adds the .addBack() call, which means that nonempty selectors now apply to this.$el and its descendants, rather than just the descendants of this.$el.
12 years ago
sylvain.corlay
2ca04578cf
adding options explicitly
12 years ago
Thomas Spura
01dec53cf9
Port more icons to fontawesome-4
12 years ago
Brian E. Granger
2999510bfa
Merge pull request #6182 from SylvainCorlay/do-diff-correction
...
do_diff function was always removing all views from the old list.
12 years ago
Sylvain Corlay
93ee9ea7a9
removing timout
12 years ago
sylvain.corlay
5c0fda1dc0
correction
12 years ago
sylvain.corlay
34fe520742
widget changes continued
12 years ago
sylvain.corlay
972fbb5f34
widget simplification continued
12 years ago
sylvain.corlay
8e8e6291d4
Partial updates of css and visible + simplification of widget_container
12 years ago
Brian E. Granger
29d67ed8a3
Merge pull request #6168 from SylvainCorlay/once-displayed
...
once-displayed
12 years ago
Brian E. Granger
372507e3f1
Merge pull request #6128 from jasongrout/widget-trait-serialization
...
Widget trait serialization
12 years ago
Sylvain Corlay
cd7942eb06
renaming once_displayed into after_displayed
12 years ago
Sylvain Corlay
cfc4a62a85
one more bit
12 years ago
MinRK
d345546d15
add bootstrap shim for require
...
it was possible for bootstrap js to load before jquery,
causing failures in the dashboard.
12 years ago
Sylvain Corlay
b4d5094645
correction in widget.js
12 years ago
Tarun Gaba
1eef26754f
A comma after `this.touch`
12 years ago
Tarun Gaba
dab68840dd
Sending data back to python object after slider values change
12 years ago
Tarun Gaba
dc2672f2ec
The value of slider changes in frontend, and readout, but not in python obj.
12 years ago
Tarun Gaba
62c9ee7c2a
Validate slider value, when limits change
12 years ago
Tarun Gaba
fb540c52f5
Added jquery in define
12 years ago
Sylvain Corlay
a2e9d90bd0
incorrect comment
12 years ago
Sylvain Corlay
8bc4ea37a1
unnecessary context variable specify
12 years ago
Sylvain Corlay
1eb2a30efb
once-displayed
12 years ago
Jason Grout
eed0715a09
Prepend a sentinel value to model ids to distinguish them from normal UUIDs (from Sylvain Corlay).
12 years ago
Sylvain Corlay
70cacc642a
Solving #5997 : instances of WidgetView (that are not instances of DOMWidgetView) do not trigger widget_area.show anymore.
12 years ago
Jonathan Frederic
b15633a89e
Fix all the tests
12 years ago
Jonathan Frederic
2478fac032
More requirejs fixes
12 years ago
Jonathan Frederic
2ba8945cab
Fix all the bugs!
12 years ago
Jonathan Frederic
c7961ae2db
Fix imports of "modules",
...
required after converting everything into dictionary returns.
12 years ago
Jonathan Frederic
0e9e1dd5a3
MWE,
...
Fixed LOTS of bugs
12 years ago
Jonathan Frederic
0da779d101
Done with major changes,
...
fixed widget IPython. references
12 years ago
Jonathan Frederic
516958ac07
Almost done!
...
Still need to check IPython uses in the widgets.
12 years ago
Jonathan Frederic
1a30a12302
Ahhh bug fix!
12 years ago
Jonathan Frederic
df47869fb0
Move displayed event to view.
12 years ago
Jonathan Frederic
fa39d91446
Review comments
12 years ago
Jonathan Frederic
988fd1b5f9
Reverted strange change that I don't remember making to update method.
12 years ago
Jonathan Frederic
3a9d888f02
Removed respect_order and finally removed the children dict of the containerview
12 years ago
Jonathan Frederic
f51903ca03
Bug fixes
12 years ago
Jonathan Frederic
f1269d3de3
Add order respecting method
12 years ago
Jonathan Frederic
636362787b
Fixed buggy behavior
12 years ago
Jonathan Frederic
14ff754cdf
Allow a widget to be displayed more than once within a parent widget.
12 years ago
Gordon Ball
412605917c
Adjust range style so that the vertical range marker is visible
12 years ago
Gordon Ball
3178a184c0
Add initial implementation of 2-handle range sliders for integers.
12 years ago
Jonathan Frederic
3bb8c472cd
Modal fixes for BS3
12 years ago
Jonathan Frederic
2d8afab3d4
Fix widget widths for Bootstrap3
12 years ago
Jonathan Frederic
33f7f4457f
Widget bootstrap3 fixes
12 years ago
Jonathan Frederic
329a387f4f
Fix automation errors.
12 years ago
Jonathan Frederic
d88daf1bb7
Ran jdfreder/bootstrap2to3
12 years ago
Brian E. Granger
c9f9f5bbd2
Merge pull request #5937 from jdfreder/i5709
...
Add latex support in widget labels,
12 years ago
Min RK
3badefd651
Merge pull request #5936 from jdfreder/i5821
...
Change widget css dict to a list,
12 years ago