Repository navigation
Conversation
|
@bfred-it Before I going to fix every linting error, can you review if this PR satisfies the way you like to see this implemented. |
|
|
Looks about right, the only issue is ensuring that the forked page you visit is actually your fork, so you might need to look for the |
|
@bfred-it Ok, this is ready for review. 👀 |
|
This can be cleaned up further, do a couple of simplification passes |
|
@bfred-it Feedback round 1 done. |
|
Brought it back to 122 LOC. |
|
Found one issue, that I'm not sure is related to this new feature...
I can only reproduce the issue via above route. Any other route, the forks are loaded correctly. |
|
@bfred-it All feedback resolved. |
|
@bfred-it Feedback processed again. |
|
|
||
| async function validateFork(repo: string): Promise<boolean> { | ||
| const response = await fetch(location.origin + '/' + repo, | ||
| { |
| } | ||
|
|
||
| function watchForkDialog(): void { | ||
| const forkDialog = select<HTMLElement>('details-dialog[src*="/fork"]')!; |
There was a problem hiding this comment.
All the feedback I sent before applies to other parts of the file as well. I can’t review every single line. This PR has been sloppy. Please clean it up and open a new PR
There was a problem hiding this comment.
Webpack compiles, lint succeeds, the PR does exactly what it should do, in the way you specified it should be done, without code style guide. I try to follow other features syntax, but you have a very opinionated way of writing code. I'm not saying that that is bad, and the feedback is great.
See #2153
There was a problem hiding this comment.
I haven't followed the review here, but what @bfred-it means is that when he reviews some change, and you fix it, you should look for other places where the same fix or similar fix could be applied. You should also look if there's any way to improve/simplify the code after the changes.
Description
Add links to the forked repos below the original repo. For users and organizations.
Closes
Closes #1129
Supersedes attempt 1 #1108
Supersedes attempt 2 #2105
Screenshots
Original repo:

User forked repo:

Organization forked repo:

Hover card:Feature removed
Test