Conversation
|
Thank you for your pull request! 🎉 This PR appears to fix the following issues that are not labeled with
help wanted
As outlined in our Contributing Guidelines, we expect that PRs are only created for issues that have been labeled While we appreciate your initiative, please note that:
What happens next:
Thank you for your understanding and contribution to the project! 🙏 This comment was automatically generated by cliAutomation. |
22360f5 to
38e1f0b
Compare
There was a problem hiding this comment.
Pull request overview
This PR fixes a bug where gh search prs --web was opening the browser on the Issues tab instead of the Pull Requests tab. The issue was that the URL type parameter was being set incorrectly for pull request searches.
Changes:
- Added URL type constants for pull requests and issues in query.go
- Modified URL() method to map query.Qualifiers.Type values to correct GitHub URL type parameters
- Refactored regexp variable declarations to use grouped var declaration
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pkg/search/query.go | Added URLTypePullRequests and URLTypeIssues constants for GitHub search URL type parameters |
| pkg/search/searcher.go | Fixed URL() to map pr/issue qualifiers to correct URL types; grouped regexp declarations |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
93bd240 to
8b1d5e4
Compare
8b1d5e4 to
5283004
Compare
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Fixes #10733
Appreciate the
help wantedlabel is not on the original issue, so feel free to close this, but it was a quick fix and was annoying me, so I submitted a drive-by PR.