Matthias Bussonnier
cfbd65d808
Merge pull request #6640 from jhamrick/ui-tour
...
Fix icons and typos in ui tour
2014-10-07 20:29:39 +02:00
Jessica B. Hamrick
27562308b1
Fix button alignment/size
2014-10-07 10:54:50 -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
Jessica B. Hamrick
9ee37de1db
Fix icons and typos in ui tour
2014-10-07 00:16:18 -07:00
MinRK
6740d0492e
don't use contains in SelectWidget item_query
...
gives false positive matches when some values are substrings of others
2014-10-06 12:59:16 -07:00
Thomas Kluyver
825284bc6d
Remove superfluous error checking
2014-10-06 11:36:59 -07:00
Thomas Kluyver
590ba19ac3
Clean up some JS code
2014-10-05 09:35:54 -07:00
Thomas Kluyver
1ff846520b
Put callbacks for create_view and create_child_view in options
...
And add errback support
2014-10-05 09:35:54 -07:00
Thomas Kluyver
c4a9cf9020
Fix logic
2014-10-05 09:35:54 -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
Matthias Bussonnier
ffc574d4dd
Merge pull request #6596 from minrk/stream-text
...
msgspec 5: stream.data -> stream.text
2014-10-05 11:40:02 +02:00
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.
2014-10-03 19:13:49 +00:00
Sylvain Corlay
8a384cd489
adding a tooltip in IPython buttons
2014-10-03 16:41:34 +00:00
Matthias Bussonnier
0d9db64180
Merge pull request #6582 from jdfreder/symmetric_state
...
Symmetric widget get/set_state
2014-10-03 09:10:56 +02:00
Matthias Bussonnier
eeb9cb0209
Merge pull request #6558 from jhamrick/kernel-start-failure
...
Handle kernel start failures more gracefully
2014-10-03 09:04:00 +02:00
Jessica B. Hamrick
1d6359f970
Use codemirror for error messages
2014-10-02 16:33:35 -07:00
Min RK
28edb94897
Merge pull request #6488 from jhamrick/lock-cells
...
Proof of concept for preventing cell deletion via metadata
2014-10-02 15:55:07 -07:00
MinRK
f69b1b15a3
msgspec 5: stream.data -> stream.text
2014-10-02 12:10:58 -07:00
Gordon Ball
48b6f53f51
Require base/js/keyboard and use keycode.enter
2014-10-01 15:37:23 +02:00
Jonathan Frederic
60bf0f5b2f
s/apply_update/set_state
2014-09-30 16:02:02 -04:00
Jessica B. Hamrick
6a8cae2913
Don't pop up modal dialog
2014-09-30 12:20:50 -07:00
Jessica B. Hamrick
d0e942213d
Always show the modal dialog, and have a fallback generic message
2014-09-30 10:50:10 -07:00
Jessica B. Hamrick
c4a89cd54d
Better user experience when kernel isn't found
2014-09-30 10:50:09 -07:00
Jessica B. Hamrick
5ba858fc7c
Remove 'we' from message
2014-09-30 10:50:09 -07:00
Jessica B. Hamrick
263181c416
Report the exact error that occurred
2014-09-30 10:50:09 -07:00
Jessica B. Hamrick
58fcb3abb9
Show the user a different notification
2014-09-30 10:50:09 -07:00
Min RK
780ceee03a
Merge pull request #6415 from Carreau/move-md-show-logic
...
Move md-cell display logic to css
2014-09-30 10:35:23 -07:00
Matthias Bussonnier
a940971866
Merge pull request #6568 from minrk/remember-kernel
...
Make default kernel configurable
2014-09-30 16:49:00 +02:00
Jonathan Frederic
b5195e1b17
Merge pull request #6548 from SylvainCorlay/widget_views_by_id
...
Make WidgetModel.views be an object indexed by view id
2014-09-29 07:51:11 -04:00
Matthias Bussonnier
2d490858e5
Merge pull request #6544 from jhamrick/notification-widget
...
Clean up notification widget
2014-09-29 09:00:43 +02:00
sylvain.corlay
60925f0a1a
hasOwnProperty
2014-09-28 23:40:27 -04:00
MinRK
072bcdc484
allow kernel_name to be undefined in js
...
Falls back to KM.default_kernel_name,
as configured server-side.
2014-09-28 14:42:03 -07:00
Doug Blank
6c3d40bbcd
Update documentation for functions that can return null
2014-09-28 14:01:35 -04:00
Doug Blank
3997769def
Fixed off by one error in get_prev_cell
...
Not sure why this was a TODO. Maybe `find_cell_index()` returned zero at one time, but in the browsers I tested, it always returns null if not found.
2014-09-27 15:57:01 -04:00
Jessica B. Hamrick
9c1e7fa2eb
Clarify stickiness of warning/danger notifications
2014-09-26 00:12:24 -07:00
Sylvain Corlay
d8635fc1cc
on_atomic_change -> on_some_change
2014-09-26 01:59:11 +00:00
Sylvain Corlay
b6a0f60d3f
Make Widget.views be an object indexed by view id
2014-09-26 01:51:24 +00:00
Jessica B. Hamrick
e68f6e585a
Small changes to notification widget
2014-09-25 16:33:05 -07:00
Jessica B. Hamrick
2c5a10a6e0
Add documentation to notification area
2014-09-25 16:33:05 -07:00
Jessica B. Hamrick
5769a5bd97
Add documentation to NotificationWidget methods
2014-09-25 16:33:05 -07:00
Jessica B. Hamrick
180dd71e81
Allow timeout and click callback
2014-09-25 16:33:04 -07:00
Jessica B. Hamrick
10d500525a
Make cell be undeletable ONLY when metadata is explicitly false
2014-09-25 16:32:14 -07:00
Jessica B. Hamrick
990425f034
Handle 'deletable' cell metadata
2014-09-25 16:32:14 -07:00
Thomas Kluyver
3cb8c5a0a1
Merge pull request #6532 from SylvainCorlay/barewidgetmodels
...
Fix Issue #6530
2014-09-25 12:10:00 -07:00
Matthias Bussonnier
4609465161
Merge pull request #6472 from parleur/master
...
Keep metadata through celltype changes
2014-09-25 09:16:59 +02:00
Sylvain Corlay
a9fca81e95
Set default view to None and never display widget with no view
2014-09-24 23:10:41 -04:00
Jonathan Frederic
aec576a5f2
Fix infinite loop typo
2014-09-24 15:48:19 -07:00
Gordon Ball
3ec873b084
Change _parse_text_input to _parse_value and update float range regex
2014-09-24 15:56:01 +02:00
Gordon Ball
3011820cd3
Add support for parsing pairs of numbers for range sliders
2014-09-24 15:56:01 +02:00
Gordon Ball
67630b0886
Ignore the event object for handleTextChange
2014-09-24 15:56:01 +02:00
Gordon Ball
0f7fbc0781
Add keydown listener to commit changes on <enter>
2014-09-24 15:56:01 +02:00
Gordon Ball
0b45bacd0d
Add support to the float slider
2014-09-24 15:56:01 +02:00
Gordon Ball
6a976cf2b6
Use contentEditable to allow modification via the the slider readout
2014-09-24 15:56:01 +02:00
Sylvain Corlay
fb336de4ed
register bare views
2014-09-23 21:11:39 -04: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
9f3dfbc56c
Fix slidercolor on widget construction
2014-09-23 16:15:13 -07:00
Jonathan Frederic
d4d554052e
Address problems found in in-person review
2014-09-23 15:18:00 -07:00
Matthias Bussonnier
56d48e2892
codemirror rempo moved, update links in comments
2014-09-23 19:50:39 +02:00
Matthias Bussonnier
633dbc8131
Merge pull request #5844 from jdfreder/scrollmanager
...
'Paul' scroll feature
2014-09-23 17:10:29 +02:00
Jonathan Frederic
f81d88aebf
fab css
2014-09-22 16:34:26 -07:00
Jonathan Frederic
a7e7f95ef1
Remove forgotten hreadout
2014-09-22 16:33:57 -07:00
Jonathan Frederic
b1c1e3533a
fab css
2014-09-22 16:27:34 -07:00
Jonathan Frederic
02d7039a00
Cleaned up hbox and vbox widget div styles,
...
removed 5px margin
2014-09-22 16:23:26 -07:00
Jonathan Frederic
6637b768cc
Merge pull request #6463 from SylvainCorlay/bulk_update
...
Bulk update of widget attributes
2014-09-22 13:49:16 -07:00
Sylvain Corlay
cd782c916d
state_lock loop
2014-09-22 19:40:07 +00:00
Sylvain Corlay
c4006f1439
status_started.Kernel was never triggered
2014-09-18 20:18:11 +00:00
Matthias Bussonnier
2c65ea0416
Merge pull request #6431 from jhamrick/input_ui_focus
...
Register input with keyboard manager
2014-09-18 14:37:51 +02:00
Jonathan Frederic
0bd868888e
Make HeadingScrollManager scroll to heading elements, not cells.
2014-09-17 16:31:00 -07:00
Sylvain Corlay
769e7fa108
rename to on_atomic_change
2014-09-17 21:31:55 +00:00
Jonathan Frederic
9831e6ea1b
Make the default the single page scroller.
2014-09-16 13:52:58 -07:00
Jonathan Frederic
c957cbc9c2
Set heading scroll manager as default scroll manager.
2014-09-16 13:49:15 -07:00
Jonathan Frederic
46eb5288bc
Scroll to all heading levels <= target level.
2014-09-16 13:49:15 -07:00
Jonathan Frederic
f6adf3e064
Fixed dumb typo,
...
forgot to update scrollmanager ref to scroll_manager.
2014-09-16 13:49:14 -07:00
Jonathan Frederic
3f9fea0328
Added comments clarifying scroll units
2014-09-16 13:49:14 -07:00
Jonathan Frederic
8c0c04910b
options bug fix
2014-09-16 13:49:14 -07:00
Jonathan Frederic
3ff4d4c16e
Address review comments
2014-09-16 13:49:14 -07:00
Jonathan Frederic
27058f4804
Removed ScrollManager selector combo.
2014-09-16 13:49:14 -07:00
Jonathan Frederic
e843a3d0e4
Fixed rebase indents
2014-09-16 13:48:19 -07:00
Jonathan Frederic
8617696c5b
Added heading and slideshow scroll managers
2014-09-16 13:48:19 -07:00
Jonathan Frederic
7e7683a587
Added scroll mode selector,
...
fixed rebase conflicts.
2014-09-16 13:47:28 -07:00
Jonathan Frederic
62a21b0e6f
Add ScrollManager to global ipy namespace in main.js instead of,
...
in the bottom of the scroll manager js file.
2014-09-16 13:45:30 -07:00
Jonathan Frederic
5c5025f3b6
Added smooth scroll to replace std browser behavior.
2014-09-16 13:45:30 -07:00
Jonathan Frederic
c2d72353a2
Fixed bug
2014-09-16 13:45:29 -07:00
Jonathan Frederic
617f078165
Make slideshow toolbar add classes to modified cells.
2014-09-16 13:45:29 -07:00
Jonathan Frederic
06ad682d68
Add scrollmanager
2014-09-16 13:45:29 -07:00
Min RK
a712e079b4
Merge pull request #6483 from jhamrick/fix-heading-anchors
...
Trim anchor link in heading cells, fixes #6324
2014-09-16 10:57:40 -07:00
Jonathan Frederic
591b2b3ad7
Tabs->Spaces
2014-09-16 10:41:44 -07:00
Jonathan Frederic
02e3a58030
s/fore_color/color
...
s/back_color/background_color
2014-09-16 10:17:59 -07:00
Jonathan Frederic
0acd8daf71
Merge pull request #6438 from SylvainCorlay/model_destroy_message
...
Destroy backbone model on comm:close
2014-09-16 09:47:49 -07:00
Sylvain Corlay
e809fcb545
stop listening
2014-09-16 14:31:26 +00:00
Jessica B. Hamrick
d46606a48b
Trim anchor link in heading cells, fixes #6324
2014-09-16 00:05:14 -07:00
Sylvain Corlay
75cb63fba2
Adding a comment and renaming on_bulk_change to on_change
2014-09-15 22:38:29 +00:00
Sylvain Corlay
06747c1ada
simplification of trigger destroy
2014-09-15 21:32:46 +00:00
Jonathan Frederic
4495fa5246
Merge pull request #6437 from weichm/patch-1
...
"event" is not defined error in Firefox
2014-09-15 13:51:14 -07:00
Pierre Gerold
406860fd35
Typo and presentation
2014-09-15 14:58:23 +02:00
Pierre Gerold
98f2d989b6
Modify cells converter funcs to keep metadata through
2014-09-15 12:59:31 +02:00
Sylvain Corlay
222dc5fb3e
Destroy backbone model on comm:close
2014-09-14 11:46:12 -04:00
sylvain.corlay
e77b21cb22
optimization of WidgetModel.apply_update
2014-09-13 20:13:08 -04:00
sylvain.corlay
6eea0c37aa
Added on_bulk_change method in WidgetModel
2014-09-13 16:27:52 -04:00
Jason Grout
78ae8b36c5
Fix several small bugs in the notebook trust framework
...
1. The trust dialog is not called with the notebook context, so we have to use the closure to bind to a notebook event.
2. Replace != with !==
3. The trust_changed.Notebook event default handler expects the trust value to be value key inside an object. In fact, the event handler is redundant with the code--both seem to set the trust value of the current notebook.
2014-09-12 17:22:03 +00:00
Thomas Kluyver
fdb375e0ef
Merge pull request #6380 from ellisonbg/latex-complete
...
Adds Julia-style latex->unicode tab completion
2014-09-09 14:27:44 -07:00
Thomas Kluyver
bdb5481a1e
Remove leftover debugging
2014-09-09 12:47:02 -07:00
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..."
2014-09-08 21:18:34 +02:00
Jessica B. Hamrick
b8d3d2c6af
Register input with keyboard manager, fixes #6426
2014-09-07 13:08:18 -07:00
Jessica B. Hamrick
3aada4008c
Rename chkb to text
2014-09-06 14:18:42 -07:00
Jessica B. Hamrick
c3c11e5820
Initial version of textbox celltoolbar ui element
2014-09-06 13:34:43 -07:00
Fernando Perez
a5fd908b28
Merge pull request #6408 from minrk/new-cell-code
...
make default cell type configurable
2014-09-05 18:41:35 -07:00
MinRK
6cee444630
make default cell type configurable
...
- adds IPython.notebook.default_cell_type
- default is 'code' (matching IPython 2.0)
- special heuristic values include:
- 'selected': default to selected cell (current master behavior)
- 'above': default to cell above
- 'below': default to cell below
2014-09-05 11:28:00 -07:00
Matthias BUSSONNIER
186c8ae41d
remove useless comment
2014-09-05 11:14:37 -07:00
Matthias BUSSONNIER
a9b4bdc03f
Move md-cell display logic to css
2014-09-05 11:03:48 -07:00
Matthias Bussonnier
df67bd1720
Merge pull request #6406 from minrk/celltoolbar-rendered
...
don't hide cell toolbar on rendered text cells
2014-09-04 15:19:59 -07:00
MinRK
78fdc1ebb4
move mergeopt to utils
...
from Cell
2014-09-04 11:15:45 -07:00
MinRK
6038612732
don't hide cell toolbar on rendered text cells
...
because it annoys @Carreau
2014-09-03 17:08:55 -07:00
Matthias Bussonnier
9e8cf39956
Merge pull request #6258 from patricktokeeffe/patch-1
...
Update custom.js
2014-09-03 10:53:24 -07:00
Matthias BUSSONNIER
7752320295
get rid of some jq-ui- style
2014-09-02 17:47:59 -07:00
Brian E. Granger
a67c7e83a6
Adding tests and limiting CM mode to python 3.
2014-08-29 09:55:40 -04:00
Brian E. Granger
2dfd4079ec
Cleaning up and only doing latex completion for python 3.
2014-08-28 21:50:26 -04:00
Brian E. Granger
27f2f6baaa
Adding regexp for unicode identifers to CM mode.
2014-08-28 21:42:04 -04:00
Jonathan Frederic
2f9dcb852c
Fab CSS
2014-08-28 11:15:35 -07:00
Jonathan Frederic
cb9014e42c
Fixed rebase bugs and other bugs.
2014-08-28 11:15:35 -07:00
Jonathan Frederic
fa1c6f93f1
Added bootstrap3 progress bar classes
2014-08-28 11:15:35 -07:00
Jonathan Frederic
9b4d19bad7
Added Bootstrap specific classes,
...
and fixed a few bugs here and there...
2014-08-28 11:15:35 -07:00
Jonathan Frederic
a0e70e350f
Fix some bugs found by the widget examples,
...
add margin and padding base traits,
add overflow traits to box base.
2014-08-28 11:15:24 -07:00
Jonathan Frederic
834fe2d044
Fab CSS
2014-08-28 11:11:16 -07:00
Jonathan Frederic
42cc27e1f5
Finished style attributes.
2014-08-28 11:09:55 -07:00
Jonathan Frederic
fdcf263965
Partial implementation of styles
2014-08-28 11:09:55 -07:00
Jonathan Frederic
9af77a6374
Initial crack at using specific traits for styling.
2014-08-28 11:09:55 -07:00
Jonathan Frederic
f85a01041c
Remove add/remove class methods,
...
Remove helper set/get css methods
2014-08-28 11:09:55 -07:00
Paul Ivanov
78918ba827
Merge pull request #6359 from minrk/build-css
...
build css
2014-08-28 10:35:02 -07:00
MinRK
6345b6c874
fix handling of no-checkpoint-defined
...
a few typos and missing handling of undefined checkpoint
regression introduced in #6205
2014-08-27 13:17:19 -07:00
Min RK
89f5ec3677
Merge pull request #6306 from coderforlife/master
...
Minor improvements to file upload.
2014-08-26 17:22:45 -07:00
MinRK
318d46d647
build css
...
looks like a recent PR didn't have a final render of the LESS
2014-08-26 09:33:14 -07:00
Jonathan Frederic
cf0ca9d4a5
Merge pull request #6050 from chronitis/interact-range-widgets
...
Range widgets
2014-08-25 21:40:21 -07:00
Gordon Ball
a12b1a50a9
Change range
trait to _range
2014-08-24 11:48:19 +02:00
Gordon Ball
1a8b77231e
Remove errant tabs from js
2014-08-24 11:32:03 +02:00
Matthias Bussonnier
77ec6fdfa2
Merge pull request #6205 from Carreau/momentjs
...
use momentjs for nicer dates
2014-08-23 22:19:08 +02:00
Brian E. Granger
9e16415907
Initial messing around.
...
Latex tab completion will have to be done outside the normal
completer logic as the completer line splitting logic uses
\\ as a special character to split lines on. I probably want
to put the latex completions first and it if finds any matches,
don't do any other completion logic. The only issue is that might
short circuit dir/path matching on windows. Hmmm.
2014-08-22 17:28:13 -04:00
Gordon Ball
b8c0afbb55
Merge master
2014-08-22 10:19:03 +02:00
Brian E. Granger
4b22230896
Merge pull request #6305 from minrk/switch-kernel-close-ws
...
JS: close WebSockets when killing kernels
2014-08-20 17:38:46 -04:00
Brian E. Granger
94f717781d
Merge pull request #6125 from jdfreder/flex
...
Embrace the flexible box model in the widgets
2014-08-20 14:15:22 -04:00
Jonathan Frederic
62bd36bcc9
s/that/this bug
2014-08-20 09:34:25 -07:00
Gordon Ball
08895738f2
Merge master
2014-08-20 16:44:58 +02:00
Jonathan Frederic
ed593f02f1
Merge pull request #6171 from tarzzz/slider-value-validate
...
Validate slider value, when limits change
2014-08-18 20:03:14 -07:00
MinRK
d5a4553b8e
improve indicators and handling of dead kernels and broken websocket connections
...
I think it's still possible to get to a state with no kernel and insufficient indication.
Imperfect, but an improvement.
2014-08-18 10:50:25 -07:00
Jonathan Frederic
2790684a17
Fixed typo
2014-08-15 10:41:43 -07:00
Jonathan Frederic
afdba2fd47
Fix logic, use box where applicable
2014-08-15 10:14:04 -07:00
Jonathan Frederic
9b5ece6661
Make popup inherit from widget box
2014-08-14 16:09:50 -07:00
Jonathan Frederic
371b12a9b0
Fab CSS
2014-08-14 15:53:13 -07:00
Jonathan Frederic
0aca365718
Address Sylvain's comments.
2014-08-14 15:51:41 -07:00