From da7665fe8234692cc71af08ad1e320171d70f54e Mon Sep 17 00:00:00 2001 From: Mucheen <145200703+Mucheen@users.noreply.github.com> Date: Tue, 24 Nov 2026 17:42:46 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix(desktop):=20=E6=9B=B4=E6=96=B0=20Core?= =?UTF-8?q?=20=E5=9B=BA=E5=AE=9A=E7=89=88=E6=9C=AC=E4=BB=A5=E7=94=9F?= =?UTF-8?q?=E6=88=90=E5=A3=B0=E6=98=8E=E5=BC=8F=E8=BF=90=E8=A1=8C=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=20(#2100)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/desktop/build-desktop-core.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/scripts/desktop/build-desktop-core.sh b/scripts/desktop/build-desktop-core.sh index 50e46f199..a3eefcbd3 100755 --- a/scripts/desktop/build-desktop-core.sh +++ b/scripts/desktop/build-desktop-core.sh @@ -369,14 +369,11 @@ PINNED_CORE_REPOSITORY="https://github.com/Lithe-IDEA/Lithe-core-rust.git" # workspace.createEntry, renameEntry, copyEntry and resolveEntry with the codes entry_not_found # and entry_exists, which the desktop calls for a plugin's create, rename, copy, trash and # saveAs (workbench/pluginfilechanges.go). -# The plugin delta branch (#187) includes current Core main, including the -# built-in file association catalog and plans (#186). It adds the pinned -# companion index and verifies and reconstructs ZIPs for marketplace updates. -# Desktop integration of Core #190 (API-06/07/08) at 095d013 with the existing -# #187 delta dependency at 076ce04. Both parents remain independently reviewable; -# the pin preserves marketplace delta commands while adding workspace disk reads, -# bounded search and native-watch planning/filtering. -PINNED_CORE_REVISION="75e148091439248e5927c58790019b26de02ca87" +# Core main c6cef0b merges the marketplace delta index and ZIP reconstruction +# (#187), along with workspace reads, search and native-watch planning (#190). +# It also includes #196, which lets runConfig.generate materialize declared +# run configuration types from build model entries used by desktop #2382. +PINNED_CORE_REVISION="c6cef0b9f63024f99cfc447dbf205e05893f7597" PROFILE="debug" CHECKOUT_ONLY="no" while [[ $# -gt 0 ]]; do From 87aa1b16a758e7f52a1b4940d9282ccd598583d6 Mon Sep 17 00:00:00 2001 From: Mucheen <145200703+Mucheen@users.noreply.github.com> Date: Tue, 24 Nov 2026 17:50:51 +0800 Subject: [PATCH 2/3] test(plugin-ui): initialize chrome in tool window icon test --- desktop/internal/workbench/plugintools_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/internal/workbench/plugintools_test.go b/desktop/internal/workbench/plugintools_test.go index f924b32c7..0e55432c4 100644 --- a/desktop/internal/workbench/plugintools_test.go +++ b/desktop/internal/workbench/plugintools_test.go @@ -34,7 +34,7 @@ func TestPluginToolWindowUsesPackageIconAcrossThemes(t *testing.T) { PluginID: "dev.lithe.test.tool-icon", ID: "dev.lithe.test.tool-icon.window", Package: directory, Icon: pluginicons.Declaration{Path: "light.svg", DarkPath: "dark.svg", Mode: mode}, } - var app App + app := App{chrome: newChromeState()} app.chrome.setItems(pluginItems([]pluginservice.ToolWindow{tool}, nil)) if err := app.pluginIcons.Read(tool.PluginID, directory, tool.Icon); err != nil { t.Fatal(err) From be9e9479d21064db3d2dc904875bb9e19ac9c3b9 Mon Sep 17 00:00:00 2001 From: Mucheen <145200703+Mucheen@users.noreply.github.com> Date: Tue, 24 Nov 2026 17:54:14 +0800 Subject: [PATCH 3/3] docs(matrix): record tool window icon regression verification --- .../features/workbench-tool-stripe-icons.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/platform-feature-matrix/features/workbench-tool-stripe-icons.json b/shared/platform-feature-matrix/features/workbench-tool-stripe-icons.json index bf1e11881..7ca4b82e3 100644 --- a/shared/platform-feature-matrix/features/workbench-tool-stripe-icons.json +++ b/shared/platform-feature-matrix/features/workbench-tool-stripe-icons.json @@ -4,8 +4,8 @@ "group": "工作台布局", "capability": "工具窗口栏使用 IntelliJ New UI 的工具窗口图标和尺寸", "owner": "Workbench", - "notes": "Viva 共享实现。项目、提交、结构、查找、Git、终端、问题、运行、调试、构建、通知、服务使用 IntelliJ Community(Apache-2.0,修订 c7f91397daa3a961b4e78bc634fe467a0a7d9ade)的 20×20 New UI 工具窗口图标,许可见 desktop/internal/toolicons/NOTICE;IDEA 没有对应图标的入口(引用、测试、安全、背景)和隐藏入口列表的“…”使用 Lucide 图标,描边减到 1.8 以接近 IDEA 的线宽;插件声明的通用工具图标名映射到同一套图标。icons.go 由 scripts/desktop/generate-desktop-file-icons.sh --tools-only 从 SVG 生成,运行时不读写文件。尺寸:40pt 工具栏、30pt 按钮、20pt 图标、10pt 间距。 2026-11-24:工具窗口保留包内图标声明,后台复用 pluginicons 只读加载 SVG;工具栏、隐藏入口列表和拖动预览按主题使用缓存,模板使用控件着色。缺失或不支持的图标记录一次降级并使用通用图标。PNG 仍不支持;本次接线按用户要求未运行验证。", - "verification": "打开工作区,对照 IntelliJ IDEA New UI 检查左右工具窗口栏:图标形状和大小一致,选中按钮为主题主色圆角底配反色图标;拖动按钮时拖动预览里的图标居中,插入线落在两个按钮正中。浅色和深色主题各看一次。自动化:stripe_test.go 的 TestToolStripeButtonsHaveTheToolWindowBarSizes。 2026-11-23 CI Viva 断言修复:移除 ui.ContextMenu 等非消费调用上的 Key/Part 传递,保留原有 ui.Spacer 弹性占位,避免 Context 身份泄漏到后续 Spacer 节点并消除叶节点/未消费 Part 断言;macOS/Windows 原生验证仍 pending。 包图标回归:TestInstalledToolWindowKeepsPackageIconDeclaration、TestPluginToolWindowUsesPackageIconAcrossThemes 已编写未执行;用户自行检查声明 SVG 的工具窗口入口、隐藏列表及拖动预览,亮暗切换与模板着色。", + "notes": "Viva 共享实现。项目、提交、结构、查找、Git、终端、问题、运行、调试、构建、通知、服务使用 IntelliJ Community(Apache-2.0,修订 c7f91397daa3a961b4e78bc634fe467a0a7d9ade)的 20×20 New UI 工具窗口图标,许可见 desktop/internal/toolicons/NOTICE;IDEA 没有对应图标的入口(引用、测试、安全、背景)和隐藏入口列表的“…”使用 Lucide 图标,描边减到 1.8 以接近 IDEA 的线宽;插件声明的通用工具图标名映射到同一套图标。icons.go 由 scripts/desktop/generate-desktop-file-icons.sh --tools-only 从 SVG 生成,运行时不读写文件。尺寸:40pt 工具栏、30pt 按钮、20pt 图标、10pt 间距。 2026-11-24:工具窗口保留包内图标声明,后台复用 pluginicons 只读加载 SVG;工具栏、隐藏入口列表和拖动预览按主题使用缓存,模板使用控件着色。缺失或不支持的图标记录一次降级并使用通用图标。当前支持 SVG。", + "verification": "打开工作区,对照 IntelliJ IDEA New UI 检查左右工具窗口栏:图标形状和大小一致,选中按钮为主题主色圆角底配反色图标;拖动按钮时拖动预览里的图标居中,插入线落在两个按钮正中。浅色和深色主题各看一次。自动化:stripe_test.go 的 TestToolStripeButtonsHaveTheToolWindowBarSizes。 2026-11-23 CI Viva 断言修复:移除 ui.ContextMenu 等非消费调用上的 Key/Part 传递,保留原有 ui.Spacer 弹性占位,避免 Context 身份泄漏到后续 Spacer 节点并消除叶节点/未消费 Part 断言;macOS/Windows 原生验证仍 pending。 2026-11-24 macOS ARM64 自动化:TestInstalledToolWindowKeepsPackageIconDeclaration 验证保留包图标声明。TestPluginToolWindowUsesPackageIconAcrossThemes 用正常初始化的工具窗口目录验证包内 SVG 跟随明暗主题、模板图标采用控件着色,定向测试及竞态检查通过。原生工具栏、隐藏入口列表和拖动预览的明暗主题交互仍待验收。", "macos": { "implementationStatus": "implemented", "verificationStatus": "pending",