From 390ae35966080c31c86c3f27f0cdcb5dad4aa817 Mon Sep 17 00:00:00 2001 From: QLHazyCoder <2825305047@qq.com> Date: Sun, 19 Apr 2026 00:06:20 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E8=B4=A1=E7=8C=AE?= =?UTF-8?q?=E6=8C=89=E9=92=AE=EF=BC=8C=E5=85=81=E8=AE=B8=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E6=89=93=E5=BC=80=E8=B4=A6=E5=8F=B7=E8=B4=A1?= =?UTF-8?q?=E7=8C=AE=E4=B8=8A=E4=BC=A0=E9=A1=B5=E9=9D=A2=EF=BC=8C=E5=B9=B6?= =?UTF-8?q?=E5=A2=9E=E5=BC=BA=E7=9B=B8=E5=85=B3=E9=80=BB=E8=BE=91=E4=B8=8E?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sidepanel/sidepanel.css | 6 + sidepanel/sidepanel.html | 2 + sidepanel/sidepanel.js | 36 ++++++ tests/sidepanel-contribution-button.test.js | 127 ++++++++++++++++++++ 项目完整链路说明.md | 19 +++ 项目开发规范(AI协作).md | 9 ++ 项目文件结构说明.md | 5 +- 7 files changed, 202 insertions(+), 2 deletions(-) create mode 100644 tests/sidepanel-contribution-button.test.js diff --git a/sidepanel/sidepanel.css b/sidepanel/sidepanel.css index 55aedf5..e0961aa 100644 --- a/sidepanel/sidepanel.css +++ b/sidepanel/sidepanel.css @@ -183,6 +183,11 @@ header { align-items: center; gap: 4px; flex-shrink: 0; + flex-wrap: wrap; +} + +.btn-contribution-mode { + padding-inline: 10px; } /* ============================================================ @@ -310,6 +315,7 @@ header { display: flex; align-items: center; gap: 4px; + flex-wrap: wrap; } .run-count-input { diff --git a/sidepanel/sidepanel.html b/sidepanel/sidepanel.html index f405a4e..3be2c00 100644 --- a/sidepanel/sidepanel.html +++ b/sidepanel/sidepanel.html @@ -46,6 +46,8 @@ +