Commit Graph

6884 Commits

Author SHA1 Message Date
Mathieu
d6583c8097 invoke css 2015-02-06 16:28:18 +01:00
Mathieu
9fe1f43089 clean up CSS and firefox clicks
- `#button-select-all` toggles the all/none checkbox
  and the all/none checkbox now works on firefox
- static appearance of the `#button-select-all` button
  (even on counter change, up to two digits)
- clean up `tree.less`
2015-02-06 16:24:58 +01:00
Mathieu
0e9f13807e add select-all badge 2015-02-06 01:27:43 +01:00
Mathieu
2144e843fe fix badge display on firefox
apparently, the use of `pull-right` requires the badges
to appear before the checkbox in order to display
correctly on firefox.
2015-02-05 20:36:19 +01:00
Mathieu
f012d1553c invoke css 2015-02-05 14:22:30 +01:00
Mathieu
36a59bf8dc add disabling, align badges and improve look
- Disable checkboxes when there is nothing to select
- right-alignment of badges in the menu
- HTML and CSS improvements for better look (not final)

Internal changes:
- Avoid use of `stopPropagation()`!
  Instead, replace bootstap's dropdown hide/show logic
  with suitable sticky-dropdown behaviour.
- Avoid selecting the `..` parent folder
2015-02-05 14:22:30 +01:00
Mathieu
2d91e6e1f6 add badge to each menu item
this is a possible way to address #7628
2015-02-05 14:22:29 +01:00
Mathieu
3578e8f1e5 streamline tree-selector menu using checkboxes
streamlines the menu from #7667 with
- Shorter text, with icons.
- Main checkbox no longer opens the dropdown.
  Instead it just selects all/none.
- Fewer menu items but more actions possible by adding checkboxes
  in the menu
- Menu stays open until clicking outside.

This obviously needs CSS tweaking
2015-02-05 14:22:29 +01:00
Jonathan Frederic
2aac3e913a Merge pull request #7683 from minrk/fill-height
fill #site height with notebook containers
2015-02-04 15:03:25 -08:00
Min RK
b68cf735d7 Merge pull request #7687 from jdfreder/defineselected
Defined selected in notebooklist constructor
2015-02-04 13:51:18 -08:00
Min RK
c6bc3cc407 Merge pull request #7680 from jdfreder/persistfix
Fix widget view persistence.
2015-02-04 13:51:08 -08:00
Jonathan Frederic
46d1a64412 Defined selected in notebooklist constructor 2015-02-04 12:13:08 -08:00
Min RK
a1abe28c2c fill #site height with notebook containers
avoids cutoff of overlay elements
2015-02-04 10:33:36 -08:00
Jonathan Frederic
a1f75abe32 Test for persistence. 2015-02-04 09:54:15 -08:00
Brian E. Granger
7a2e994a7e Merge pull request #7667 from jdfreder/treeselector
Dashboard selector dropdown.
2015-02-03 17:07:53 -08:00
Jonathan Frederic
d78915af13 Fix variable scope. 2015-02-03 16:34:12 -08:00
Jonathan Frederic
6019c62f7f Attempt to fix alignment problems 2015-02-03 16:13:09 -08:00
Thomas Kluyver
27334d29f5 Merge pull request #7666 from minrk/edit-download
add download link to editor
2015-02-03 14:33:20 -08:00
Thomas Kluyver
8c6b5ea4dd Merge pull request #7632 from minrk/terminado-dep
add terminado as [notebook] dep on non-Windows
2015-02-03 14:28:45 -08:00
Thomas Kluyver
ea1892d597 Merge pull request #7668 from minrk/kernelspec-whitelist
Add KernelSpecManager.whitelist
2015-02-03 14:27:02 -08:00
Min RK
26290b8d65 Merge pull request #7674 from SylvainCorlay/lookup_predicate
Allow predictate to be used for comparison in selection widgets
2015-02-03 12:12:55 -08:00
Sylvain Corlay
f1cc2d1cc6 Allow a comparison operator 'equals' to be set for reverse lookup 2015-02-03 19:33:03 +00:00
Min RK
f979c3c48a add terminado to wheel dependencies 2015-02-03 10:56:26 -08:00
Jonathan Frederic
fb88ecd55d Address comments,
Remove inverse,
Deselect instead of unselect,
Add separator.
2015-02-03 08:21:46 -08:00
Jonathan Frederic
4f3d5eb912 tristate 2015-02-02 23:09:51 -08:00
Thomas Kluyver
6e8921c682 Merge pull request #7669 from minrk/wakeup
use \0 instead of 'wake up' to finish output
2015-02-02 17:37:50 -08:00
Min RK
cc64652f56 use \0 instead of 'wake up' to finish output
since we are now seeing the captured output,
we don't need `wake up` at the end of all of our test outputs.
2015-02-02 17:14:24 -08:00
Min RK
c9f60e6354 Merge pull request #7664 from minrk/start-busy
don't trigger kernel_starting after kernel_connected
2015-02-02 17:04:49 -08:00
Min RK
2b44652957 Add KernelSpecManager.whitelist
set of allowed kernels by name

