Skip to content

✨ NEW: private input field for jupyterlab - #129

Merged
AakashGfude merged 12 commits into
masterfrom
private-jupyterlab
Jun 1, 2021
Merged

AakashGfude merged 12 commits into
masterfrom
private-jupyterlab

Conversation

@AakashGfude

@AakashGfude AakashGfude commented May 20, 2021 •

Copy link
Copy Markdown
Member

UPDATE : Description is updated after merging @DrDrij 's work in this PR: #130

A private input field for hosting notebooks, the server can only be of jupyterlab at present :

Screen Shot 2021-05-28 at 4 54 41 pm

example of a URL formed at the moment is:-

https://pims.syzygy.ca/jupyter/hub/user-redirect/git-pull?repo=https://github.com/QuantEcon/lecture-datascience.notebooks&urlpath=tree/lecture-datascience.notebooks/scientific/numpy_arrays.ipynbscientific/numpy_arrays.ipynb

when in the private window, the value entered is https://pims.syzygy.ca

When the private window is empty, the launch notebook button turns grey and inactive:
Screen Shot 2021-05-28 at 4 57 28 pm

@AakashGfude
AakashGfude requested review from DrDrij, jlperla and mmcky May 20, 2021 09:56
@codecov

codecov Bot commented May 20, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #129 (fb8fa0a) into master (305ec75) will increase coverage by 0.55%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #129      +/-   ##
==========================================
+ Coverage   71.73%   72.29%   +0.55%     
==========================================
  Files           2        2              
  Lines         230      231       +1     
==========================================
+ Hits          165      167       +2     
+ Misses         65       64       -1     
Flag Coverage Δ
pytests 72.29% <100.00%> (+0.55%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
quantecon_book_theme/launch.py 90.69% <100.00%> (+1.28%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 305ec75...fb8fa0a. Read the comment docs.

@github-actions
github-actions Bot temporarily deployed to commit May 20, 2021 10:15 Inactive
@mmcky

mmcky commented May 21, 2021

Copy link
Copy Markdown
Contributor

thanks @AakashGfude.

@DrDrij do you want to merge this into your work on combining these buttons together for execution environments? I'll let you manage if you want this merged before or after your work here.

* adding basic functionality to add launch buttons

* triggering commit

* showing settings icon when multiple servers

* formatting names

* edits on init py

* editing test fixture

* class caption removed

* quantecon-book-theme js is not present

* adding ipynb extension

* faulty pdb

* subpath of the repo

* adding repo subpath to colab linkl

* launch buttons

* repo url formatting

* removed private button

* removed private option for now.

* test file

* hiding chevron icons

* url_subpath

* ✨ NEW: Collapsible input code blocks (#128)

* basic collapse cell functionality

* collapsible code blocks

* collapsible code cells javascript corrections

* Styling and markup for advanced notebook launcher

* Remove troubleshooting css border

* CSS toolbar tweak

* Logic to show launch toolbar button with popup

* Tidy launch popup styles

* Override pydata paragraph styles

* Override pydata heading styles

* Fix heading css error

* Fix another heading css error

* Add JS for launch popup functionality

* Update launch popup functionality

* Update launch popup functionality

* Update launch popup functionality

* Update launch popup functionality

* Update launch popup functionality

* Update launch popup functionality

* update libsass requirement

Co-authored-by: AakashGC <[email protected]>
Co-authored-by: AakashGC <[email protected]>
Co-authored-by: mmcky <[email protected]>
@github-actions
github-actions Bot temporarily deployed to commit May 27, 2021 23:58 Inactive
@github-actions
github-actions Bot temporarily deployed to commit May 28, 2021 01:08 Inactive
@github-actions
github-actions Bot temporarily deployed to commit May 28, 2021 01:08 Inactive
@github-actions
github-actions Bot temporarily deployed to commit May 28, 2021 03:13 Inactive
@github-actions
github-actions Bot temporarily deployed to commit May 28, 2021 06:20 Inactive
@github-actions
github-actions Bot temporarily deployed to commit May 28, 2021 06:29 Inactive
@github-actions
github-actions Bot temporarily deployed to commit May 28, 2021 06:49 Inactive
@github-actions
github-actions Bot temporarily deployed to commit May 29, 2021 07:13 Inactive
@github-actions
github-actions Bot temporarily deployed to commit May 29, 2021 07:30 Inactive
@AakashGfude
AakashGfude merged commit d998437 into master Jun 1, 2021
@mmcky
mmcky deleted the private-jupyterlab branch March 15, 2023 20:30

This branch was previously deployed

1 inactive deployment
commit — fb8fa0a3 Deployed May 29, 2021 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants