Jonathan Frederic
33d1bc2abe
Fix heading height
11 years ago
Jonathan Frederic
9f35ee6c7a
Use less for heading padding
11 years ago
Jonathan Frederic
06fe62fe96
Improved styling
11 years ago
Jonathan Frederic
808916762e
Remove terminals page of the dashboard,
...
move contents into running tab.
11 years ago
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)
11 years ago
Min RK
e769c2c99e
remove tree override.css
11 years ago
Min RK
ffaa09492a
Merge pull request #7315 from Carreau/codacy2
...
miscellaneous cleanup
11 years ago
Jonathan Frederic
d0ab0ad4aa
Display kernels in alphabetical order.
11 years ago
Jonathan Frederic
992976844d
Merge pull request #7302 from Carreau/1pix
...
a few 1 pixel fixes.
11 years ago
Min RK
026ec844f9
update new notebook button with kernelspec changes
...
display_name is in the spec, not top-level.
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
Matthias Bussonnier
27f3c224c2
a few 1 pixel fixes.
...
this uses the same html/css structure acroos the tabs, and reduce the overlay
click zone that expended the size of the header to 25px instead of 24px
11 years ago
Brian E. Granger
7b21e13705
Merge pull request #7242 from jdfreder/terminal-fixes
...
Some UI design changes for the Notebook and associates
11 years ago
Jonathan Frederic
34c08c035f
New file open editor
11 years ago
Jonathan Frederic
e593e6a123
Dont prompt for name.
11 years ago
Jonathan Frederic
e0adde46f3
New new button
11 years ago
Jonathan Frederic
849c96ae61
Merge pull request #7268 from Carreau/ungroup-button
...
ungroup button on dashboard
11 years ago
Matthias Bussonnier
6b57f44bf6
ungroup button on dashboard
...
fix a few instanced of button toolbar that were not with the right class or not in btn groups.
11 years ago
Jonathan Frederic
fbc2adf2d5
Make things consistent
11 years ago
Jonathan Frederic
726c95cbff
Address review comments
11 years ago
Jonathan Frederic
79fe99d124
Make terminal pretty
11 years ago
Bussonnier Matthias
bb61df5c35
make shutdown yellow/orange
11 years ago
Thomas Kluyver
e2139e7190
Fix module name
11 years ago
Thomas Kluyver
01331514bd
Load common_config, and load extensions specified therein
11 years ago
Jonathan Frederic
ab1fca9fdb
Prevent the page from jumping on tree tab change
11 years ago
Kyle Kelley
4f4e14342b
Merge pull request #7172 from Carreau/sort-dashboard
...
Sort dashbord list in frontend
11 years ago
Bussonnier Matthias
89edf7c099
fix ordering dirs > notebook> files
11 years ago
Bussonnier Matthias
09b4d91ad0
sort dashbord in frontend
11 years ago
Min RK
ab7b35afdb
link to /edit/ on files
11 years ago
Min RK
b10ebdad4b
s/current_selection/default_kernel/
11 years ago
Min RK
6a1cebe4c0
minor reflow of tree header
...
- remove absolutely positioned text (absolute text doesn't wrap correctly)
- associate hidden upload directly with 'click here' via span
- remove column split, rely on regular reflow
11 years ago
Min RK
371b031f40
informative hover text for current selection
11 years ago
Min RK
d1bda196b7
remove some weird tabs
...
How did they get there? We may never know...
11 years ago
Min RK
fbaae651ad
remove UI for setting default kernel
...
can be set with:
IPython.new_notebook_widget.set_default_kernel('kernel_name')
11 years ago
Min RK
8eb6ec00d8
store current kernel selection in frontend config
...
instead of localStorage
11 years ago
Min RK
11ef669ec6
kernelspecs is a dict
...
sort menus client-side
11 years ago
Min RK
d9767e8c94
separate selecting default kernel from new notebook with specified kernel
...
adds checkmark to indicate selection
11 years ago
Min RK
0cfd8731a0
include current kernel name in new notebook dropdown
11 years ago
Min RK
d312486840
Add kernel-select dropdown to new notebook button
...
most recent choice is remembered in localStorage
11 years ago
Jonathan Frederic
b53386b37b
Ran function comment conversion tool
11 years ago
Osada Paranaliyanage
bc55f3c16e
Refresh terminal list. closes #7018 .
11 years ago
Scott Sanderson
16b9150151
DEV: Add various events.
11 years ago
Min RK
5eff21f3c6
simplify NotebookList.duplicate with recent changes
...
- contents service + futures
- remove no-longer-necessary parent_item
11 years ago
Min RK
036c47d032
set min-width on tree-list buttons
...
avoids misaligned buttons when the content changes
11 years ago
Min RK
8bad784ce5
update add_duplicate_button with API changes
...
- allow duplicating regular files
- update with contents service API changes
- fix some path/name bugs found in session and kernel list
11 years ago
David Neto
6aae1e219f
Add the "Duplicate" button in the main dashboard
...
so we can copy an existing notebook without having to start it's instance
11 years ago
Thomas Kluyver
aecb4bffa5
All aboard the promise train
11 years ago
Thomas Kluyver
11cfcc40d4
Use promises for GET requests
11 years ago
Min RK
287d572fb3
Merge pull request #6855 from takluyver/new-notebook-async
...
Open new windows before creating new notebooks
closes #6849
11 years ago
Min RK
a257e580a0
Merge pull request #6854 from takluyver/post-new-terminal
...
Create new terminals with POST request to API
11 years ago
Thomas Kluyver
b046af083c
Fix some bugs in deleting notebooks from the dashboard
11 years ago
Thomas Kluyver
260ebcebcf
Open window before creating new notebook
...
Avoids the need for synchronous requests.
11 years ago
Min RK
3870a30ce4
contents.new_untitled to match Python API
11 years ago
Min RK
39041a9f03
address review in contents service
...
- various docstrings, comments clarified and updated
- misc typos
- fix and test creating an untitled directory via POST
- only define `message` if there's something to say
11 years ago
Min RK
8407ba3a08
update frontend with path/name changes
...
- remove name from models
- path is full path (contains name)
11 years ago
Thomas Kluyver
538fcbc025
Close new window on error creating terminal
11 years ago
Thomas Kluyver
8da4e89e3a
Make a window immediately, and set its location on response
...
Avoids the need for async:false
11 years ago
Thomas Kluyver
b7a558d5b9
Use synchronous request for creating new notebooks
...
To get round popup blockers
11 years ago
Thomas Kluyver
1f2e4cc6c3
Fix passing empty list to draw_notebook_list()
11 years ago
Thomas Kluyver
a4f869aa8b
Rename methods to remove _file suffix
11 years ago
Thomas Kluyver
5279418acf
Make Contents.new more generic
11 years ago
Kester Tong
89df330129
Modifies Contents API to return Error objects
...
Modfies the Contents class to return JavaScript Error objects instead of passing on the return values from $.ajax(). This has two advantages. First, it allows the content manager to parse errors and give more informative messages than the ajax response. Second, it makes the Contents interface more general, since other kinds of backends might generate client-side errors.
11 years ago
Thomas Kluyver
e1cbaf3d3c
Fix spelling
11 years ago
Thomas Kluyver
f8ec8d4abe
Various minor fixes from review
11 years ago
Thomas Kluyver
ea314a2a86
Rename callback parameters to success/error
11 years ago
Thomas Kluyver
060dd1305c
Miscellaneous JS fixes
11 years ago
Thomas Kluyver
c1c591336e
Some more event cleanup
11 years ago
Thomas Kluyver
c9bd254735
Make contents JS API consistent
11 years ago
Thomas Kluyver
9538726b16
Don't do UI stuff in contents API module
11 years ago
Jeff Hemmelgarn
dab99c599f
Remove unnecessary backwards compatibility code
11 years ago
Jeff Hemmelgarn
53463898eb
Move contentmanager to contents
11 years ago
Jeff Hemmelgarn
09e0ff93d8
Fix a few problems with cherry-picked commits
...
api/notebooks => api/contents
add type to JSON model
fix a few things in notebooklist.js
11 years ago
KesterTong
3994d4d56a
Adds configuration options to use Google Drive content manager
...
Adds the key contentmanager_js_source to webapp_settings that allows for specifying the content manager JavaScript source file. Also adds a NotebookManager subclass, ClientSideNotebookManager, which does minimal logic. This class is used when the JavaScript content manager doesn't use the Python notebook manager, but rather implements that logic client side, as is the case for the Google Drive based content manager.
A sample command line that uses the Google Drive content manager, and the ClientSideNotebookManager, is
ipython notebook --NotebookApp.webapp_settings="{'contentmanager_js_source': 'base/js/drive_contentmanager'}" --NotebookApp.notebook_manager_class="IPython.html.services.notebooks.clientsidenbmanager.ClientSideNotebookManager"
11 years ago
KesterTong
e3ef5d3b70
Moves list_notebooks to ContentManager
11 years ago
KesterTong
61a911fc0c
Fix constructor comments
...
Add content_manager as a dictionary key to the options param passed in to the NotebookList and Notebook constructors.
11 years ago
KesterTong
0aada3ac5d
Remove deleted notebook from notebook list
...
Uses events to notify the NotebookList when the content manager deletes a notebook, and remove the deleted notebook in response to such an event.
11 years ago
KesterTong
077ba397c1
Removes unnecessary parameter from ContentManager.delete_notebook
11 years ago
Jeff Hemmelgarn
728c6f005f
Move deleting a notebook to contentmanager.js
...
Move code to handle deleting a notebook from notebooklist to
contentmanager.
11 years ago
KesterTong
993833d018
Replace other methods with ContentManager.new_notebook
...
Replaces Notebook.new_notebook and NotebookList.new_notebook with ContentManager.new_notebook
11 years ago
Min RK
96183a60a0
create new terminals with POST /api/terminals
...
instead of GET terminals/new
to be consistent with creating new notebooks.
We had to stop using GET notebooks/new
because browsers would create new notebooks when making preview thumbnails for commonly visited pages, etc.
I assume the same issue would apply to terminals
11 years ago
Thomas Kluyver
d32322e332
Show terminals as terminals/name
...
Bigger click target
11 years ago
Thomas Kluyver
4025b57ed8
Only display terminals in dashboard if terminals are available
11 years ago
Thomas Kluyver
65e664b143
Add list of available terminals in the dashboard
11 years ago
MinRK
2624f82787
set contentType='application/json'
...
instead of skipping straight to headers
avoids jQuery's crazy JSONP detection on `=.*??`,
which was triggered because it assumed the contentType was unspecified,
and thus should be guessed based on content.
11 years ago
Jeffrey Bush
f141a6926a
File list refreshes no longer move the upload filename boxes.
...
The new file list is always placed after the upload filename boxes. I also removed the autorefresh guards against refreshing while having an upload box since this is no longer a problem.
12 years ago
Jeffrey Bush
1f68e22486
Fixed many edge cases in file uploads.
...
When there is an error reading a file, a message is shown (I could reproduce this easily by dragging a folder onto the list), added a missing "return false;" after an illegal notebook was detected, and we prevent no-name files and files starting with dots (which will not be visible in dashboard and automatically overwritten).
12 years ago
Jeffrey Bush
305c734830
Uploading a file with a name that already exists asks the user if they want to overwrite.
...
This is not perfect (it doesn't check against the real filesystem but the current list in the browser which may be stale) but it is better than nothing.
12 years ago
Jeffrey Bush
5fff038965
Added ESC keep to upload textbox to cancel.
12 years ago
Jeffrey Bush
defabcc772
Minor improvements to file upload.
...
Updated file upload so that the icon of the new upload item reflects if it is a file or notebook, added the ability to use the "Enter" key in the filename text box to cause the upload to happen, and make it so that the list of files refreshes immediately upon successful upload.
12 years ago
MinRK
3e79eea46b
update contents per further review
...
- fix is_hidden always returning True on nonexistent files
- create hidden dir fails with 400
- don't read binary files twice
- logging improvements
- dialog on invalid notebook upload
- warn about disabled `--save`
12 years ago
MinRK
fb89646a29
various upload fixes
...
- recognize 201 as success (dataType must not be 'json')
- support uploading non-notebook files (b64-encoded)
12 years ago
MinRK
3c26b079f0
updates per review
...
- clarified docstrings and errors
- still more notebook/file renames
- configurable untitled names
- copy_from can be full path
- fix running, upload, new-tab behaviors in dashboard
Yay, review!
12 years ago
MinRK
3674958b70
teach tree view about non-notebook files
12 years ago
MinRK
0c0eb43719
teach contents service about non-notebook files
12 years ago
MinRK
6cce477e07
rename notebooks service to contents service
...
minimal functional changes, committing because tests are passing.
12 years ago
Matthias BUSSONNIER
70eb95d04c
remove call to jquery-ui useless button()
12 years ago
Matthias BUSSONNIER
36e3f20d5e
fix some font-awesoem 4 icons
12 years ago
Thomas Spura
8a9dcd219d
Port to fontawesome4
12 years ago
MinRK
11193d4790
move some responsive bootstrap transitions
...
- `-md-` puts the transition at 970px
- `-sm-` puts the transition at 768px
I moved most of the `md` transitions to `sm`,
which seems more reasonable.
I also moved the cluster list to `xs` because
the columns will never be wider than a dozen or so characters.
12 years ago
MinRK
9ff7d264ab
note loaded, unused dependencies in require
12 years ago