Skip to content

Conversation

@hidekoji
Copy link
Collaborator

@hidekoji hidekoji commented Jan 19, 2026

Description

Describe your fix here

Checklist

Make sure you have performed the following items before submitting this pull request.
If not, please describe the reason.

  • Add test cases for this fix/enhancement
  • Pass devtools::check()
  • Pass devtools::test()
  • Test installing from github
  • Tested with Exploratory

hidekoji and others added 2 commits January 19, 2026 11:19
Add design document for enhancing getGithubIssues() function with
filter parameters (state, milestone, assignee, labels, etc.) while
maintaining backward compatibility.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add support for GitHub API filter parameters: state, milestone,
assignee, creator, mentioned, labels, sort, direction, since, type.

All new parameters default to NULL for backward compatibility.
The state parameter defaults to "all" to match existing behavior.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@hidekoji hidekoji requested a review from Copilot January 19, 2026 21:28
@hidekoji hidekoji changed the title Support filter parameters form getGithubIssues. Support filter parameters for getGithubIssues. Jan 19, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds filter parameters to the getGithubIssues() function to enable filtering GitHub issues by state, labels, assignee, and other criteria supported by the GitHub API.

Changes:

  • Added 9 new optional filter parameters (state, milestone, assignee, creator, mentioned, labels, sort, direction, since, type) to getGithubIssues()
  • Updated function documentation with comprehensive parameter descriptions
  • Added a planning document detailing the implementation approach and backward compatibility strategy

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
docs/plans/2026-01-19-github-issues-filter.md Planning document describing the problem, solution, parameters, implementation approach, and testing strategy
R/system.R Updated getGithubIssues() function signature and implementation to support filter parameters with dynamic query building

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

…4 in DESCRIPTION file

Enhance getGithubIssues function by adding a helper function to resolve milestone titles to their corresponding numbers, allowing users to filter issues by milestone title or number. This improves usability when interacting with the GitHub API.
Updated the resolve_milestone function to implement pagination when fetching milestones from the GitHub API. This change ensures that all milestones, both open and closed, are retrieved beyond the initial limit of 100, improving the completeness of data fetched for users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants