Commit Graph

3703 Commits

Author SHA1 Message Date
Min RK
66450cf2b3 allow users to set scroll state
and persist that state in metadata.

When user toggles the scroll state,
the choice is remembered and persisted.

There are three states:

- 'auto' (default, only state in master)
- true (always scroll if above minimum_scroll_threshold)
- false (never scroll)

true or false is persisted in cell.metadata.scrolled.
"auto" may be persisted, but isn't currently because it's the default state.
2015-01-21 11:12:29 -08:00
Min RK
e1926b2f12 Merge pull request #7515 from jhamrick/fix-tour
Fix user interface tour

closes #5570 
closes #7418
2015-01-20 21:23:55 -08:00
Min RK
bfc9908b75 Merge pull request #7516 from minrk/empty-language-info
don't set language_info to an empty dict
2015-01-20 16:12:21 -08:00
Min RK
4fe63dd38f don't set language_info to an empty dict
delete it from metadata if language_info is undefined
2015-01-20 15:47:02 -08:00
Brian E. Granger
918d13200a Merge pull request #7271 from jdfreder/remove-term-page
Try moving terminal page contents into the running tab.
2015-01-20 15:29:25 -08:00
Jonathan Frederic
5ef0c1dfd3 invoke css 2015-01-20 15:14:13 -08:00
Jonathan Frederic
fafd6ca305 Move new button group over one pixel 2015-01-20 15:13:55 -08:00
Jessica B. Hamrick
241dd2b69c Make tour functional again 2015-01-20 14:54:48 -08:00
Jonathan Frederic
78f28a635b Review comments 2015-01-20 13:31:04 -08:00
Min RK
b01bd7b626 Merge pull request #7493 from Carreau/secure-dialog
Sanitize dialog body when a string
2015-01-20 11:42:59 -08:00
Thomas Kluyver
411bf7a39d Merge pull request #7445 from bollwyvl/left-rendered-text
left-aligning text
2015-01-20 10:53:43 -08:00
Bussonnier Matthias
b52467a966 sanitize only of text and not explicitely asked not to.
also some docs.
2015-01-20 15:37:54 +01:00
Min RK
0f6685acf0 test that custom description doesn't change kwarg 2015-01-19 16:17:04 -08:00
Min RK
21a7f75ade Don't use widget.description as kwarg key
in interact.

description can be set manually,
so it cannot be relied upon to store the kwarg key.
Add a `widget._kwarg` attribute instead.
2015-01-19 16:01:18 -08:00
Min RK
4335486bdc Merge pull request #7263 from takluyver/nb-common-config
Add common config section for frontend config
2015-01-19 12:22:27 -08:00
Thomas Kluyver
0a28783871 Expose load_extensions in utils 2015-01-19 12:02:27 -08:00
Thomas Kluyver
ad65ab13d8 Merge pull request #7491 from minrk/terminado.terminate
wait for terminado process to terminate
2015-01-19 09:47:30 -08:00
Jonathan Frederic
64f529d399 invoke css 2015-01-19 09:41:34 -08:00
Jonathan Frederic
f254cda663 Typo fix 2015-01-19 09:41:34 -08:00
Jonathan Frederic
96656a87e0 invoke css 2015-01-19 09:41:34 -08:00
Jonathan Frederic
d39311ccb5 Correct the padding of the new button group on the files page 2015-01-19 09:41:34 -08:00
Jonathan Frederic
db8cad5bff invoke css 2015-01-19 09:41:34 -08:00
Jonathan Frederic
aebc1ac2c1 Adjust colors so they are the same 2015-01-19 09:41:33 -08:00
Jonathan Frederic
30a596b4df Fix margins 2015-01-19 09:41:33 -08:00
Jonathan Frederic
cf0234d5f9 invoke css 2015-01-19 09:41:33 -08:00
Jonathan Frederic
bb0bc50cf3 Use bootstrap variable for table color 2015-01-19 09:41:33 -08:00
Jonathan Frederic
74fbcdfec2 invoke css 2015-01-19 09:41:33 -08:00
Jonathan Frederic
0159a2911d Use less variable for header bg color 2015-01-19 09:41:33 -08:00
Jonathan Frederic
bc79ec0c75 invoke css after rebase 2015-01-19 09:41:33 -08:00
Jonathan Frederic
0cabf03343 Animated arrow icon 2015-01-19 09:41:33 -08:00
Jonathan Frederic
6007ef89fe invoke css 2015-01-19 09:41:32 -08:00
Jonathan Frederic
070d9ace2e Remove underline header collapse links 2015-01-19 09:41:32 -08:00
Jonathan Frederic
12fe7823ad New Terminal into new new button 2015-01-19 09:41:32 -08:00
Jonathan Frederic
7c7da54699 invoke css 2015-01-19 09:41:32 -08:00
Jonathan Frederic
0b4d5e73b2 Decrease 2px bottom border to 1px 2015-01-19 09:41:32 -08:00
Jonathan Frederic
33d1bc2abe Fix heading height 2015-01-19 09:41:32 -08:00
Jonathan Frederic
9f35ee6c7a Use less for heading padding 2015-01-19 09:41:32 -08:00
Jonathan Frederic
d783812d9b invoke css 2015-01-19 09:41:32 -08:00
Jonathan Frederic
06fe62fe96 Improved styling 2015-01-19 09:41:32 -08:00
Jonathan Frederic
2d835bd7ed Put lists in an accordion 2015-01-19 09:41:31 -08:00
Jonathan Frederic
808916762e Remove terminals page of the dashboard,
move contents into running tab.
2015-01-19 09:41:31 -08:00
Min RK
0dc618102e fix stop-on-error test 2015-01-18 13:23:20 -08:00
Juergen Hasch
eb7d0b7e07 Use stop_on_error instead of skip_exceptions 2015-01-18 13:23:18 -08:00
Juergen Hasch
2f50bf9980 Skip exceptions 2015-01-18 13:22:04 -08:00
Matthias Bussonnier
9581e3e491 Reload list after creating a new folder in promises.
No need to reload session (I doubt creating a new folder create a
session), and does it once the creation drive promise return which make
the new directory appear in the listing for slow remote-backend (like
google drive)
2015-01-17 23:52:13 +01:00
Matthias Bussonnier
6c5a4ec115 Sanitize dialog text-body.
Mitigate 7486, could probably be improved, but
treat text as pure text, but assume that when received a dome
element it actually come from a secure source.

Sanitizing all we get, including Dom Element break json-metadata editor
and a few others.
2015-01-17 23:46:01 +01:00
Min RK
3ce0206a1f promote "no terminals" message to warn
except on Windows, where it's demoted to debug
2015-01-16 19:08:22 -08:00
Min RK
ac7454b0d5 require terminado >= 0.3.3 for terminal handlers 2015-01-16 19:06:45 -08:00
Min RK
1c2a28c6e2 wait for terminal to terminate 2015-01-16 17:08:22 -08:00
Min RK
884b305e10 hook up terminado logger 2015-01-16 17:07:06 -08:00