Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement query parameter when searching for PR's #1955

Merged
merged 4 commits into from
Nov 27, 2024
Merged

Conversation

kaste
Copy link
Collaborator

@kaste kaste commented Nov 27, 2024

Fixes #1937

Add query argument to gs_github_pull_request (default: "") to filter
the list of PR's we fetch. As the search API does return a subset of
the information we need, query the full PR response in a second step
(but in the background using a future).

The query parameter is a string and can be basically anything a user
would also type in on Github's website.

Interesting candidates are e.g. "involves:@me" which is also added to
the Command Palette.

Fixes #1937

Add `query` argument to `gs_github_pull_request` (default: "") to filter
the list of PR's we fetch.  As the search API does return a subset of
the information we need, query the full PR response in a second step
(but in the background using a future).

The query parameter is a string and can be basically anything a user
would also type in on Github's website.

Interesting candidates are e.g. "involves:@me" which is also added to
the Command Palette.
@kaste kaste enabled auto-merge November 27, 2024 17:24
@kaste kaste merged commit 0bd255f into master Nov 27, 2024
8 checks passed
@kaste kaste deleted the search-pull-requests branch November 27, 2024 17:25
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.

Filter pull requests by those requiring review
1 participant