Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add groupBy support to githubPullRequests.queries (like githubIssues.queries)

Đang mở
#9,095 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@lmilbaum đang làm issue này rồi.

Từ ngày 24/10/2026.

  • #9096 của @lmilbaum — đang mở

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
github, typescript, vscode

Hướng nghiên cứu

Study the existing githubIssues.queries groupBy support as prior art, then extend githubPullRequests.queries schema and tree view to accept groupBy. First read the queries configuration and PR tree rendering code. Done means a query with groupBy: ["repository"] nests PRs under owner/repo nodes.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Feature Request

Problem

githubIssues.queries supports a groupBy property with \"repository\" and \"milestone\" values, allowing issues to be grouped by repo in the tree view. githubPullRequests.queries has no equivalent — it only accepts label and query.

This makes cross-repo PR queries hard to navigate. For example, a query like:

{
  "label": "All My Open PRs",
  "query": "is:open is:pr author:@me"
}

returns PRs from multiple repositories but displays them as a flat list with no indication of which repo each PR belongs to.

Proposed Solution

Add groupBy support to githubPullRequests.queries, matching the schema already present on the issues side:

{
  "label": "All My Open PRs",
  "query": "is:open is:pr author:@me",
  "groupBy": ["repository"]
}

This would group PR results under owner/repo sub-nodes in the tree, making cross-repo queries usable.

Prior Art
  • githubIssues.queries already supports groupBy: ["repository", "milestone"]
  • Issue #5453 addressed repo name display for checked-out PRs, but the query list view was not covered
Workaround

Currently the only workaround is to create one query entry per repository, which doesn't scale.

Ngôn ngữ chính
TypeScript
Star
2.6k
Fork
807
Merge trung bình
1 ngày 15 giờ
Pull request đã merge (30 ngày)
54

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/vscode-pull-request-github

Tất cả issue của microsoft/vscode-pull-request-github

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.