Enhance Pull Request query configuration with comprehensive examples and documentation#7660
Merged
Enhance Pull Request query configuration with comprehensive examples and documentation#7660
Conversation
…ntation Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
… documentation Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Configuring Pull Request queries should have a sample query or documentation link
Enhance Pull Request query configuration with comprehensive examples and documentation
Aug 26, 2025
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
Contributor
Author
I've reverted the proposed API file changes as requested. The changes to |
alexr00
approved these changes
Aug 29, 2025
chrmarti
approved these changes
Aug 29, 2025
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.
The Pull Request query configuration UI lacked sufficient examples and documentation, making it difficult for users to understand how to create custom queries. When users clicked "Configure..." → "Configure Queries", they saw basic variable information but no practical examples of how to use GitHub search syntax in VS Code settings.
Before this change:
After this change:
Added comprehensive documentation with 6 practical query examples:
is:open mentions:${user}is:open updated:>${today-7d}(demonstrates date variables)is:open team:${owner}/my-team(team-based filtering)is:open label:priority-high(label filtering)is:open review:approved -label:do-not-merge(advanced filtering)Improved variable documentation with clear examples
Added properly formatted JSON code block that users can copy directly to settings.json
Enhanced individual property descriptions to be more helpful
Example of the new documentation:
This provides users with immediate, actionable examples they can copy and customize for their workflows.
Fixes #7010.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.