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

Graph link error when clicking home/index node, adding extra /, which messes up other functionalities. #1712

Closed
Brodypen opened this issue Jan 7, 2025 · 0 comments · Fixed by #1713
Labels
bug Something isn't working

Comments

@Brodypen
Copy link

Brodypen commented Jan 7, 2025

Describe the bug

Using the graph box from any subdirectory that's not home, if a user clicks on the node that leads back to home, it will adds a extra / to the end of the top level domain.

After this happens, with this extra '/' any links in the explorer, and backlinks will crash.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://quartz.jzhao.xyz/features/backlinks
  2. Click on Welcome to Quartz 4
  3. Use any link in explorer or backlink
  4. See error

Expected behavior
The graph should not add this '/' once you go back to your home page.

Screenshots and Source
If applicable, add screenshots to help explain your problem.

You can help speed up fixing the problem by either

  1. providing a simple reproduction
    issueOfGraphViewAddingExtra_

  2. linking to your Quartz repository where the problem can be observed
    https://quartz.jzhao.xyz/features/backlinks

Desktop (please complete the following information):

  • Quartz Version: Current version of Quartz site.
  • node v23.1.0
  • npm 10.9.0
  • OS: macOs
  • Browser: Arc
@Brodypen Brodypen added the bug Something isn't working label Jan 7, 2025
@aarnphm aarnphm linked a pull request Jan 7, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant