When a kernelspec is removed while a kernel spawned from it is in use
the Running tab on the dashboards page errors and no longer shows
any results. Fall back on using the kernel name from the session
in this case so that users can see and terminate kernels.
without this, it is not possible to select any text using the mouse in
the contents of the modal. For example: editing the notebook metadata
JSON you end up just moving the whole box around instead of being able
to select a portion of the JSON using the mouse.
* Edit notebook opens a notebook, Edit any other file type open it in a
text editor
* View only available for HTML files to disambiguate between “viewing”
a notebook or text file (which is the same as editing it) and viewing
an HTML file
This code claimed to be required for SlimerJS, but our test suite does
not currently pass on SlimerJS (and does no better or worse without this
code).
With PhantomJS, however, this eliminates a ~10s startup cost for each
file which uses notebook_test, and all of the tests continue to pass.
There are ~40 files using this, the bult of them in the js/notebook
section, which should now run 5-6 minutes faster as a result.
add /api/status endpoint for retrieving current status
includes
- started: start time of the server
- last_activity: latest activity across all endpoints
- connections: number of current connections
- kernels: number of current kernels
The size of the cell toolbar header is fixed, meaning that overflow
needed to be handled. This also styles a fade out, to help indicate to
the user that the content is overflowing.