Jonathan Frederic
c3838cf2c9
That this typo
2015-01-25 18:08:33 -08:00
Jonathan Frederic
0ca3ce1236
Use running text instead of icon.
2015-01-25 18:08:33 -08:00
Jonathan Frederic
bd52c3bc3a
Change shutdown button display behavior,
...
now display when atleast one RUNNING notebook is selected.
2015-01-25 18:08:33 -08:00
Jonathan Frederic
e586a364cd
Shutdown the selected notebooks before deleting them
2015-01-25 18:08:33 -08:00
Jonathan Frederic
ffac8cc1bb
invoke css
2015-01-25 18:08:33 -08:00
Jonathan Frederic
8701ac2db5
Use checkbox layout instead of actions dropdown
2015-01-25 18:08:33 -08:00
Jonathan Frederic
d07b05c8c4
Add actions dropdown to tree view
2015-01-25 18:08:33 -08:00
Min RK
3b1ac5c58f
Merge pull request #7579 from Carreau/ntf
...
rename "new-file" to "new > text file"
2015-01-25 12:07:15 -08:00
Bussonnier Matthias
8bc4bbab68
remove "Saving..." notification
2015-01-25 20:33:24 +01:00
Matthias Bussonnier
1ce46a8723
Merge pull request #7481 from minrk/toggle-buttons-indicate
...
don't set bootstrap toggle on ToggleButtonsWidget
2015-01-25 20:20:53 +01:00
Bussonnier Matthias
0118cfbd48
re-hook notification area for editor.
...
- re-order element to be the same as in notebook,
- rename events correctly.
- Add event on savign to show that save is in progress, that get
dismissed on file save
Closes #7569
2015-01-25 19:59:16 +01:00
damianavila
1b520328d6
Fix the hidden x scrolling.
2015-01-25 12:50:28 -03:00
Bussonnier Matthias
caa5d499e9
rename "new-file" to "new > text file"
...
Because it is not obvious to everyone...
Closes #7571
2015-01-25 14:02:38 +01:00
Bussonnier Matthias
ab8290ae95
Catch and/or log a bit more errors.
2015-01-25 13:58:15 +01:00
Matthias Bussonnier
730c0b8822
Merge pull request #7522 from minrk/store-scroll
...
remember and persist manual scroll state.
2015-01-25 13:33:39 +01:00
Matthias Bussonnier
f5cbbd591f
Merge pull request #7565 from minrk/missing-focusout
...
enable keyboard manager when codemirror is focused
2015-01-25 13:25:42 +01:00
Min RK
ad83e79ea5
allow requesting contents without body
...
adds `?content=0` to only fetch the metadata in the model.
The REST API now exposes all arguments to ContentsManager.get.
2015-01-24 12:46:15 -08:00
Min RK
83ce71aa53
Merge pull request #7551 from Carreau/xxs
...
fix left-margin on xxs screen
2015-01-24 12:18:11 -08:00
Min RK
d4eb36ea02
Merge pull request #7557 from minrk/different-resize
...
don't use flexbox to size `#site`
2015-01-24 12:11:09 -08:00
Min RK
d8ccd5e39b
Merge pull request #7473 from Carreau/no-pager-jump
...
Smooth notebook scrolling on pager closing.
2015-01-24 11:58:44 -08:00
Min RK
525c16d721
hook up ScrollManager to #site
2015-01-24 11:56:52 -08:00
Bussonnier Matthias
c81ae8762e
fix left-margin on xxs screen
2015-01-24 11:21:32 +01:00
Min RK
11a9feb25f
enable keyboard manager when codemirror is focused
...
This should always be true, and mitigate focus-related keyboard bugs, such as #7555 .
2015-01-23 17:10:01 -08:00
Thomas Kluyver
a2a407a271
Merge pull request #7563 from minrk/kernel-msg-docs
...
document restarting, dead kernel status messages
2015-01-23 16:12:45 -08:00
Thomas Kluyver
684cb28c33
Merge pull request #7559 from minrk/wait-for-kernel-selector
...
wait for new-notebook button to arrive
2015-01-23 16:07:11 -08:00
Min RK
67e5303614
Merge pull request #7521 from amcdawes/i7322
...
change keyboard help to use `esc` and adds key symbol table
closes #7322
2015-01-23 15:51:42 -08:00
Min RK
fabc9ab119
Merge pull request #7552 from minrk/terminal-unavailable
...
Indicate that terminals are unavailable
2015-01-23 15:29:53 -08:00
Min RK
315fb1528e
remove inappropriate negative margin on menubar
...
caused 1px mismatch between header background and menubar
when toolbar is hidden.
2015-01-23 15:11:59 -08:00
Min RK
f971cad223
use translateZ(0) to avoid repaints of #site
on scroll.
2015-01-23 15:11:59 -08:00
Min RK
f499104d75
don't use flexbox to size #site
...
The approach in #7517 didn't work on Safari
(as in the entire page was invisible).
This is the same mechanism used to size the CodeMirror div on the edit page, and should work more reliably.
2015-01-23 15:11:59 -08:00
Min RK
99faeddf36
wait for new-notebook button to arrive
...
before clicking it.
Race condition was causing intermittent test failures.
2015-01-23 15:07:25 -08:00
Min RK
5dfece0a2a
Merge pull request #7514 from minrk/border-markdown
...
add border to rendered markdown with cell toolbar
2015-01-22 21:42:37 -08:00
Min RK
57d5f7a4e0
Indicate that terminals are unavailable
...
rather than hiding any evidence of their existence
2015-01-22 18:43:18 -08:00
Min RK
3d96dfc6fb
Merge pull request #7523 from jdfreder/outputwidgetfix
...
Fix the output widget
2015-01-22 17:02:59 -08:00
Andrew Dawes
98e77906e4
removed tab backward
2015-01-22 16:37:04 -08:00
Jason Grout
009dcf43cf
change filename to unicode string
2015-01-22 23:06:18 +00:00
Thomas Kluyver
306ced6ac7
Merge pull request #7541 from minrk/no-no-default
...
remove preventDefault on menubar
2015-01-22 14:57:43 -08:00
Jonathan Frederic
374be802c0
Merge pull request #7517 from minrk/scroll-offset
...
don't use fixed header
2015-01-22 14:50:07 -08:00
Jason Grout
ad35813576
Make nbextension test a little clearer about the intent.
2015-01-22 22:33:45 +00:00
Min RK
e2c48d6df7
Merge pull request #7526 from jdfreder/editscroll
...
Explicitly size codemirror editor in Edit app
2015-01-22 14:25:02 -08:00
Jason Grout
9701ce1752
Add some unit tests for the new dictionary syntax for installing nbextensions
2015-01-22 21:49:33 +00:00
Jonathan Frederic
efe654e59d
Use longer version of document.ready
2015-01-22 13:23:27 -08:00
Jason Grout
996d77cc89
Add documentation to check_nbextension, and switch order of parameters to be consistent with install_nbextension.
2015-01-22 21:23:12 +00:00
Jason Grout
25b475bc0a
Refactor the logic to get the nbextension directory
...
We do this so that check_nbextension corresponds to install_nbextension.
2015-01-22 21:18:09 +00:00
Min RK
76624b9a93
remove preventDefault on menubar
...
no longer needed after removing fixed header
2015-01-22 13:08:01 -08:00
Jason Grout
6b4c986407
Work around a bug in setting and getting the mtime in python 2
...
See http://bugs.python.org/issue12904 . Basically, we can get the mtime in
nanosecond precision, but only set it in microsecond precision. This means
that the shutil.copy2 will not set the destination's mtime to exactly the same
mtime as our source. The end result is that we can *always* end up copying
the extension because the source always appears newer. We add a microsecond of fudge time when checking to see
if the source is newer than the destination to get around this.
This bug is fixed in Python 3.3+, I believe.
2015-01-22 20:49:51 +00:00
Jason Grout
3beb707717
Copy as much of the nbextension as we can, even if there are errors for some of the files.
2015-01-22 20:47:10 +00:00
Jason Grout
a3d0a1764b
Fix the path we use when walking to include the path separator
...
This is so that parent[len(path):] isn't an absolute path, so the pjoin doesn't throw dest away.
2015-01-22 20:46:42 +00:00
Jason Grout
fc5a3bb304
Don't overwrite the dest variable
2015-01-22 20:41:27 +00:00
Jonathan Frederic
c248211ed6
Don't build message twice.
2015-01-22 11:15:43 -08:00
Jonathan Frederic
6eda2d80f9
Add support for Message class.
2015-01-22 10:45:06 -08:00
Jonathan Frederic
273a8030d9
Hook the output the right way.
2015-01-22 10:34:17 -08:00
Jason Grout
bf4a20f382
Initial take on implementing configurable destinations for nbextensions.
...
This allows for a directory in a package to be called 'nbextensions', but be installed to an nbextension named after the package, for example.
2015-01-22 18:23:39 +00:00
Jonathan Frederic
6b9558c613
Be a little more clear about sizing logic.
2015-01-22 09:51:49 -08:00
Andrew Dawes
8ed28bf57d
cleaned up new function and removed comments
2015-01-21 21:03:06 -08:00
Andrew Dawes
09818e6b02
working function to build modifier key list
2015-01-21 20:54:19 -08:00
Min RK
cf25b8a93c
fix printing
2015-01-21 17:14:53 -08:00
Thomas Kluyver
3c8ca375f3
Merge pull request #7525 from tbittner/document-interact-5637
...
Document interact 5637
2015-01-21 13:26:14 -08:00
Jonathan Frederic
bdd40e2734
Explicitly size codemirror editor in Edit app
2015-01-21 13:19:52 -08:00
Jonathan Frederic
526071cadb
Remove superfluous return
2015-01-21 12:33:28 -08:00
Torsten Bittner
d5a7879a26
Add documentation for interactive function.
2015-01-21 12:25:28 -08:00
Jonathan Frederic
39b99340ed
Finished changing output widget logic.
2015-01-21 11:27:19 -08:00
Min RK
ab221f09f9
toggle scroll from auto based on current scroll
...
rather than always `false`
2015-01-21 11:13:05 -08:00
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
Andrew Dawes
1a10511143
new function build_key_names to automate
2015-01-21 11:01:23 -08:00
Andrew Dawes
471c1c9bba
layout key modifiers in alert-warning box
2015-01-21 09:46:30 -08:00
Andrew Dawes
f37edd7eef
rough draft of formatting
2015-01-21 07:44:26 -08:00
Andrew Dawes
c011dd9bfd
first shot at adding list of key symbols, need to format nicely
2015-01-20 23:30:56 -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
Torsten Bittner
080f926c8e
Add documentation for interact function.
2015-01-20 17:51:04 -08:00
Min RK
b84ad79b2f
don't use fixed header
...
instead, use static header and flex box to accomplish the same thing.
fixes various issues related to scrolling, anchors, etc.
2015-01-20 17:11:51 -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
Jonathan Frederic
705bd90653
Start forwarding the messages over widget custom messages
2015-01-20 13:16:26 -08:00
Min RK
784f07346d
add border to rendered markdown with cell toolbar
...
matches unrendered markdown and code cells
2015-01-20 12:38:01 -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