From 174dac05b9a3209150eef7a19bb2fbda0ce7dd99 Mon Sep 17 00:00:00 2001 From: timmy Date: Fri, 7 Aug 2026 18:00:00 +0000 Subject: [PATCH] feat: make assigned pull sheets read-first (#217) --- frontend/index.html | 55 ++++++++++++++++++++++++----- frontend/pull-sheet.js | 16 +++++++++ src/gitea_proxy.py | 40 +++++++++++++++------- src/main.py | 31 +++++++++++++++++ tests/test_my_work.py | 57 ++++++++++++++++++++++++++++++ tests/test_pull_api.py | 78 +++++++++++++++++++++++++++++++++++++++--- 6 files changed, 251 insertions(+), 26 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index 3c156e6..1d47425 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -231,6 +231,10 @@ textarea { resize: vertical; min-height: 120px; } .pull-diff-empty { margin:8px 0; padding:10px; border:1px dashed #4e6b8a; border-radius:8px; } .pull-review-tools { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:8px 0; } .pull-review-tools button { min-height:44px; } +.pull-review { margin-top:14px; overflow:hidden; border:1px solid #2a496e; border-radius:10px; padding:0 10px 10px; } +.pull-review summary { min-height:44px; display:flex; align-items:center; cursor:pointer; } +.pull-review summary h2 { margin:0; font-size:16px; } +.pull-review > #merge-pull { min-height:44px; width:100%; margin-top:10px; } .pull-comment-composer textarea { width:100%; min-height:110px; resize:vertical; } .pull-sheet-actions { position:sticky; bottom:0; display:grid; grid-template-columns:1fr 1fr; gap:8px; padding:10px 0; padding-bottom:calc(10px + env(safe-area-inset-bottom)); background:#0b1526; } .pull-sheet-actions a { display:grid; place-items:center; border:1px solid #60a5fa; border-radius:10px; font-weight:700; } @@ -579,11 +583,7 @@ textarea { resize: vertical; min-height: 120px; }
Choose a pull request.
-
CI unknownChecking merge status

-

Changed files

-
Review progress unavailable.
-

Full conversation

@@ -593,9 +593,17 @@ textarea { resize: vertical; min-height: 120px; }
+
+

Review & merge

+
Expand to load changed files and merge readiness.
+ +
CI unknownReview data not loaded
+
Review progress unavailable.
+
+ +
- Open in Gitea