From 9d17726441b4642d354fe81f10fab451fea5ba6c Mon Sep 17 00:00:00 2001 From: whereareiam Date: Sat, 3 Oct 2026 17:16:42 +0200 Subject: [PATCH] Pull requests: Match GitHub's list layout The pull request list still followed GitHub's earlier layout: a Filters menu joined to the search field in one row with the New button, and open and closed counts shown with icons. It now uses the same layout as the issue list: a sidebar, a heading with the New button, a full-width search field, and Open and Closed with counters. Both lists share their sidebar template and their styles instead of the pull request list keeping its own copies, which also drops rules written for the old search markup. The empty state of both lists follows GitHub's compact block: a 24px muted icon, a 20px heading and one muted line with 32px of padding. It is a compact variant of the shared empty state, not a page rule. The saved filters from the Filters menu and the Labels and Milestones links move into the sidebar, with "Review requested" added for pull requests. Co-Authored-By: Claude Opus 5.5 --- CONTRIBUTING.md | 5 +- components/common/empty/empty.css | 20 ++ public/assets/js/issue-list.js | 13 +- styles/components/issues/index.ts | 2 - styles/components/issues/issue_overview.ts | 11 +- styles/components/issues/pull_list.ts | 256 --------------------- templates/repo/issue/list.tmpl | 25 +- templates/repo/issue/sidebar.tmpl | 19 +- 8 files changed, 44 insertions(+), 307 deletions(-) delete mode 100644 styles/components/issues/pull_list.ts diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 402f499b..2da183da 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -239,8 +239,9 @@ permissions, and form values into the shared controls. - **Segmented switch:** use `