Commits and pull files
lunny opened this issue ยท 33 comments
well, If we implement comments on commits
we should get this "for free" ๐
I'm not sure. I don't know the internals, but the comment may go onto a commit page. Then you can discuss this commit.
But this issue targets a bigger picture. A PR might have multiple commits and those can change over time. So I agree that comments on commits might benefit comments on PR with some work already done nevertheless I feel that there's more to it.
Yes, comment on commits.
I can probably make a proof of concept for this sometime during the weekend or next week
I can look at this, but this will be not so fast
I have tried to do something. Comments on PR
is not the same as comments on commits
. These are two similar PRs. For comments on PR
, all the comments should be indexed by the IssueID, treePath, lineNum and actionType(add line or del line). But for comments on commits
, all the comments should be indexed by commitSHA, treePath, lineNum and actionType(add line or del line).
Hello.
I send you a preview of the model of action.
This is a static implementation - proof of concept
@qdbdbp Looks great but I think a button to cancel the comment is missing. How does it look in unified mode?
@qdbdbp I am working on a branch about this, I will send a PR today or last two days. I will copy your code to that PR.
@qdbdbp It seems only the first comment on the code line. how to show the second or third comment on the same line?
@qdbdbp I have sent a PR #2583 but I think maybe I have lost something from your zip. Please review the code and help me with the UI.
@qdbdbp, what tool do you use to do those designs? ๐
hi. I use it for quick drafts this tool:
I don't mind to pay to have this feature... how much? who?
@lunny yeah, but it can't be merged, and haven't been updated in 6 months! I want to help to implement this feature
You could use https://www.bountysource.com/teams/go-gitea
@lunny thanks for posting that link. I added to the bounty.
Thanks for the bounty link. I added $100 if this can be resolved within 6 months. This is the basically the only feature that I still miss after migrating from Github to Gitea. I will be super duper happy when Gitea supports in-line code reviewing for pull requests. Go Gitea team!
I will give equivalent of 100$ in a crypto currency to whoever earn the bounty
Are there things to follow?
Is comment in commits implemented? If it isn't implemented I think this should be reopen
@xxxTonixxx right, Only pull request comment was implemented by #3748 . @lafriks @JonasFranzDEV
But we could open another issue to keep this one closed.
๐, I will do it
@xxxTonixxx Thank you!