Skip to content

PRs 标签页:All Open 分组 #22

Closed

Description

@lw396

Parent

#4(PR review 第一版)。界面照抄 VS Code 插件,文字用插件的英文原文;功能范围由 ADR 决定(ADR 0007)。

What to build

第一条打通的完整路径:侧边栏 PRs 标签页显示 All Open 分组,列出当前仓库所有 open 的 PR,按最近更新排序,每页 30 条,可以加载更多。所有 PR 相关的 GitHub 访问放在新的 Pulls 模块里,经由 gh 模块。

Acceptance criteria

  • 每行显示状态图标、#编号 标题(draft 用斜体)、by @作者;悬停出现复制编号(#42)和在浏览器中打开
  • 空组显示 "0 pull requests in this category";没有 remote、404、无权限时的说明和 Issues 标签页一致
  • 在本仓库开测试 PR(标题注明"测试用,可删"),用真实 gh 回复录 fixture;Pulls 模块的列表查询、解析、分页、错误都有 io 测试
  • gh 在焦点文件夹所在的机器上运行
  • README 更新;bun run verify 通过

Activity

  1. self-assigned this
    on Nov 7, 2026
  2. lw396 commented on Nov 7, 2026

    @lw396
    OwnerAuthor

    已完成(按用户要求关闭)。实现 2d9af5c:侧边栏 Pull Requests 标签页的 All Open 分组(repository.pullRequests,不走搜索,ADR 0006),每页 30 条、加载更多、可折叠;每行状态图标、#编号 标题(draft 斜体)、by @作者,悬停复制编号和在浏览器中打开;空组 "0 pull requests in this category";错误说明与 Issues 一致;列表按机器、仓库、gh 账号缓存。测试 PR #35(ready)和 #36(draft)用于录 fixture(gh 2.96,center)。检查:bun run verify(222 个测试、herdr-app check、smoke)、check:built;用户在 Mac 上确认。分组列表与 Issues 的重复代码留到 #23 抽成共用组件。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions