jupyter / jupyter/notebook

Add back `jupyter nbextension` commands as an alias to `jupyter labextension`?

Open
#7,199 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

### Problem

For some users it might be odd to type the `jupyter labextension` commands if they only use Jupyter Notebook 7 and not JupyterLab.

### Proposed Solution

Maybe it could make sense to add some of the `jupyter nbextension` commands back to Notebook 7, which would just be an alias for `jupyter labextension`? For example:

- `jupyter nbextension list` -> `jupyter labextension list`
- `jupyter nbextension enable` -> `jupyter labextension enable`
- `jupyter nbextension disable` -> `jupyter labextension disable`

There might also be some pros for keeping the `jupyter labextension` command, to explicitly indicate Notebook 7 extensions are JupyterLab extensions.

Although the extensions would still be located under `PREFIX/share/labextensions`.

### Additional context

No strong opinions to add it back. Opening the issue to see if users and / or maintainers would think this could be useful.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing `jupyter labextension` entry point and the historical `jupyter nbextension` commands named in the issue. Determine the scope and compatibility of aliases for `list`, `enable`, and `disable`; done means the agreed aliases behave consistently with their corresponding labextension commands.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter, jupyter-notebook
Domain
cli, developer-experience
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.