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

Customize layout from settings #6688

Closed
jtpio opened this issue Jan 11, 2023 · 2 comments · Fixed by #6921
Closed

Customize layout from settings #6688

jtpio opened this issue Jan 11, 2023 · 2 comments · Fixed by #6921
Assignees
Milestone

Comments

@jtpio
Copy link
Member

jtpio commented Jan 11, 2023

Support for customizing the layout via the settings was added in JupyterLab in jupyterlab/jupyterlab#11614.

It's available in the latest JupyterLab 4.0 pre-releases.

With it, end users should be able to configure where widgets should be placed in the application shell. For example to be able to open terminals in the right area instead of a new tab.

For now it seems to be tied to the @jupyterlab/application-extension:shell plugin, which is not loaded in Notebook 7.

@jtpio jtpio added this to the 7.0 milestone Jan 11, 2023
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to issues that need triage label Jan 11, 2023
@jtpio jtpio added enhancement and removed status:Needs Triage Applied to issues that need triage labels Jan 11, 2023
@jtpio
Copy link
Member Author

jtpio commented Jan 13, 2023

This might help with #6386.

@jtpio
Copy link
Member Author

jtpio commented Jun 5, 2023

In its settings, JupyterLab makes it possible to define the layout for single and multiple (document): https://github.com/jupyterlab/jupyterlab/blob/e0b4de1eb37c9dd37c11e5319ed00cb8d37b8d92/packages/application-extension/schema/shell.json#L32-L42

"properties": {
  "single": {
    "$ref": "#/definitions/layout",
    "default": {
      "Linked Console": { "area": "down" },
      "Inspector": { "area": "down" },
      "Cloned Output": { "area": "down" }
    }
  },
  "multiple": { "$ref": "#/definitions/layout", "default": {} }
}

For Notebook 7, maybe it could be interesting to offer the ability to customize per page.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant