Repository navigation
Add deep-blame feature - #2881
Conversation
I think
|
|
What if the is no link there to go back? (There is no icon since there is no direct change for that line) |
I think we have to add the icon and yes, make it a regular click |
This comment has been minimized.
This comment has been minimized.
|
I will add the loading later |
How would that work? |
Click the button and it loads the commits |
|
@fregante can you explain to me where the user is clicking?? |
This comment has been minimized.
This comment has been minimized.
If there’s already a “prior blame” button, use alt-click on it |
|
@fregante I should add a button even if there is not linked pull request? (so the link will do nothing)?? I only know to add the button AFTER the api request |
|
That is why I added a button and then it will load all and add the links.
That is why I added a button so only then will it load. Sorry for getting so frustrated, I would love to see my hard work go through and I am not understanding what is wrong. |
But in the user’s eyes that button does nothing and maybe it really does nothing (if no PR commits exist on the page).
We only add the button if a PR number is in the title, so we have some degree of certainty that the commit has an associated PR. If that doesn’t work, we use an |
|
Understand. I am changing the implementation anyways but that button would have not shown if there were no pr's |
And Remove the href right? |
🙌 |
|
Wow never thought this would happen. Thanks for keeping with me! (while I have to work from home and I very busy as you can see) |
|
This button points to a 404 I'll open an issue |
Closes #2876
Test
Related PR in commit title: it should "enter" it https://github.com/sindresorhus/refined-github/blame/b5497da33a6c5b99eb518ecc266881780bc11877/contributing.md#L7
Unrelated PR in commit title: it should
alert()https://github.com/sindresorhus/refined-github/blame/d1e27cb34f18b9d5d57fdbf853e5b15c3a660d85/source/features/deep-reblame.tsx#L67