MinRK
0eff2bb651
handle space-only strings, not just zero-length
12 years ago
MinRK
c50096334c
use non-breaking space for button with no description
...
to preserve button's size
reverses some inappropriate replacements of .html with .text.
closes #5113
12 years ago
Jonathan Frederic
1c564131c5
Fixed, set on recieve update triggering echos.
12 years ago
Jonathan Frederic
7b2787e508
Fixed typo
12 years ago
Jonathan Frederic
f4f2c92285
Keep a running diff instead of forcing a full state update
12 years ago
Jonathan Frederic
770d2bd3a0
Only send diff message if diff isn't corrupt.
...
Diff will corrupt if more then one model.set(...) call is made
before model.save (or view.touch() in our case).
12 years ago
Jonathan Frederic
5667947f9d
Revert "Let backbone get changed attrs"
...
This reverts commit 4dd4990ff146508894353e390601c659d2638ed3.
12 years ago
Jonathan Frederic
36b576b0bd
Let backbone get changed attrs
12 years ago
Jonathan Frederic
cd72883fc7
Revert "Fix incorrect usage of attrs"
...
This reverts commit 04aa0885bb143fd0409fe133ca572004ffa6dc0e.
12 years ago
Jonathan Frederic
0d80363240
Fix incorrect usage of attrs
12 years ago
Brian E. Granger
e765f894b6
Merge pull request #5023 from jdfreder/widget-arrays
...
Widgets- add ability to pack and unpack arrays on JS side.
12 years ago
Brian E. Granger
350705075b
Merge pull request #5012 from minrk/selection-dict
...
Make `SelectionWidget.values` a dict
12 years ago
Jonathan Frederic
818f5e7824
Added ability to pack and unpack arrays.
12 years ago
Jonathan Frederic
4a314ea3da
Unconditionally register $el with keyboard manager
...
also s/elements/additional_elements
12 years ago
MinRK
3e1f2e22f8
Make `SelectionWidget.values` a dict
...
rename 'labels' and '_value' to 'value_names' and 'value_name'.
To specify a mapping of value names and values, use a dict.
If you specify `values=[list]`, then an OrderedDict will be used.
Assignment after construction only supports a dict.
12 years ago
Jonathan Frederic
ef2c71c34d
Fix command mode & popup view bug
...
Added elements property to PopupView
12 years ago
Jonathan Frederic
1ddceb3844
Container classes should default with 'vbox' css
12 years ago
Brian E. Granger
2b7310f794
Merge pull request #4933 from jdfreder/widget-model-name
...
Small Widget inconsistency fixes
12 years ago
Brian E. Granger
651599d092
Finishing the readout style and functionality.
12 years ago
Brian E. Granger
cef93c8cfb
Adding initial version of readout to sliders.
12 years ago
Jonathan Frederic
6f3ef63ac9
s/Underscore/_
12 years ago
Jonathan Frederic
75b148d40b
Renamed widgets...
...
TextWidget, TextareaWidget, CheckboxWidget, and SelectWidget
12 years ago
MinRK
dd2f4a25aa
quick review pass on javascript
12 years ago
Jonathan Frederic
134413c89c
Fixed bug that prevented popup widget from displaying
12 years ago
Jonathan Frederic
c807dd29e4
Prevent TextBox from blurring unless explicity by user.
12 years ago
Jonathan Frederic
3026ddb52b
Fixed bug in throttling code.
12 years ago
Jonathan Frederic
91e82218a8
Changed selection widget API to use labels list
...
for mapping custom str reprs to items in the selection list
12 years ago
Jonathan Frederic
7f12f35fea
Added code that removes the views when a model/widget is closed.
12 years ago
Jonathan Frederic
9e643f5692
Support multiple types in selection widget.
12 years ago
Jonathan Frederic
c9973a7114
Float widget views now inherit from int counterparts
12 years ago
Jonathan Frederic
2bb9ba9a9c
Adjusted throttling
12 years ago
Jonathan Frederic
1b8b6b3a88
Fixed bug where views child to other views would not have cell information
12 years ago
Jonathan Frederic
f06a0a7d5e
Fixed a couple more context typos
12 years ago
Jonathan Frederic
629d65da89
Fixed context errors and a couple of typos to get the tests working again
12 years ago
Jonathan Frederic
99f3f5155e
Fixed some typos related to _.each loops
12 years ago
Jonathan Frederic
046280b51a
s/ModalView/PopupView
12 years ago
Jonathan Frederic
10bd54bd30
Move js *RangeWidget code into *Widget
12 years ago
Jonathan Frederic
c5e48c0b75
Added some small comments to widget code
12 years ago
Jonathan Frederic
80c3339791
- remove second line in create_child_view
...
- add undefined check in delete_child_view
12 years ago
Jonathan Frederic
08e40697de
Removed for () loops where necessary. Replaced with _.each
12 years ago
Jonathan Frederic
35a02a0436
Replace .html with .text everywhere possible
12 years ago
Jonathan Frederic
af4809bec4
Prefer JQuery to Underscore
12 years ago
Jonathan Frederic
d9a703d305
'create' should be handled in sync
12 years ago
Jonathan Frederic
2b27b4101b
Remove todo in apply update
12 years ago
Jonathan Frederic
cb6094281c
s/custom_content/content
12 years ago
Jonathan Frederic
097951a6b8
Remove residual tabs
12 years ago
Jonathan Frederic
691cd56038
Change the callback logic so the order makes more sense:
...
*Now*
View calls Model which calls Widget Manager
*instead of *
View calls Widget Manager, which then the Model modifies right
before sync
12 years ago
Jason Grout
fe6edb26a6
Rewrite widget syncing
...
Conflicts:
IPython/html/static/notebook/js/widgetmanager.js
IPython/html/static/notebook/js/widgets/widget.js
12 years ago
Jonathan Frederic
e17200a533
Widget require.js fix
...
The WidgetManager namespace is passed around instead of a
widget_manager instance...
12 years ago
Jason Grout
140d1872f7
Delete unnecessary save
12 years ago