Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean remaining code relative to Notebook<7 #1824

Merged
merged 3 commits into from
Sep 1, 2023
Merged

Conversation

brichet
Copy link
Contributor

@brichet brichet commented Sep 1, 2023

This PR removes a remaining compatibility with Notebook<7:

  • a flag in formgrader frontend used to handle the links to directory and notebook file with jupyterlab or notebook<7
  • the NotebookApp compatibility. Only the ServerApp will be supported.

It also adds a way to handle multiple courses using JupyterHub.
Before this PR, the links to the correct formgrader service was always redirected to a lab url.
After this PR, if the course is clicked from a Notebook, it opens the tree url.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 1, 2023

Binder 👈 Launch a Binder on branch brichet/nbgrader/cleanup

@brichet brichet self-assigned this Sep 1, 2023
@brichet brichet merged commit 6db3800 into jupyter:main Sep 1, 2023
24 of 25 checks passed
@brichet brichet deleted the cleanup branch September 1, 2023 20:14
@brichet brichet changed the title Cleanup Clean remaining code relative to Notebook<6 Sep 4, 2023
@brichet brichet changed the title Clean remaining code relative to Notebook<6 Clean remaining code relative to Notebook<7 Sep 4, 2023
shreve pushed a commit to shreve/nbgrader that referenced this pull request Jul 8, 2024
* Remove unecessary is_lab variable in formgrader static file

* Remove compatibility with NotebookApp

* Handle multiple courses with JupyterHub when using Notebook
AlirezaT99 pushed a commit to AaltoSciComp/nbgrader that referenced this pull request Aug 6, 2024
* Remove unecessary is_lab variable in formgrader static file

* Remove compatibility with NotebookApp

* Handle multiple courses with JupyterHub when using Notebook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant