Link to repo incorrect in timeline view
oandregal opened this issue · comments
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:
- Go to the WordPress dashboard https://www.codevitals.run/project/wordpress
- Click any point/commit in the timeline view.
- In the pop-up that shows up, click in the commit SHA.
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.
- Link provide (bad): WordPress/gutenberg@7e1e000
- Link that should have been provided (good): WordPress/wordpress-develop@7e1e000
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.