mirror of
https://github.com/go-gitea/gitea.git
synced 2026-03-09 12:46:42 -05:00
Add inline comments on commits #2313
Open
opened 2025-11-02 04:32:20 -06:00 by GiteaMirror
·
69 comments
No Branch/Tag Specified
main
release/v1.25
release/v1.24
release/v1.23
release/v1.22
release/v1.21
release/v1.20
release/v1.19
release/v1.18
release/v1.17
release/v1.16
release/v1.15
release/v1.14
release/v1.13
release/v1.12
release/v1.11
release/v1.10
release/v1.9
release/v1.8
v1.25.3
v1.25.2
v1.25.1
v1.25.0
v1.24.7
v1.25.0-rc0
v1.26.0-dev
v1.24.6
v1.24.5
v1.24.4
v1.24.3
v1.24.2
v1.24.1
v1.24.0
v1.23.8
v1.24.0-rc0
v1.25.0-dev
v1.23.7
v1.23.6
v1.23.5
v1.23.4
v1.23.3
v1.23.2
v1.23.1
v1.23.0
v1.23.0-rc0
v1.24.0-dev
v1.22.6
v1.22.5
v1.22.4
v1.22.3
v1.22.2
v1.22.1
v1.22.0
v1.23.0-dev
v1.22.0-rc1
v1.21.11
v1.22.0-rc0
v1.21.10
v1.21.9
v1.21.8
v1.21.7
v1.21.6
v1.21.5
v1.21.4
v1.21.3
v1.21.2
v1.20.6
v1.21.1
v1.21.0
v1.21.0-rc2
v1.21.0-rc1
v1.20.5
v1.22.0-dev
v1.21.0-rc0
v1.20.4
v1.20.3
v1.20.2
v1.20.1
v1.20.0
v1.19.4
v1.21.0-dev
v1.20.0-rc2
v1.20.0-rc1
v1.20.0-rc0
v1.19.3
v1.19.2
v1.19.1
v1.19.0
v1.19.0-rc1
v1.20.0-dev
v1.19.0-rc0
v1.18.5
v1.18.4
v1.18.3
v1.18.2
v1.18.1
v1.18.0
v1.17.4
v1.18.0-rc1
v1.19.0-dev
v1.18.0-rc0
v1.17.3
v1.17.2
v1.17.1
v1.17.0
v1.17.0-rc2
v1.16.9
v1.17.0-rc1
v1.18.0-dev
v1.16.8
v1.16.7
v1.16.6
v1.16.5
v1.16.4
v1.16.3
v1.16.2
v1.16.1
v1.16.0
v1.15.11
v1.17.0-dev
v1.16.0-rc1
v1.15.10
v1.15.9
v1.15.8
v1.15.7
v1.15.6
v1.15.5
v1.15.4
v1.15.3
v1.15.2
v1.15.1
v1.14.7
v1.15.0
v1.15.0-rc3
v1.14.6
v1.15.0-rc2
v1.14.5
v1.16.0-dev
v1.15.0-rc1
v1.14.4
v1.14.3
v1.14.2
v1.14.1
v1.14.0
v1.13.7
v1.14.0-rc2
v1.13.6
v1.13.5
v1.14.0-rc1
v1.15.0-dev
v1.13.4
v1.13.3
v1.13.2
v1.13.1
v1.13.0
v1.12.6
v1.13.0-rc2
v1.14.0-dev
v1.13.0-rc1
v1.12.5
v1.12.4
v1.12.3
v1.12.2
v1.12.1
v1.11.8
v1.12.0
v1.11.7
v1.12.0-rc2
v1.11.6
v1.12.0-rc1
v1.13.0-dev
v1.11.5
v1.11.4
v1.11.3
v1.10.6
v1.12.0-dev
v1.11.2
v1.10.5
v1.11.1
v1.10.4
v1.11.0
v1.11.0-rc2
v1.10.3
v1.11.0-rc1
v1.10.2
v1.10.1
v1.10.0
v1.9.6
v1.9.5
v1.10.0-rc2
v1.11.0-dev
v1.10.0-rc1
v1.9.4
v1.9.3
v1.9.2
v1.9.1
v1.9.0
v1.9.0-rc2
v1.10.0-dev
v1.9.0-rc1
v1.8.3
v1.8.2
v1.8.1
v1.8.0
v1.8.0-rc3
v1.7.6
v1.8.0-rc2
v1.7.5
v1.8.0-rc1
v1.9.0-dev
v1.7.4
v1.7.3
v1.7.2
v1.7.1
v1.7.0
v1.7.0-rc3
v1.6.4
v1.7.0-rc2
v1.6.3
v1.7.0-rc1
v1.7.0-dev
v1.6.2
v1.6.1
v1.6.0
v1.6.0-rc2
v1.5.3
v1.6.0-rc1
v1.6.0-dev
v1.5.2
v1.5.1
v1.5.0
v1.5.0-rc2
v1.5.0-rc1
v1.5.0-dev
v1.4.3
v1.4.2
v1.4.1
v1.4.0
v1.4.0-rc3
v1.4.0-rc2
v1.3.3
v1.4.0-rc1
v1.3.2
v1.3.1
v1.3.0
v1.3.0-rc2
v1.3.0-rc1
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.2.0-rc3
v1.2.0-rc2
v1.1.4
v1.2.0-rc1
v1.1.3
v1.1.2
v1.1.1
v1.1.0
v1.0.2
v1.0.1
v1.0.0
v0.9.99
Labels
Clear labels
$20
$250
$50
$500
backport/done
💎 Bounty
docs-update-needed
good first issue
hacktoberfest
issue/bounty
issue/confirmed
issue/critical
issue/duplicate
issue/needs-feedback
issue/not-a-bug
issue/regression
issue/stale
issue/workaround
lgtm/need 2
modifies/api
modifies/translation
outdated/backport/v1.18
outdated/theme/markdown
outdated/theme/timetracker
performance/bigrepo
performance/cpu
performance/memory
performance/speed
pr/breaking
proposal/accepted
proposal/rejected
pr/wip
pull-request
reviewed/wontfix
💰 Rewarded
skip-changelog
status/blocked
topic/accessibility
topic/api
topic/authentication
topic/build
topic/code-linting
topic/commit-signing
topic/content-rendering
topic/deployment
topic/distribution
topic/federation
topic/gitea-actions
topic/issues
topic/lfs
topic/mobile
topic/moderation
topic/packages
topic/pr
topic/projects
topic/repo
topic/repo-migration
topic/security
topic/theme
topic/ui
topic/ui-interaction
topic/ux
topic/webhooks
topic/wiki
type/bug
type/deprecation
type/docs
type/enhancement
type/feature
type/miscellaneous
type/proposal
type/question
type/refactoring
type/summary
type/testing
type/upstream
Mirrored from GitHub Pull Request
Milestone
No items
No Milestone
Projects
Clear projects
No project
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/gitea#2313
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tonivj5 on GitHub (Sep 9, 2018).
Add comments on commits (not only in PR), I would love to have this feature 😃
Reference: https://github.com/go-gitea/gitea/issues/124, https://github.com/go-gitea/gitea/issues/124#issuecomment-419289878
Thanks to gitea's team and contributors ❤️
@LukeOwlclaw commented on GitHub (Sep 21, 2018):
Sorry, I don't want to be rude nor a smartass, I just want to understand. Is this issue about
which is supposed to be already supported according to https://docs.gitea.io/en-us/comparison/ ?
@techknowlogick commented on GitHub (Sep 21, 2018):
@LukeOwlclaw this issue is inline comments on commits. Inline comments on code in PRs already (per the docs you linked). also please take this comment same way, I'm a bit sleepy due to jetlag so I apologize if this response doesn't come off as friendly (I tried to make it friendly).
@rakshith-ravi commented on GitHub (Nov 22, 2018):
@xxxtonixxx is there a PR that currently addresses this?
@tonivj5 commented on GitHub (Nov 22, 2018):
I think no 😢
@rakshith-ravi commented on GitHub (Dec 30, 2018):
@techknowlogick I know open source projects hate asking for ETAs, and I really don't want to come off as rude, but I'm just curious how high on the priority list is this in? There doesn't seem to be a milestone listed, so what are the odds that we'll see this implemented in 1.7.x? Is this something the team is actively planning to work on or is it deferred for sometime later? Just curious so that I can set my expectations clear 😅
@techknowlogick commented on GitHub (Dec 30, 2018):
@rakshith-ravi sadly it won’t be in 1.7 as we are a in a feature freeze for that release, as for ETAs I cant say, as for the project we don’t have a roadmap and things are added to the project as PRs happen. That means even a non-team member could work on this, if you or someone you know has Holland skills. As a side note you don’t come off as rude and I really appreciate how you asked as it was really kind :)
@stale[bot] commented on GitHub (Feb 28, 2019):
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions.
@tonivj5 commented on GitHub (Feb 28, 2019):
Not yet, please 😢
@ghost commented on GitHub (Mar 31, 2019):
Yeah this would be fantastic!
@6543 commented on GitHub (Jun 15, 2019):
Vote
@lunny commented on GitHub (Jun 16, 2019):
So If we can comment on any commit. We should consider some implementation things below:
@rakshith-ravi commented on GitHub (Jun 16, 2019):
I'd recommend a structure like this -
There would be two different kinds of comment on commits: One on the upstream code and one on the PR.
If I knew GoLang better, I would've implemented this myself. Unfortunately, I can only contribute in terms of software architecture
@zeripath commented on GitHub (Jun 16, 2019):
I suspect we should leverage git notes or git notes-like behaviour for this. I suspect that putting this in to the database is only going to cause trouble. I wonder if the comments on PRs should do the same.
@zeripath commented on GitHub (Jun 16, 2019):
@rakshith-ravi If you can program in an imperative language you can program in go. It's really not a very difficult language if you can get past its idiosyncrasies.
@lunny commented on GitHub (Jun 16, 2019):
PR comments have been implemented. I think we are talking about commit comment without a PR.
@BaxAndrei commented on GitHub (Nov 23, 2019):
Yes, like on github

@0x416c69 commented on GitHub (Nov 26, 2019):
Vote.
Gitea really lacks this important feature. Everything else I could live on without but not this.
@guillep2k commented on GitHub (Nov 26, 2019):
@0x416c69 Just so I understand your use case, why comments are so important in a specific commit? I've seen GitHub has that, but I never could picture a proper scenario for this. Commits get quickly lost in the sea of blobs....
@BaxAndrei commented on GitHub (Nov 26, 2019):
I use this function. Especially to signal to the people who sent the commit that something is wrong, exempting me from opening an issue. It is also useful if I want to add something extra to that commit or mention something.
@lunny commented on GitHub (Nov 26, 2019):
We also need refactor notification system to notify via ui/mail/webhook and etc.
@0x416c69 commented on GitHub (Nov 27, 2019):
@guillep2k Best way possible for me to talk about a certain commit is the commit comment. Although I could just stick with a messenger and a group talk, place the commit link/hash and talk about it there with my team but it will get really messy and the track of the conversation will be lost very quickly.
As a basic and common user of git, this I think is the most needed feature.
@jcfigueiredo commented on GitHub (Jan 8, 2020):
We use it a lot for code reviewing PRs before merging to master.
@techknowlogick commented on GitHub (Jan 8, 2020):
@jcfigueiredo the review functionality already exists in PRs where you can comment on lines of code.
@Albirew commented on GitHub (Jan 8, 2020):
this "may" also be useful to reference a commit or part of it to an issue without touching issue itself (examples: "may make issue #1 reappear", "this exact part breaks PR !2", etc.) or discussing about a specific part of code.
Again, these can already be done the other way around (eg:"commit
b822518e39may make this issue reappear", "the changes on modules/setting/queue.go lines 58-59 of commitc779ac12c9breaks this PR", etc.)@gerdemann commented on GitHub (Jan 15, 2020):
This is an important feature for us. Is there anything we can do to get the feature?
Maybe a sponsorship would help?
@findsynonyms commented on GitHub (Feb 23, 2020):
It is a useful feature.
@AllTaken commented on GitHub (May 1, 2020):
Yeah, this would make code reviews much easier for us.
We do "atomic" commits, as part of our workflow, meaning that each commit is easy to review by itself, but a pull request can be quite large and not so easy to review as a whole.
It is also much easier to review each commit with its commit message.
@cknoll commented on GitHub (May 31, 2020):
To add another use case: education.
Students create and maintain their code in a repo and the supervisor wants to comment on specific lines of code. Usually their is no workflow with pull requests.
To be honest for real applicability in education it should be easily possible to comment on every line of every file, not just the lines which changed in the respective commit. Reason: students which just have started using git, often do not have a good commit practice (complicated commit order, frequent changes on the same lines, bad commit messages). Commenting on the cumulated state would be a lot easier.
It might worth to mention that the education system inevitably works as multiplicator: tools which are used by university students are likely to be used by the professionals they evolve after graduation.
@kullarkert commented on GitHub (Mar 22, 2021):
Really hoping to get this feature. I have intern and I really want to comment her commits and give some tips etc. Right now my only option is to mirror gitea repository to gitlab/github and comment in there.
@JLuc commented on GitHub (Mar 30, 2021):
Also please allow to search commit comments.
It would then be possible to comment with keywords as "todo_documentation" or "done_documentation" so the documentation people manage and organise their work together along as the code evolves. This would also help prepare the detailed release news (shorter and not so technical version of the release logs).
@MOHHALIM commented on GitHub (Apr 26, 2022):
It's a great feature to have as I had to take action items and comments in another document then share it with collaborators. It will be an upgrade to our experience.
Thanks gitea's team and contributors ❤️
@pinuke commented on GitHub (May 31, 2022):
Even for forgetful programmers, this would be a blessed feature. I swear there are more instances where I forget what a piece of code does than actual files of source code that I have written in my life.
I could potentially solve this by writing summaries over my own code.
@bryanpedini commented on GitHub (Jul 20, 2022):
@cknoll @ https://github.com/go-gitea/gitea/issues/4898#issuecomment-636442186
IMHO students should first learn how to use proper management of their resources (know what an issue is, why it's filed, its purpose, when to close an issue, PRs and everything related, etc), and then learn git and apply their git knowledge on top of what they're already familiar with workflow-wise.
Again, just my 2c, but for me it would be kinda like giving a pilot the training on how to control the joke of a plane without explaining the reference manual, the non-normal checklists in case a problem arise, not telling them about the "mayday mayday mayday" call (or the less common non-strictly-emergency "pan pan pan" call), etc etc...
First give the fundations, then build on top.
@biju-ps commented on GitHub (Aug 1, 2022):
+1 very useful feature
@MOHHALIM commented on GitHub (Oct 19, 2022):
Hi Gitea's team and contributors ❤️,
Is this feature going to be available soon?
@cknoll commented on GitHub (Oct 23, 2022):
@MOHHALIM As this is an Free Software Project: A more constructive question would be: What can we (as a community) do to get this feature implemented soon?
E.g. I just realized, that there is the possibility to support the work on open issues on bountysource: https://app.bountysource.com/teams/gitea
By searching for this issue here I accidentally created a new bounty:
https://app.bountysource.com/issues/63187881-add-inline-comments-on-commits (with currently one anonymous supporter, anonymously "promising" 50$ (probably this is some creation default and I have not figured out how I can change that). )
Also, there is the the possibility to sponsor this project (i.e. support in a not issue specific way).
@twisted-nematic57 commented on GitHub (Nov 5, 2022):
Like the LibreOffice folks say, "if you want a new feature you suggest it. Then either make it yourself or fund it".
@pinuke commented on GitHub (Nov 6, 2022):
IMO, we're taking this GoFundMe thing too far. I get it. We all get it. Money doesn't grow on trees, but this is the open source community you guys are talking to. Money doesn't come from any of our pockets. This is the poor programmers club
GH issues is for contributors and users to work on features. Not electronically pan-handle each other.
Look I'm broke too, but this is just poorly representing the FOSS community (Emphasis on F OSS). The FOSS defacto standard for this is to just tell people "we're too broke to work on it right now," not "please give me money to do it"
@KaKi87 commented on GitHub (Nov 6, 2022):
Actually, Gitea is now a for-profit company, most likely not broke and less free (as in freedom).
@pinuke commented on GitHub (Nov 6, 2022):
@KaKi87 That just makes it so much worse.
@pinuke commented on GitHub (Nov 6, 2022):
Just so it's clear, these comments get sent out to subscribers through their emails. This means that this kind of behavior goes against the Github Acceptable Use Policy.
These kind of comments are also considerably off-topic which is also against multiple policies in the Acceptable Use Policies and GIthub Terms of Service. To find out what's on topic for GH Issues please see https://docs.github.com/en/issues/tracking-your-work-with-issues/about-issues
@oktasense commented on GitHub (Jan 13, 2024):
As of Jan 13 2024, you can add inline comments in commits:
@KaKi87 commented on GitHub (Jan 13, 2024):
In which version ?
@delvh commented on GitHub (Jan 13, 2024):
Erm… What?

I think you have slightly misunderstood what is meant by that, @oktasense.
It is meant as
not what you have posted.
And that is not yet supported.
@egelhaus commented on GitHub (Oct 13, 2024):
Is there any current Update to this Feature or?
@algora-pbc[bot] commented on GitHub (Oct 14, 2024):
💎 $300 bounty • Gitea
Steps to solve:
/attempt #4898with your implementation plan/claim #4898in the PR body to claim the bounty❗ Important guidelines:
Thank you for contributing to go-gitea/gitea!
@RedCocoon commented on GitHub (Oct 17, 2024):
Personally really interested in this gitea thing so imma give it a shot
/attempt #4898
@RedCocoon commented on GitHub (Oct 21, 2024):
I think I have come up with a solution, though not a good solution by any stretch of imagination.
First, the problem: Currently, conversations in Gitea are too closely tied to Issues to be reusable nicely anywhere else. Gitea's Pull Request itself from what I can see also janks it way by using Issues and that itself also causes a lot of troubles.
My proposed solution would be to refactor conversations so that they are standalone and can be reusable elsewhere. For my PR, I would only extract out conversations from Issues. I would however, not fix the jank introduced by Gitea's Pull Request conversation.
Please let me know if this is a good idea, or propose some other solutions. IMO my proposed solution is the best way moving forward. I've spent 4 days thinking and this is the best I could come up with. I really don't wanna do my proposed solution since it is a lot of work so if there is a better idea please suggest it!
I will now respond to every questions here first.
A. Currently the comment are still there when a PR is merged, as PR is just using issues, so no problems there
A. If my proposal is approved, someone else can take on the task of separating PRs from Issues and that is what I believe should be done eventually too.
A. Yes. It will be a very massive pain.
@lunny commented on GitHub (Oct 21, 2024):
Thinking the issue again, maybe a new table but not comment is better? Commit commments could be a standalone thing which will not mix with issues comment and pull request comments.
@RedCocoon commented on GitHub (Oct 21, 2024):
The problem with that is we potentially need to re-implement quite a lot and maintain both Commit Comments and IssuePR Comments (which are more like ConversationEvent rather than Comments tbh).
I suppose I can make them separate for now, since I already decoupled everything related to comments from the front-end. Let me try to keep it separate for now.
For the future though someone should definitely unify them.
@algora-pbc[bot] commented on GitHub (Oct 30, 2024):
💡 @RedCocoon submitted a pull request that claims the bounty. You can visit your bounty board to reward.
@anonhostpi commented on GitHub (Oct 30, 2024):
One concern I have is that I think inline conversations should be linked to git blames. This way relevant conversations follow the correct positioning between commits and are automatically "hidden" when a line is overwritten.
I suggest that comments be linked with an web element system instead of being hard-tied to standard repository elements for flexibility. This would require a robust web element tracking system similar to SalesForce, but would allow you to attach conversations to anything.
@RedCocoon commented on GitHub (Oct 30, 2024):
Currently my reimplementation is almost context-agnostic, kinda.
The conversation model doesn't really care what it is attached to, it is
standalone.
Some codes are assuming it being attached to a commit, but it is coded in
such a way that you just need a switch case in those places to return the
right values (primarily used for returning URLs)
@anonhostpi commented on GitHub (Oct 30, 2024):
Another thought I just had is that attaching inline comments to blames would also allow conversations to be propagated between views (forks, code in issues, code in PRs, commits, older commits) and allow them to be seen in/added to other views like branch/head comparisons.
@RedCocoon commented on GitHub (Oct 30, 2024):
That could be possible in the future, yes. But for now I'm just focusing on
feature parity with Github
@olexij-christian commented on GitHub (May 28, 2025):
@lunny I can do this, right?
Is it still relevant?
@lunny commented on GitHub (May 31, 2025):
Yes. You can try. It's better to have a proposal about your design to reduce review feedback.
@naaa760 commented on GitHub (Jul 9, 2025):
can I still work on this issue??
@wxiaoguang commented on GitHub (Jul 9, 2025):
Thank you very much!
This feature is not an easy task. Copying-pasting or AI-coding won't work. If a PR contains too many problems, it would be very difficult to review and unlikely to be merged.
For new contributors, if you'd like to try, I would suggest to start from some "good first issues", you can try to do something in the modules that are related to this feature, and get familiar to the code base, then start the challenging work.
@wxiaoguang commented on GitHub (Jul 9, 2025):
And for @RedCocoon's solution and PR:
Overall I think the solution is right: we can/should introduce a unified conversation system. Then issues, PRs and commit comments (even GitHub-like "discussions") can reuse it.
The problem is that the "roadmap": how to achieve this goal. Copying existing code into a new system just causes maintainability problems. And I do not think we should depend on the assumption that "someone else can take on the task of ..." or "for the future though someone should definitely unify them". Who will be "the one" then? If no one, how to maintain the code ..... To be frank, if someone has been maintaining Gitea for long time, then I can trust them and merge their temporary PRs if they say "I promise that I will fix it eventually". But for many individual feature PRs, I have to help to maintain their code because I can't assume that every contributor has time after their PR gets merged.
The feasible plan in my mind is to implement the solution step by step with a complete design, for example: split common code, introduce a general purpose "conversation system", refactor and migrate issues and PRs to use the new system, then the last step, implement the "commit inline comments". OR never migrate the issues/PRs, only use the new conversation system for the commit comments, then don't touch the old code.
Disclaimer: I am not native English speaker, so some of the expressions might not be accurate, and that's just my personal opinion.
@mohamed1408 commented on GitHub (Jul 26, 2025):
Hi @lunny I like to work on this. Following is my proposal
We don't have to have separate table for inline comments on commits outside PR. If the comment doesn't have PRId mapped to it and only has CommitId, LineId and RepoId it is inline comment exclusively for commit.
If a commit has inline comment outside PR and this commit belongs to a PR we don't show that inline comment inside the PR
Now for notifying We have to notify
If this is OK I can start the work, any corrections, modifications please specify.
@mohamed1408 commented on GitHub (Jul 27, 2025):
Am I good to go @lunny @wxiaoguang
@lunny commented on GitHub (Jul 27, 2025):
If we want to store the comment in the original comment table, we’ll need to introduce at least a new comment type. Since there’s no issue_id, we can use ref_repo_id as the repository identifier and add a new index on commit_sha for lookup.
One question to consider: Should the comment only be displayed on the single commit view, or should it also appear on compare pages that include this commit?
@mohamed1408 commented on GitHub (Jul 27, 2025):
@lunny According to me the comment should be visible in single commit page if it the comment was made out of PR directly to comment not on compare pages - PR pages and this how GitHub has implemented.
My view is
If we make an inline comment for a commit it is made by keeping in mind the effects the commit has on the branch the commit is pushed to.
If the comment is made inside a PR it is made by keeping in mind the effect the commit will have on the branch the commit is going to be merged to.
So for the above sake it is better to show them spearately and I think the GitHub has made is so too
@mohamed1408 commented on GitHub (Jul 31, 2025):
@lunny is this flow ok?
@lunny commented on GitHub (Jul 31, 2025):
I agree the two types comments should be displayed separately. Another some concerns are the notification, who should be notified(UI notification or mail or others) especially if mentioned. At the moment, I think the commit notification have never been work. I have sent #34803 to fix it. Maybe it should be a separated PR.
@mohamed1408 commented on GitHub (Aug 5, 2025):
Sorry for late reply.
@lunny so except notification everything is good to go?
@lunny commented on GitHub (Aug 5, 2025):
Another one maybe the most important one from my side.
I couldn’t find a strong reason to store inline comments in the same table as issue or pull request comments. While some code could potentially be reused, but at the same time, inline comments don’t require many of the columns present in the issue comment table. I still believe a separate table is the better approach, as these two types of comments will never be displayed together.
@jayantpranjal0 commented on GitHub (Oct 31, 2025):
/attempt https://github.com/go-gitea/gitea/issues/4898