youknowriad / codevitals

Home Page:vercel-integration-example-two.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Link to repo incorrect in timeline view

oandregal opened this issue · comments

commented

In looking at the existing WordPress dashboard, I wanted to visit the Github link of the last commit. Instead, I was redirected to the gutenberg repository, where the commit sha doesn't exist.

Steps:

image

I expected the link to take me to the wordpress-develop repository (the source for this dashboard, as far as I'm aware). Instead it took me to the gutenberg repository, in which the commit does not exist.

Right 👍 we need to have a config for a url per project 👍

Just ran into this bug as well. How complex is it to add the repository name (vendor + name) to each project? Alternatively, a short-term workaround would be to at least "expand" the hard-coding approach in https://github.com/youknowriad/codevitals/blob/main/pages/project/%5Bproject_slug%5D/index.js#L284, to use either WordPress/gutenberg or WordPress/wordpress-develop conditionally based on project slug.