From dd4eff4fc9f09900a2966fa4c24b533cfc4d8dfe Mon Sep 17 00:00:00 2001
From: Youzini-afk <13153778771cx@gmail.com>
Date: Tue, 7 Apr 2026 18:58:21 +0800
Subject: [PATCH] =?UTF-8?q?refactor(task-preset):=20=E5=B7=A6=E6=A0=8F?=
=?UTF-8?q?=E6=94=B9=E4=B8=BA=E7=B4=A7=E5=87=91=E4=B8=8B=E6=8B=89=E5=88=87?=
=?UTF-8?q?=E6=8D=A2=E9=A2=84=E8=AE=BE=EF=BC=8C=E9=87=8A=E6=94=BE=E7=BC=96?=
=?UTF-8?q?=E8=BE=91=E5=8C=BA=E7=A9=BA=E9=97=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Made-with: Cursor
---
panel.js | 42 +++--------------------
style.css | 101 ++++++++++++++++++++++++++----------------------------
2 files changed, 54 insertions(+), 89 deletions(-)
diff --git a/panel.js b/panel.js
index 492cce3..bf787ad 100644
--- a/panel.js
+++ b/panel.js
@@ -3489,21 +3489,6 @@ async function _handleTaskProfileWorkspaceClick(event) {
actionEl.dataset.taskTab || currentTaskProfileTabId;
_refreshTaskProfileWorkspace();
return;
- case "select-profile": {
- const profileId = actionEl.dataset.profileId;
- if (profileId) {
- const settings = _getSettings?.() || {};
- const nextTaskProfiles = setActiveTaskProfileId(
- settings.taskProfiles || {},
- currentTaskProfileTaskType,
- profileId,
- );
- currentTaskProfileBlockId = "";
- currentTaskProfileRuleId = "";
- _patchTaskProfiles(nextTaskProfiles);
- }
- return;
- }
case "refresh-task-debug":
if (typeof _getRuntimeDebugSnapshot === "function") {
_getRuntimeDebugSnapshot({ refreshHost: true });
@@ -3727,11 +3712,10 @@ function _renderTaskProfileWorkspace(state) {
-
-
-