From 95750056ad4fe859ff21e14aa2a6ef3a597781f2 Mon Sep 17 00:00:00 2001 From: QLHazyCoder <2825305047@qq.com> Date: Mon, 20 Apr 2026 01:18:59 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E9=99=A4=E8=B4=A1=E7=8C=AE?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E7=A1=AE=E8=AE=A4=E5=BC=B9=E7=AA=97=EF=BC=8C?= =?UTF-8?q?=E7=AE=80=E5=8C=96=E8=BF=9B=E5=85=A5=E6=B5=81=E7=A8=8B=EF=BC=8C?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=9B=B8=E5=85=B3=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sidepanel/contribution-mode.js | 11 -- sidepanel/sidepanel.html | 4 +- sidepanel/sidepanel.js | 18 -- tests/sidepanel-contribution-button.test.js | 195 +------------------- tests/sidepanel-contribution-mode.test.js | 4 +- 项目完整链路说明.md | 27 ++- 6 files changed, 26 insertions(+), 233 deletions(-) diff --git a/sidepanel/contribution-mode.js b/sidepanel/contribution-mode.js index abe59e2..d0b9b35 100644 --- a/sidepanel/contribution-mode.js +++ b/sidepanel/contribution-mode.js @@ -247,17 +247,6 @@ } async function enterContributionMode() { - const confirmed = await helpers.openConfirmModal?.({ - title: '贡献账号', - message: '是否确认给作者 QLHazyCoder 提供账号以支持继续维护项目?', - confirmLabel: '确定', - confirmVariant: 'btn-primary', - }); - - if (!confirmed) { - return; - } - await requestContributionMode(true); helpers.showToast?.('已进入贡献模式。', 'success', 1800); } diff --git a/sidepanel/sidepanel.html b/sidepanel/sidepanel.html index 36fc09d..f851304 100644 --- a/sidepanel/sidepanel.html +++ b/sidepanel/sidepanel.html @@ -35,7 +35,7 @@