Feature request
The RecentActivity widget currently shows commits and PR events. Developers who are active in GitHub Discussions have no way to see that activity in DevTrack.
Proposed solution
Extend the /api/metrics/activity endpoint to also fetch GitHub Discussions activity (created discussions, answered questions) from the GitHub GraphQL API and include them in the feed.
GitHub GraphQL query
query {
user(login: $username) {
repositoryDiscussionComments(last: 10) {
nodes { createdAt, body, discussion { title, url } }
}
}
}
Acceptance criteria
Feature request
The
RecentActivitywidget currently shows commits and PR events. Developers who are active in GitHub Discussions have no way to see that activity in DevTrack.Proposed solution
Extend the
/api/metrics/activityendpoint to also fetch GitHub Discussions activity (created discussions, answered questions) from the GitHub GraphQL API and include them in the feed.GitHub GraphQL query
Acceptance criteria