Jason Grout
|
efe7098a60
|
Fix viewlist to use promises correctly
A viewlist wasn't getting properly populated before. This also switches the list update to use splice for in-place updates.
|
11 years ago |
Jason Grout
|
9553f30222
|
Update widget selection containers to reflect how viewlist works
add_child takes a model and returns a view. remove_child takes a view and removes it.
the pop_child_view method is now gone.
|
11 years ago |
Jason Grout
|
247ebf16f0
|
Add comments emphasizing the order of steps in widget box remove() methods
|
11 years ago |
Jason Grout
|
e7065d5a9f
|
Remove obsolete logic: storing references to child views in a view
Users are responsible for keeping track of views they create and removing them in a view's remove() method
|
11 years ago |
Jason Grout
|
53472ba91b
|
reimplement the add/remove class logic to not use do_diff and remove do_diff
|
11 years ago |
Jason Grout
|
1e8b2473b3
|
Merge branch 'viewlists' of https://github.com/jasongrout/ipython into viewlists
|
11 years ago |
Jason Grout
|
05d013db59
|
At least log an error if there is no create or remove defined.
We might just remove this...
|
11 years ago |
Jason Grout
|
bc0cb3c8b5
|
Do something about do_diff being used for the class stuff in widgets
|
11 years ago |
Jason Grout
|
88084db35d
|
Return the viewlist from the update promise so that you can use it immediately.
The pattern is:
viewlist.update(new_list).then(function(new_view_list) {
...
})
|
11 years ago |
Jonathan Frederic
|
d181172948
|
Implement view logic in selection containers.
|
11 years ago |
Jason Grout
|
307a320284
|
tweak documentation for viewlists
|
11 years ago |
Jason Grout
|
93f658bc9b
|
Make a copy of the input list so that changes to the children list don't automagically change our reference list
|
11 years ago |
Jason Grout
|
7658bab99f
|
Missing semicolon
|
11 years ago |
Jason Grout
|
a6b901fdd3
|
Make state_change initialization more conventional
|
11 years ago |
Jason Grout
|
0164fd32ca
|
Make error messages more consistent
|
11 years ago |
Jason Grout
|
88ed50afad
|
Refactor the do_diff and manual child view lists into a separate ViewList object
|
11 years ago |
Jason Grout
|
2b96a97118
|
Simplify error-handling code
Thanks to @jdfreder for this change.
|
11 years ago |
Jason Grout
|
da8cab76dd
|
Clean up promises code some more.
|
11 years ago |
Min RK
|
da80d64e45
|
Merge pull request #6955 from Carreau/typeset
Actually typeset latex
|
11 years ago |
Jonathan Frederic
|
7a3a9e74e9
|
Bug fix, typo
|
11 years ago |
Jonathan Frederic
|
db2ef15b81
|
Address @carreau 's comments
|
11 years ago |
Jonathan Frederic
|
36f0aabb86
|
active_output_areas (plural)
|
11 years ago |
Jonathan Frederic
|
6f2e02b585
|
Pop output now removes a specific output
|
11 years ago |
Jonathan Frederic
|
a12da7cee4
|
Added comment describing output area stack.
|
11 years ago |
Jonathan Frederic
|
d033d6c1ea
|
Make output widget reactive.
|
11 years ago |
Jonathan Frederic
|
a5779bcd0e
|
Output Widget
|
11 years ago |
Matthias Bussonnier
|
0ee990614d
|
Merge pull request #6923 from SylvainCorlay/toggle_button_tooltip
Tooltip on toggle button
|
11 years ago |
Matthias Bussonnier
|
fe4bae10ac
|
Actually typeset latex
|
11 years ago |
Matthias Bussonnier
|
269d9ae195
|
Merge pull request #6959 from minrk/check-kernel-execute
don't execute if kernel is not connected
|
11 years ago |
Thomas Kluyver
|
7cf7d3f202
|
Merge pull request #6818 from jdfreder/race_conditions
Add promises to the widget framework.
|
11 years ago |
Jonathan Frederic
|
f9d730d01e
|
Address @takluyver 's review comments
|
11 years ago |
Jonathan Frederic
|
61ebd40206
|
Bug fix, promise not resolving.
|
11 years ago |
Jonathan Frederic
|
8d8bf43fb9
|
Merge pull request #6916 from minrk/finish-5659
add Duplicate button to dashboard
|
11 years ago |
Min RK
|
4a25d24806
|
don't execute if kernel is not connected
|
11 years ago |
Min RK
|
5eff21f3c6
|
simplify NotebookList.duplicate with recent changes
- contents service + futures
- remove no-longer-necessary parent_item
|
11 years ago |
Min RK
|
036c47d032
|
set min-width on tree-list buttons
avoids misaligned buttons when the content changes
|
11 years ago |
Min RK
|
8bad784ce5
|
update add_duplicate_button with API changes
- allow duplicating regular files
- update with contents service API changes
- fix some path/name bugs found in session and kernel list
|
11 years ago |
David Neto
|
6aae1e219f
|
Add the "Duplicate" button in the main dashboard
so we can copy an existing notebook without having to start it's instance
|
11 years ago |
David Neto
|
4bbd255f16
|
Change the order of Cancel and OK button in the renaming function so it matches the user experience for the same dialog boxes used in the main dashboard
|
11 years ago |
Min RK
|
89598450f7
|
Merge pull request #6943 from jdfreder/numtextfix
Allow empty text box *while typing* for numeric widgets
|
11 years ago |
Min RK
|
d88f5c5898
|
Merge pull request #6874 from takluyver/config-js-api
Add JS config API
|
11 years ago |
Min RK
|
c1a664dfb9
|
fix event hookup for kernel changed
event is kernel_created.Session
The spec name on the kernel also wasn't being changed when the kernel changed.
|
11 years ago |
Jonathan Frederic
|
cfc45918bb
|
Rebase fixes
|
11 years ago |
Jonathan Frederic
|
907bde3b25
|
Address review comments
|
11 years ago |
Jonathan Frederic
|
3c949aad92
|
Remove message promise.
|
11 years ago |
Jonathan Frederic
|
fe398593e7
|
Typo fix
|
11 years ago |
Jonathan Frederic
|
93cedc167e
|
Address @takluyver 's comments
|
11 years ago |
Jonathan Frederic
|
eb319c8aab
|
Promise logic is infectious like a disease
|
11 years ago |
Jonathan Frederic
|
b56fc606ad
|
Promise the messages to the model
|
11 years ago |
Jonathan Frederic
|
0d591619c6
|
Make all tests async display safe
|
11 years ago |