Added more stats to the query#87
Merged
nabobalis merged 6 commits intoscientific-python:mainfrom May 12, 2025
Merged
Conversation
nabobalis
commented
May 11, 2025
j-bowhay
approved these changes
May 11, 2025
Member
There was a problem hiding this comment.
Looks good! I tested on a dummy repo j-bowhay/test#1 and the output looks pretty straight forward
[
{
"cursor": "Y3Vyc29yOnYyOpK5MjAyNS0wNS0xMVQyMzo1NjoyMSswMTowMM62G8uH",
"node": {
"number": 1,
"title": "test",
"createdAt": "2025-05-11T22:56:21Z",
"updatedAt": "2025-05-11T22:56:21Z",
"closedAt": null,
"state": "OPEN",
"url": "https://github.com/j-bowhay/test/issues/1",
"reactionGroups": [
{
"content": "THUMBS_UP",
"users": {
"totalCount": 1
}
},
{
"content": "THUMBS_DOWN",
"users": {
"totalCount": 0
}
},
{
"content": "LAUGH",
"users": {
"totalCount": 0
}
},
{
"content": "HOORAY",
"users": {
"totalCount": 0
}
},
{
"content": "CONFUSED",
"users": {
"totalCount": 0
}
},
{
"content": "HEART",
"users": {
"totalCount": 0
}
},
{
"content": "ROCKET",
"users": {
"totalCount": 0
}
},
{
"content": "EYES",
"users": {
"totalCount": 0
}
}
],
"labels": {
"edges": []
},
"timelineItems": {
"totalCount": 0,
"edges": []
}
}
}
]
nabobalis
commented
May 12, 2025
nabobalis
commented
May 12, 2025
stefanv
reviewed
May 12, 2025
| reactionGroups { | ||
| content | ||
| users { | ||
| totalCount |
Member
Author
There was a problem hiding this comment.
Yeah I screwed that up. Should be fixed now.
stefanv
reviewed
May 12, 2025
| closedAt | ||
| baseRefName | ||
| mergeable | ||
| labels(first: 100) { |
Member
Author
There was a problem hiding this comment.
It was just to match the same limit as for the issue query. There is no real reason for it otherwise.
stefanv
approved these changes
May 12, 2025
Member
stefanv
left a comment
There was a problem hiding this comment.
Happy to merge updates to the query; let me know when you're ready.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We now get labels per PR, and reactions (aka emojis) for the issues.
This will make scientific-python/summit-2025#36 possible.