Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion desktop/internal/workbench/plugintools_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
13 changes: 5 additions & 8 deletions scripts/desktop/build-desktop-core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading