150

Until recently I was able to find all my public comments using a link on my profile page. I was using this functionality to keep track of all issues where I have commented, but not contributed anything. It was under a section called "Public Activity".

This function seems to have been removed. I can not find anything about it on the help page about profiles.

Does anybody have any information on when and why this was removed?

1
  • 1
    It looks like none of answers gives the answer. As the result we will get list of issues, but not list of all comments =( Commented Jan 16, 2024 at 14:27

5 Answers 5

225

You can do this with an advanced search query. In the top nav search field, enter is:issue commenter:username. This will return a list of all issues and pull requests where the user has commented. You can then click on each issue or pull request to view the individual comments.

To search within a specific repository: repo-name commenter:username.

To view your own latest comments across GitHub, use: is:issue commenter:@me

Sign up to request clarification or add additional context in comments.

10 Comments

Thanks, that is exactly the functionality that I wanted. But it's still a shame that the link on my user page is gone and I have to take these extra steps.
It doesn't work. See here.
@user25 What do you mean with "Commentator vs. commenter"?
How is this an answer? It says all public comments not just for one project?
This returns list of issues, not comments.
|
35

This link is quite useful, it's a live feed of all issues you've commented.

https://github.com/notifications/subscriptions?reason=comment

enter image description here


Alternatively, this link is also helpful and is probably what the OP asked (issues where one has written comments):

https://github.com/search?l=&q=commenter%3AVadorequest+is%3Aissue&type=issues

Replace "Vadorequest" by the username you're looking for

You can also use the global search with commenter:Vadorequest is:issue to achieve the same result

enter image description here


Also, if you want to track discussions you participated in, this link might help:

https://github.com/search?l=&q=commenter%3AVadorequest&type=discussions

Replace "Vadorequest" by the username you're looking for

You can also use the global search with commenter:Vadorequest to achieve the same result

enter image description here


This 4th (and last) is not related to the OP's question, but might come in handy. It lists all PR you were requested as reviewer.

https://github.com/notifications/subscriptions?reason=review_requested

7 Comments

This should really be a button somewhere in Github.
Thank you for sharing all of those links/ways to get to the data. I am always surprised on how most cloud apps make it so hard to get to your own comments.
Yup, I actually had bookmarked those 4 links wayyyy before I wrote that answer. And I remember I looked for those for wayyyy too long to my taste.
"it's a live feed of all issues you've commented" – Not only issues, but also PRs and only those to which you're still subscribed!
@wanna_coder101 The 1st and 4th are actually linked under <Notifications icon> > Manage notifications. ;-)
|
20

Type involves:<username> in the search box on the GitHub's main page. This will find all the issues that the specified user commented on, was assigned to or mentioned in.

For example, if the user's name on GitHub is unclebob, the search query should look like:
involves:unclebob
Or when searching information about yourself if you're logged in to GitHub, simply:
involves:@me

Note, that unlike involves similar search qualifiers - author and commenter - will omit certain results from the search:

  • author will find only the issues that were started by the user; if the specified user comments on the issue that was started by someone else, author query won't return it in the search results.
    E.g., compare involves:unclebob and author:unclebob type:issue.

  • commenter will find only those issues where the specified user commented second or later (creator of the first comment in an issue is considered its author and not a commenter); if the user starts an issue and then never comments on it, the commenter query won't return it in the search results.
    E.g., compare involves:unclebob and commenter:unclebob.

In other words, when it comes to searching comments, author and commenter return only a subset of involves' results. So I recommend using involves not to miss anything.

1 Comment

3

Since GitHub Universe 2016, the profile page has changed.

It still has a "Contribution activity" though, which includes your own comments. But you might need to click on "Show more activity" to see past the last few weeks.

And you can email yourself your own activity since last June: "Email updates about your own activity".

3 Comments

I don't see my comments under "Contribution activity", I only see commits and issues I've created. To get the whole picture I have to click "Show more activity" a bunch of times. The whole profile page seems to have undergone a feature regression :-/
@BillyTom I agree, that is why I suggest the "mailing list" workaround.
The "mailing list" workaround seems to be the only way to get a full list of your comments. A list of comments for issues, where you have been mentioned, is available through the web interface: Issues, in case that is enough. Still, that sort of "streamlined" UI is a pretty annoying regression, in my opinion anyway.
2

If you want a list of all issues where you either created them or were a commenter on them, this link works best:

https://github.com/notifications/subscriptions?reason=author,comment

1 Comment

Not only issues and only those to which you're still subscribed!

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.