github-readme-stats icon indicating copy to clipboard operation
github-readme-stats copied to clipboard

Pins link to image of pin card instead of repo or gist.

Open kupietools opened this issue 1 year ago • 2 comments

Describe the bug

I am using the pin and gist endpoints. While these do correctly render what looks like cards for pinned repos and gists, clicking on those cards opens an image of the card on the url "https://camo.githubusercontent.com/[long string of numbers]", rather than going to the repo or gist. This makes the pins unusable as a replacement for the native pins, which allow users to directly open repos.

At present,

Expected behavior

Clicking a card for a repo or gist should go to the page for that repo or gist.

Screenshots / Live demo link

As an example, here is a pin for a repo:

Readme Card

Here is a screenshot of what currently opens when I click that card:

image

Additional context

No response

kupietools avatar Sep 28 '24 20:09 kupietools

You can wrap them in link tags, no? And then they'd work as intended. Same for any other card.

softy-dev avatar Sep 28 '24 22:09 softy-dev

I could fix this one

Adam-Thometz avatar Oct 18 '24 11:10 Adam-Thometz

https://github.com/anuraghazra/github-readme-stats/pull/3961#pullrequestreview-3264985828

qwerty541 avatar Sep 24 '25 23:09 qwerty541