Files
LegGasai 658aeed863 feat(forge): keep the review detail's link actions visible, add the automatic merge, and draw a loading skeleton
The Code review page's detail shows Open on the code host, Copy link, and
Refresh status as three icon buttons after the merge action; a narrow detail
folds them into the More menu as before. The merge action also turns the
code host's automatic merge on, shows that it is on with its cancellation,
and names why the host would not merge.

- forge-github: snapshots carry `autoMerge` from `viewerCanEnableAutoMerge`,
  `viewerCanDisableAutoMerge`, and `autoMergeRequest`; `setAutoMerge` sends
  `enablePullRequestAutoMerge` with the confirmed head or
  `disablePullRequestAutoMerge`. A base branch with a merge queue offers none.
- forge-gitlab: snapshots carry `autoMerge` from `autoMergeEnabled` and the
  available strategies; `setAutoMerge` accepts with the strategy that waits
  for every merge check, or posts `cancel_auto_merge`. Merge trains offer
  none.
- client-ui-forge (Host): `forgePanel.setAutoMerge` and
  `forgePanel.reviewSetAutoMerge`.
- client-ui-forge (Client): the opening actions carry the mark of the
  provider's forge family and name the code host instead of the browser, on
  the review page, the Session panel card, the changes view, and review
  threads. While a change request, its description, or its activity is read,
  a skeleton of the same layout stands in. The comment field is three lines
  tall with a row that names the code host and a primary button. Where the
  header is tight, labels fold and the repository name is cut before the
  actions wrap.
2026-11-20 11:49:59 +08:00

2.6 KiB
Raw Permalink Blame History

  • img "变更请求状态:需要处理"
  • text: "Add the pull request panel #7"
  • button "查看的提交:全部提交": 全部提交
  • button "提交评审"
  • button "在 GitHub 中打开"
  • button "全部 2 个文件"
  • button "分层透镜:全部": 全部
  • switch "隐藏测试文件"
  • progressbar "已审阅的文件": 已审阅 0 / 2
  • text: +4 −2
  • button "刷新变更"
  • button "全部折叠"
  • button "左右对比" [pressed]
  • button "自动换行" [pressed]
  • region "全部 2 个文件":
    • button "收起 panel.md" [expanded]
    • text: docs/panel.md 新文件 +2 −0
    • checkbox "将 panel.md 标记为已审阅"
    • button "panel.md 的更多操作"
    • button "选择第 R1 行": "1"
    • text: "+ # Panel"
    • button "选择第 R2 行": "2"
    • text: + Shows the change requests of a Session.
    • button "收起 panel.ts" [expanded]
    • text: src/panel.ts +2 −2
    • checkbox "将 panel.ts 标记为已审阅"
    • button "panel.ts 的更多操作"
    • button "选择第 L1 行": "1"
    • text: export const n1 = 1
    • button "选择第 R1 行": "1"
    • text: export const n1 = 1
    • button "选择第 L2 行": "2"
    • text: export const n2 = 2
    • button "选择第 R2 行": "2"
    • text: export const n2 = 'two'
    • button "选择第 L3 行": "3"
    • text: export const n3 = 3
    • button "选择第 R3 行": "3"
    • text: export const n3 = 3
    • button "选择第 L4 行": "4"
    • text: export const n4 = 4
    • button "选择第 R4 行": "4"
    • text: export const n4 = 4
    • button "选择第 L5 行": "5"
    • text: export const n5 = 5
    • button "选择第 R5 行": "5"
    • text: export const n5 = 5
    • button "6 行未变更"
    • button "选择第 L12 行": "12"
    • text: export const n12 = 12
    • button "选择第 R12 行": "12"
    • text: export const n12 = 12
    • button "选择第 L13 行": "13"
    • text: export const n13 = 13
    • button "选择第 R13 行": "13"
    • text: export const n13 = 13
    • button "选择第 L14 行": "14"
    • text: export const n14 = 14
    • button "选择第 R14 行": "14"
    • text: export const n14 = 14
    • button "选择第 L15 行": "15"
    • text: export const n15 = 15
    • button "选择第 R15 行": "15"
    • text: export const n15 = 'fifteen'
    • button "选择第 L16 行": "16"
    • text: export const n16 = 16
    • button "选择第 R16 行": "16"
    • text: export const n16 = 16
    • button "选择第 L17 行": "17"
    • text: export const n17 = 17
    • button "选择第 R17 行": "17"
    • text: export const n17 = 17
    • button "选择第 L18 行": "18"
    • text: export const n18 = 18
    • button "选择第 R18 行": "18"
    • text: export const n18 = 18
    • button "其余未变更的行"