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

Wrong links in documentations pages #11736

Closed
3 tasks done
moalamri opened this issue Feb 19, 2022 · 4 comments
Closed
3 tasks done

Wrong links in documentations pages #11736

moalamri opened this issue Feb 19, 2022 · 4 comments

Comments

@moalamri
Copy link

moalamri commented Feb 19, 2022

Preflight Checklist

Describe the Bug

When I click on any headline title in documentations pages it should take me to the anchor of the linked element, but instead it takes me out of the app to the login page.

It only happens to hash tagged links where they supposed to scroll down/up to the anchor of the related topic.
The reason for this behavior is due to the current route url not being injected into the link.
The link point to the following:
http://example.com/admin/#**tag**

Where it should point to:
http://example.com/admin/docs/app/**document**#**tag**

record-screen

To Reproduce

Click on any documentation tagged link

Errors Shown

No response

What version of Directus are you using?

9.5.0 & 9.5.1

What version of Node.js are you using?

16.13.1

What database are you using?

Postgresql

What browser are you using?

Microsoft Edge | 98.0.1108.50 (Official build) (64-bit)

What operating system are you using?

Windows 11

How are you deploying Directus?

Bare bone

@licitdev
Copy link
Member

Hi @moalamri, I am unable to reproduce your issue in Microsoft Edge on macOS.
Please kindly elaborate on your bare bone set up.
You may also wish to upgrade to test if v9.5.2 resolves the issue.

Screen.Recording.2022-02-21.at.12.19.57.PM.mov

@moalamri
Copy link
Author

Hi @licitdev,
Sorry for not being clear about deployment.
I meant that I didn’t use docker or iis or reverse proxy, just Directus on the edge using directus start

I deployed a fresh install of v9.5.2 and used different browser (Safari), but it seems like the issue is still there.

I will dig more into this today and let you know.
Otherwise I will upload a copy of the project to see if this just an end user issue.

@licitdev
Copy link
Member

@moalamri No worries, I thought it could be due to a reverse proxy rewriting urls.
Thank you for your clarification~ 👍🏻

@moalamri
Copy link
Author

I will close this until later when I have time to debug more or when someone else report the same issue

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

No branches or pull requests

2 participants