Exifly / ApiVault

Your gateway to a world of public APIs.
https://apivault.dev
Other
435 stars 39 forks source link

Redirect on category page when I click on the category badge on the card #176

Closed gdjohn4s closed 1 year ago

gdjohn4s commented 1 year ago

Describe the bug

I wouldn't define it as a bug, but it's definitely a problem for the user experience. It would be very convenient if I could also directly navigate to the category of the selected API from the card by clicking on the subtitle of the card.

Expected behavior

Screenshot 2023-05-24 at 15 37 40 When I hover over the card and click on the subtitle containing the API category, I should be taken to the page that displays all the APIs in that category.

Taseeeer commented 1 year ago

@gdjohn4s at this time the whole card is clickable and you cannot hover on the category explicitly, do you want to change this behaviour and wants the category - in this case "Music" to be clickable and it navigates you to its page in the categories?

gdjohn4s commented 1 year ago

Yes, if you turn the category into a <NuxtLink>, the whole card remain clickable but if you put your mouse on the category badge and click on it, you'll redirect on the category page of the card.

Taseeeer commented 1 year ago

I can work on this, assign it to me.

gdjohn4s commented 1 year ago

of course! thank you 😄