Min RK
89bb88bf6e
s/language_name/language/
11 years ago
Min RK
3a20b9928b
add "No appropriate kernel" button to kernel-selection prompt
11 years ago
Min RK
f5e2bb712d
replace project_name with language_name
...
- automatically choose language match, if only one
- only list language matches in select dialog
- list all kernels if no language match
11 years ago
Min RK
e514d930cf
handle missing kernel
...
- if project_name matches, pick another kernel
- if no match, show dialog with kernel selector
11 years ago
Min RK
6bf7f1ab43
add project_name to kernelspec
...
this should be the same for compatible kernels ('ipython', 'ijulia', etc.)
11 years ago
Min RK
f52ecf1beb
warn on clobber of notebooks
...
check last_modified before saving. If it's changed, confirm overwrite.
11 years ago
Min RK
1eddad8a63
Merge pull request #7578 from Carreau/moreerrors
...
Catch and/or log a bit more errors.
11 years ago
Thomas Kluyver
a788c02ea3
Merge pull request #7599 from minrk/modal-double-border
...
remove duplicated border in indicator area
11 years ago
Min RK
54bce1c423
remove duplicated border in indicator area
11 years ago
Min RK
a7e72f8b80
don't execute empty cells
...
reorder execute a little, so that clearing old state all happens before setting new state
11 years ago
Thomas Kluyver
708088d74a
Merge pull request #7586 from Carreau/notif-editor
...
re-hook notification area for editor.
11 years ago
Peter Parente
91740ace4a
Fix initial scroll overflow with padding (from @joelkim)
11 years ago
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
11 years ago
damianavila
1b520328d6
Fix the hidden x scrolling.
11 years ago
Bussonnier Matthias
ab8290ae95
Catch and/or log a bit more errors.
11 years ago
Matthias Bussonnier
730c0b8822
Merge pull request #7522 from minrk/store-scroll
...
remember and persist manual scroll state.
11 years ago
Matthias Bussonnier
f5cbbd591f
Merge pull request #7565 from minrk/missing-focusout
...
enable keyboard manager when codemirror is focused
11 years ago
Min RK
83ce71aa53
Merge pull request #7551 from Carreau/xxs
...
fix left-margin on xxs screen
11 years ago
Min RK
d4eb36ea02
Merge pull request #7557 from minrk/different-resize
...
don't use flexbox to size `#site`
11 years ago
Min RK
d8ccd5e39b
Merge pull request #7473 from Carreau/no-pager-jump
...
Smooth notebook scrolling on pager closing.
11 years ago
Min RK
525c16d721
hook up ScrollManager to #site
11 years ago
Bussonnier Matthias
c81ae8762e
fix left-margin on xxs screen
11 years ago
Min RK
11a9feb25f
enable keyboard manager when codemirror is focused
...
This should always be true, and mitigate focus-related keyboard bugs, such as #7555 .
11 years ago
Min RK
67e5303614
Merge pull request #7521 from amcdawes/i7322
...
change keyboard help to use `esc` and adds key symbol table
closes #7322
11 years ago
Min RK
315fb1528e
remove inappropriate negative margin on menubar
...
caused 1px mismatch between header background and menubar
when toolbar is hidden.
11 years ago
Min RK
5dfece0a2a
Merge pull request #7514 from minrk/border-markdown
...
add border to rendered markdown with cell toolbar
11 years ago
Min RK
3d96dfc6fb
Merge pull request #7523 from jdfreder/outputwidgetfix
...
Fix the output widget
11 years ago
Andrew Dawes
98e77906e4
removed tab backward
11 years ago
Thomas Kluyver
306ced6ac7
Merge pull request #7541 from minrk/no-no-default
...
remove preventDefault on menubar
11 years ago
Min RK
76624b9a93
remove preventDefault on menubar
...
no longer needed after removing fixed header
11 years ago
Andrew Dawes
8ed28bf57d
cleaned up new function and removed comments
11 years ago
Andrew Dawes
09818e6b02
working function to build modifier key list
11 years ago
Jonathan Frederic
39b99340ed
Finished changing output widget logic.
11 years ago
Min RK
ab221f09f9
toggle scroll from auto based on current scroll
...
rather than always `false`
11 years ago
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.
11 years ago
Andrew Dawes
1a10511143
new function build_key_names to automate
11 years ago
Andrew Dawes
471c1c9bba
layout key modifiers in alert-warning box
11 years ago
Andrew Dawes
f37edd7eef
rough draft of formatting
11 years ago
Andrew Dawes
c011dd9bfd
first shot at adding list of key symbols, need to format nicely
11 years ago
Min RK
e1926b2f12
Merge pull request #7515 from jhamrick/fix-tour
...
Fix user interface tour
closes #5570
closes #7418
11 years ago
Min RK
bfc9908b75
Merge pull request #7516 from minrk/empty-language-info
...
don't set language_info to an empty dict
11 years ago
Min RK
4fe63dd38f
don't set language_info to an empty dict
...
delete it from metadata if language_info is undefined
11 years ago
Brian E. Granger
918d13200a
Merge pull request #7271 from jdfreder/remove-term-page
...
Try moving terminal page contents into the running tab.
11 years ago
Jessica B. Hamrick
241dd2b69c
Make tour functional again
11 years ago
Jonathan Frederic
78f28a635b
Review comments
11 years ago
Jonathan Frederic
705bd90653
Start forwarding the messages over widget custom messages
11 years ago
Min RK
784f07346d
add border to rendered markdown with cell toolbar
...
matches unrendered markdown and code cells
11 years ago
Thomas Kluyver
411bf7a39d
Merge pull request #7445 from bollwyvl/left-rendered-text
...
left-aligning text
11 years ago
Min RK
4335486bdc
Merge pull request #7263 from takluyver/nb-common-config
...
Add common config section for frontend config
11 years ago
Juergen Hasch
eb7d0b7e07
Use stop_on_error instead of skip_exceptions
11 years ago
Juergen Hasch
2f50bf9980
Skip exceptions
11 years ago
Thomas Kluyver
0009fcc22b
Merge pull request #7456 from minrk/change-not-dead
...
Don't show kernel-dead on manually shutdown kernel
11 years ago
Min RK
510c883728
Don't show kernel-dead on manually shutdown kernel
...
When there is no kernel, show 'No kernel',
and set kernel-busy instead of showing read dead and bomb.
This is different from kernel-dead
11 years ago
Min RK
0aedf1658f
Merge pull request #7417 from Carreau/logominpad
...
rework css media-query (and lots of css fixes)
11 years ago
Matthias Bussonnier
e6fd916ce7
Merge pull request #7474 from mathieu1/tooltip-prevent-default
...
Prevent page jump on tooltip actions
11 years ago
Matthias Bussonnier
851be20367
Merge pull request #7458 from minrk/superfluous-prevent-default
...
remove superfluous event.preventDefault
11 years ago
Min RK
eba94f4e0b
remove superfluous event.preventDefault
...
from #7416
only one of the additions from that PR was necessary to address the issue
11 years ago
Matthias Bussonnier
411a08bf09
rework css media-query
...
fixes #7355
Also limit the number of query "jump", and use variables.
In particular there was a container width discontinuity at 768 pixel
where below 768 container width is 100% and "only" 720px on wider
screen, making a jump.
So now Css media query have 3 breakpoints:
- <540 px with (aka -no name-)
- colapsed menubar
- vbox for prompt
- 100% width container
- 540 -> 767 (aka -xs- )
- expand menubar
- hbox fro prompt
- 767 -> 991 (aka -sm-)
- show save widget
- fix width (768px)
- 991+ (aka -md-)
- extra save widget info (date time)
- fix with of 991 px.
- 1200+ (aka -lg-)
- widht of 1200px.
of course we've set soem variable wrongly so this is still kinda-a-hack
as we shoudl have pushed the xs-sm limit lower instead of pushing the
nothing-xs limit up but I don't want to "fix it" now.
11 years ago
Bussonnier Matthias
4021e9d487
Do not leave toolbar element focused.
...
Can lead to enter re-trigerring them
(ok, can be a feature sometimes I guess)
closes #7475
11 years ago
Mathieu
8936122110
prevent page jump on tooltip actions\n\nExpands the fix of #7367 to tooltip buttons
11 years ago
Matthias Bussonnier
b7bdfa715c
Merge pull request #7444 from minrk/toggle-header-bar
...
hide header-bar when header is hidden
11 years ago
Matthias Bussonnier
e2d809222c
Merge pull request #7460 from minrk/kernel-indicator
...
set kernel-busy on kernel_created
11 years ago
Matthias Bussonnier
3e60745ca1
Smooth notebook scrolling on pager closing.
...
avoid brutal jump of notebook on closing pager, when notebook is scroll
to max
11 years ago
Matthias Bussonnier
d9303c8a14
Merge pull request #7470 from minrk/pager-straight-down
...
hide pager straight down
11 years ago
Matthias Bussonnier
1eb04fd583
Merge pull request #7438 from minrk/auto_highlight
...
move auto_highlight to Cell
11 years ago
Matthias Bussonnier
c84a35da64
Merge pull request #7455 from minrk/new-notebook
...
fix new-notebook and change-kernel menus
11 years ago
Min RK
7479bf26e8
hide pager straight down
...
instead of shrinking into the corner
11 years ago
Min RK
5f08e50830
discard invalid stream output
...
If a stream output is missing text,
log an error and discard the broken message
so it doesn't get into the notebook.
11 years ago
Min RK
015b68e7b4
Merge pull request #7413 from Carreau/end_Space
...
fix end_space size
closes #7409
closes #7372
11 years ago
Min RK
01da342708
set kernel-busy on kernel_created
...
rather than waiting for kernel_starting, which is only after kernel exists, but before connection is available
11 years ago
Min RK
5b4657e9c5
disable trust-notebook click event
...
when trust-notebook item is disabled
11 years ago
Min RK
4bd8335c0e
fix new-notebook and change-kernel menus
...
recent PR made all of these no-ops
also include missing dialog module
11 years ago
Min RK
a900545e78
Merge pull request #7440 from mathieu1/new-notebook-fix-list-logic
...
Fix kernel change breaking "new notebook" list
11 years ago
Matthias Bussonnier
f064f8e113
also fix action in kernelselector.js
11 years ago
Matthias Bussonnier
3aef283f79
Prevent jump when clicking on action in menu.
...
To do so prevent even default action;
Closes #7367
11 years ago
Nicholas Bollweg
ac1c6f7ca8
#7239 : left-aligning text
11 years ago
Min RK
e2de7a928a
hide header-bar when header is hidden
...
also reduce the amount of CSS used to accomplish the 1px line (no negative margins)
11 years ago
Mathieu
f3cfed13ac
fix kernel change breaking new notebook list
11 years ago
Min RK
ed6fa478f0
disable keyboard events on main toolbar
...
closes #5829
11 years ago
Min RK
490248ea93
move auto_highlight to Cell
...
consolidates nearly-identical CodeCell.auto_highlight and TextCell.auto_highlight
11 years ago
Min RK
0327b39a67
console.log
11 years ago
Min RK
b5abeb8ed6
kernelselector lint
11 years ago
Min RK
5f9e75dcef
cleanup kernelspec loading
...
- kernel_selector.set_kernel validates selection and triggers 'spec_changed.Kernel'. It does not start the session anymore.
- notebook calls kernel_selector.set_kernel when:
- kernelspec is in notebook metadata
- session is loaded (e.g. no kernelspec metadata)
- notebook starts session, loads metadata on spec_changed.kernel
The only case where starting the session is not triggered by spec_changed is on notebook load with no kernel metadata
11 years ago
Min RK
0e5ee5bc34
move promise sync to kernelselector, from notebook
11 years ago
Min RK
1028c8d192
use promises to wait for kernelspecs on notebook load
...
should avoid race condition that causes attempt to load kernelspec
prior to loading the kernelspec list
11 years ago
Matthias Bussonnier
c106e76a66
fix end_space size
...
closes #7409
Mostly a symptome of too many nested div that do different things.
don't try to both have an end space inside and outside the 'document'
area. And don't try to also get the things to be 100viewport height by
hacking around and make them smaller;
11 years ago
Mathieu
d90cc0e0de
put current kernel at the top
11 years ago
Mathieu
4e5839dde4
add choice of kernel for new notebook
11 years ago
Mathieu
0eb340b3e2
create new notebook with same kernel
11 years ago
Matthias Bussonnier
2b7568c13f
Merge pull request #7375 from minrk/empty-execute-result
...
ensure data, metadata are set in execute_results
11 years ago
Matthias Bussonnier
87b7f7599c
Merge pull request #7278 from minrk/nb-file-ext
...
don't enforce .ipynb extension in URLs
11 years ago
Matthias Bussonnier
f51872c4c2
Merge pull request #7346 from jdfreder/terminal-page
...
Use page backdrop color in terminal page
11 years ago
Jonathan Frederic
f0da3c863c
Make headerbar -1 margin global
11 years ago
Min RK
d2335ab000
handle missing data, metadata in validate_mimebundle
11 years ago
Min RK
ffaa09492a
Merge pull request #7315 from Carreau/codacy2
...
miscellaneous cleanup
11 years ago
Matthias Bussonnier
214195ce5f
Merge pull request #7327 from minrk/kernel-links
...
move Python-specific help links to kernel_info
11 years ago
Matthias Bussonnier
c0efca80ea
Merge pull request #7331 from minrk/fix-scroll
...
fix scroll actions
11 years ago
Matthias Bussonnier
ea5f2066af
Merge pull request #7340 from minrk/kernel-js-event
...
load kernel js, css, logo on spec_changed event
11 years ago
Jonathan Frederic
b37c5d21d0
When executing a cell, clear output and ignore queued animations.
11 years ago
Min RK
2587cf710c
load kernel js, css, logo on spec_changed event
...
Ensures kernel.js is always loaded.
It wasn't being loaded when creating a new notebook with a particular kernel because `change_kernel` wasn't being called. Only the `spec_changed` event is triggered by all the various ways a kernel can be loaded,
so load kernel stuff on that event.
11 years ago
Matthias Bussonnier
c1d9f4d436
Merge pull request #7283 from minrk/kernel-spec-model
...
add resource URLs to kernelspec model
11 years ago
Matthias Bussonnier
4e2dfe2527
Some code cleanup in javascript and python
...
change patern that are prone to error, like function redifinition
and other.
11 years ago
Min RK
96a5661648
fix scroll actions
...
div#notebook no longer scrolls at all.
Instead, only the body scrolls.
This may be a problem, but at least scroll actions work now.
11 years ago
Min RK
83f51e877c
move Python-specific help links to kernel_info
...
help_links in kernel_info were already in the msg spec,
but not implemented.
Python-specific docs are now linked to the Python version.
11 years ago
Brian E. Granger
df578b8835
Merge pull request #7307 from Carreau/remove-white
...
remove whitespace below menubar when toolbar hidden.
11 years ago
Brian E. Granger
87ab53bcfe
Merge pull request #7311 from Carreau/reform-css-2
...
Reform css 2
11 years ago
Matthias Bussonnier
031e829daf
stack vertically keyboard shortcut on narrow viewport.
11 years ago
Matthias Bussonnier
0165e97c7c
unify submenu style with menu style
...
closes #7303 .
Also change the arrow that indicate submenu for a fontawesoem icon,
instead of the ugly hack that show only the left border of a rectangle element
which with is twice the one of its border to get a triangle.
11 years ago
Min RK
729c233f7d
Merge pull request #7308 from Carreau/reform-css
...
reformat css
11 years ago
Matthias Bussonnier
160690f50a
reformat css
...
cause I want to inject some variable in it after (like border radius)
and a few other thigs.
This is just a reformating that does not change the generated css.
11 years ago
Min RK
d94479ad29
Merge pull request #7251 from Carreau/unregister-preset
...
add ability to unregister a preset
11 years ago
Matthias Bussonnier
54a3f47905
remove whitespace below menubar when toolbar hidden.
...
closes #7292
11 years ago
Min RK
47b41d980b
Merge pull request #7287 from Carreau/mistake
...
binary or is rare in JS
11 years ago
Jonathan Frederic
09b289d932
Merge pull request #7274 from Carreau/global-command
...
make global css change on command/edit mode
11 years ago
Matthias Bussonnier
1dfdda6e97
binary or is rare in JS
11 years ago
Min RK
43da311f5e
add Notebook.ensure_extension
...
allows override of file-extension logic in notebook extensions
11 years ago
Min RK
a417785c5e
add resource URLs to kernelspec model
...
- move kernelspec itself to model.spec
- add resources top-level key with resource URLs
- no more 404s or HEAD requests under normal circumstances
11 years ago
Bussonnier Matthias
15ab64e884
make global css change on command/edit mode
11 years ago
Jonathan Frederic
028b79b385
Move kernel logo to right margin.
11 years ago
Jonathan Frederic
2c714357c4
Review comments
11 years ago
Jonathan Frederic
cda53215ba
Improve edit app
11 years ago
Jonathan Frederic
972065ad22
Additional aesthetic clean-up
11 years ago
Jonathan Frederic
fbc2adf2d5
Make things consistent
11 years ago
Bussonnier Matthias
2b0147c21a
no shadow on print media
...
Also hide celltoolbars
11 years ago
Matthias Bussonnier
6e9ef7abeb
Style notebook as a document
11 years ago
Jonathan Frederic
3969f0ec84
Move terminal less into better location
11 years ago
Thomas Kluyver
01331514bd
Load common_config, and load extensions specified therein
11 years ago
Thomas Kluyver
c719d2fe83
Refactor out load_extensions_from_config function
11 years ago
Min RK
9f9714e11f
remove kernel logo text placeholder
11 years ago
Min RK
da88bff678
add text placeholder for kernels with no logo
...
capital first initial on gray field
11 years ago
Min RK
d5f6aaa1f6
remove kernel selector from header
...
- add kernel name to indicator
- float kernel logo where indicator used to be
11 years ago
Brian E. Granger
6c55690994
Merge pull request #7227 from jdfreder/undead
...
Add visual cue for widgets with dead comms
11 years ago
Thomas Kluyver
5a5f621591
Merge pull request #7247 from Carreau/fix-restore-checkpoint
...
fix restore checkpoint add an empty cell
11 years ago
Thomas Kluyver
2dbc8f5304
Merge pull request #7248 from Carreau/config-ctm
...
pass config to contentsManager
11 years ago
Bussonnier Matthias
f0c5de7c7e
make method private
11 years ago
Bussonnier Matthias
ddbd7aa4fa
add ability to unregister a preset
...
fix #7218
11 years ago
Bussonnier Matthias
3bce53e32e
fix logo on base_url prefix
11 years ago
Bussonnier Matthias
51f1cad6e4
pass config to contentsManager
11 years ago
Bussonnier Matthias
df418c6a62
fix restore checkpoint add an empty cell
11 years ago
Matthias Bussonnier
449384e85f
Merge pull request #7224 from jasongrout/fix-toolbarjs
...
Fix javascript iteration through array
11 years ago
Matthias Bussonnier
7eb4d1b84d
Merge pull request #7225 from Carreau/fix-actions
...
fix leading underscore
11 years ago
Jonathan Frederic
9e67a34891
Bubble event and implement logic in CodeCell
11 years ago
Min RK
26136f44d2
Merge pull request #7088 from Carreau/kernel.js
...
Load the per kernel kernel.js and kernel.css
11 years ago
Bussonnier Matthias
737064d9db
fix leading underscore
...
mering object with itself is stupid otherwise
11 years ago
Jason Grout
efc1fee242
Fix javascript iteration through array
...
for(var k in config) was assigning k to the properties of Array, not just the numeric indices
the second argument of add_buttons_group, k[1], should be config[k][1]
11 years ago
Matthias Bussonnier
031252d44f
Merge pull request #7207 from takluyver/rm-nb-user-config
...
WIP: Remove js user_config module
11 years ago
Matthias Bussonnier
791676006d
Merge pull request #7186 from minrk/moment
...
moment.js-related fixes
11 years ago
Thomas Kluyver
7f221537d4
Fix default_cell_type option for notebook
11 years ago
Thomas Kluyver
938630b475
Remove user_config js module
11 years ago
Brian E. Granger
e090b609d1
Merge pull request #7169 from jdfreder/pager-style
...
Make the new pager look better
11 years ago