Mainly useful for excluding the 'native' python2/3 kernel,
but it's generic.
2015-02-02 17:01:08 -08:00
Min RK
5298f5342a Merge pull request #7626 from Carreau/refresh-rate
Make time to refresh "configurable", and limit refresh on focus
2015-02-02 16:37:33 -08:00
Jonathan Frederic
2167ec43fa invoke css 2015-02-02 16:36:48 -08:00
Jonathan Frederic
30a23d4456 Add selector button to dashboard 2015-02-02 16:36:28 -08:00
Min RK
23fad40f6d add download link to editor 2015-02-02 16:35:24 -08:00
Jonathan Frederic
95ac0675c9 Merge pull request #7665 from jdfreder/fixedmodeindi2
Fix the mode indicator width.
2015-02-02 15:39:43 -08:00
Min RK
e7e2fdde37 Merge pull request #7662 from jdfreder/autorefreshfix
Prevent dashboard list items from being deselected on redraw.
2015-02-02 15:05:19 -08:00
Jonathan Frederic
697fcf3dcd Remove accident 2015-02-02 14:48:27 -08:00
Jonathan Frederic
fae9040524 invoek css 2015-02-02 14:46:11 -08:00
Jonathan Frederic
5f72e00dd7 Used fa-fw to force mode indicator as fixed width. 2015-02-02 14:46:02 -08:00
Min RK
ded9e7b6ad don't trigger kernel_starting after kernel_connected
trigger instead at the beginning of Kernel.start

if a websocket is fully connected, the kernel has finished starting
2015-02-02 14:23:00 -08:00
Jonathan Frederic
69b07bf0a8 Prevent list items from being deselected on redraw. 2015-02-02 13:22:24 -08:00
Jonathan Frederic
6d248f258a Merge pull request #6890 from bollwyvl/widget-select-multiple
SelectMultiple widget
2015-02-02 12:51:40 -08:00
Jonathan Frederic
9c4bb256fe Merge pull request #7661 from minrk/prompt-overlay-only-on-prompt
only show prompt overlay if there's a prompt
2015-02-02 12:22:38 -08:00
Min RK
f1828497e5 only show prompt overlay if there's a prompt
on which to overlay
2015-02-02 11:27:23 -08:00
Min RK
c0b5621732 Merge pull request #7655 from Carreau/position-tooltip
position tooltip in #site
2015-02-01 14:44:41 -08:00
Min RK
19f48499b3 Merge pull request #7653 from Carreau/sticky-not
fix sticky warning.
2015-02-01 14:41:27 -08:00
Matthias Bussonnier
ea8fbb930f position tooltip in #site
Fixes #7654. As the position may be calculated for some browser
differently because of the translate-Z hack.
2015-02-01 15:05:58 +01:00
Matthias Bussonnier
7cbc54b9c3 fix sticky warning.
Widget.warning('text....') was infinitely sticky in some cases
like content manager raising 'not implemented' on copy.

The make default click_callback to dismiss notification,
and fix the logic to not unbind the click handler if it requests
the notification not to be dismissed.
2015-02-01 12:19:38 +01:00
Min RK
1ca890e16c Merge pull request #7650 from minrk/initial-kernel
don't prevent spec_changed from firing on load
2015-01-31 15:59:42 -08:00
Min RK
0ef85028d7 don't prevent spec_changed from firing on load
fixes check for the case where kernelspec info is coming from the kernel,
rather than notebook metadata.

This case was getting skipped by a bad check on `_session_starting`.
2015-01-31 14:27:15 -08:00
Nicholas Bollweg
39e7836ddc firing select.change on option.click 2015-01-31 00:02:20 -05:00