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

(nuxt website): module cards links are inconsistent at open new tab #1750

Open
petitkriket opened this issue Jan 13, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@petitkriket
Copy link

petitkriket commented Jan 13, 2025

Environment

MacOS, Chrome, Firefox and Safari

Reproduction

to reproduce

1.go to the a module category page with direct access, such as security or devtools or do a page refresh from any of the category page.
2. open a bunch of module links in a NEW TAB via right click "open in a new tab" or CMD + Click
3. find out that when you open a new link to a module, for instance, nuxt-security, the target URL that is actually opened is nuxt-image

It happens when opening a new tabs from the "security" category ?category=Security
It only happens when opening the security category on direct access by typing accessing url directly
It does not happen when opening the link on the same window on the ?category=Security page
It does not happen when opening links from module page without category slug

Describe the bug

There is a unpredictable behaviour. When i click on nuxt modules cards that links to Nuxt 3 modules on a new tab, it open a different link than the expected one.

When I try direct access by clicking on the link (not a open in a new tab or CMD + Click , it works as expected

Additional context

additional info

reproduced on Chrome and Safari.
https://github.com/user-attachments/assets/0742a7fa-80c6-4556-b31c-26f181d9f92b

guess

when browsing a category with an active filter, the opened links pattern (@nuxtjs/kinde, @logto/nuxt, @nuxt/devtools ) actually match the links displayed on the root main modules page without active filter https://nuxt.com/modules.

Logs

@petitkriket petitkriket changed the title (nuxt website): module cards links are inconsistent (nuxt website): module cards links are inconsistent at open new tab Jan 13, 2025
@danielroe danielroe transferred this issue from nuxt/nuxt Jan 13, 2025
@atinux atinux added the bug Something isn't working label Jan 14, 2025
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

No branches or pull requests

2 participants