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

Hyperlinks between notebooks do not link to sections anymore #15207

Open
kdeleeuw11 opened this issue Oct 3, 2023 · 3 comments
Open

Hyperlinks between notebooks do not link to sections anymore #15207

kdeleeuw11 opened this issue Oct 3, 2023 · 3 comments
Labels
bug tag:Regression Behavior that had been broken, was fixed, and is broken again
Milestone

Comments

@kdeleeuw11
Copy link

Description

Reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error '...'

Expected behavior

Context

  • Operating System and version:
  • Browser and version:
  • JupyterLab version:
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here, if applicable.
@kdeleeuw11 kdeleeuw11 added the bug label Oct 3, 2023
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Oct 3, 2023
@kdeleeuw11
Copy link
Author

I recently moved from Python 3.9 to Python 3.11 with Anaconda. This also meant that Anaconda installed Jupyterlab 4.0.6. I have noticed that hyperlinks between notebooks are not properly working anymore. When there is a hyperlink in a notebook referring to a heading in another notebook, when clicking on the hyperlink, the top of referred notebook is shown and not the specific heading.

An example

  • there are two notebooks called "notebook-1.ipynb" and "notebook-2.ipynb"
  • in notebook-2, there are a number of headings on different level, e.g. Heading 1, Heading 2
  • when putting a hyperlink in notebook-1 with Heading 1 and another hyperlink in notebook-1 with Heading 2, when clicking the hyperlink in notebook-1, the system will jump to notebook-2, but actually to the top of that notebook and not to the specific heading

This is different compared to jupyterlab 3.6.3 where, when clicking on the hyperlink, the system jumped to notebook-2 where the top of the window showed the heading defined in the hyperlink.

I have a large amount of notebooks with information by heading and separate notebooks that function as index with hyperlinks to those headings. The functionality in jupyterlab 4.0.6 makes it pretty difficult to find information back. I have now installed a conda environment with jupyterlab 3.6.3 but I would prefer to work with the latest jupyterlab version

@kdeleeuw11 kdeleeuw11 reopened this Oct 3, 2023
@krassowski krassowski added the tag:Regression Behavior that had been broken, was fixed, and is broken again label Oct 3, 2023
@JasonWeill JasonWeill removed the status:Needs Triage Applied to new issues that need triage label Oct 3, 2023
@JasonWeill JasonWeill changed the title Hyperlinks between notebooks Hyperlinks between notebooks do not link to sections anymore Oct 3, 2023
@krassowski krassowski added this to the 4.0.x milestone Jan 22, 2024
@krassowski
Copy link
Member

@kdeleeuw11 could you try with the latest version 4.0.11? There were a few fixes to scrolling to heading since.

@kdeleeuw11
Copy link
Author

kdeleeuw11 commented Jan 22, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug tag:Regression Behavior that had been broken, was fixed, and is broken again
Projects
None yet
Development

No branches or pull requests

3 participants