Skip to content

Merge Preview 0.3.0 into main - #239

Merged
1lck merged 190 commits into
mainfrom
preview/0.3.0
Aug 25, 2026
Merged

1lck merged 190 commits into
mainfrom
preview/0.3.0

Conversation

@1lck

@1lck 1lck commented Aug 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • merge the current preview/0.3.0 release line into main
  • bring the latest macOS and Windows editor, terminal, Java/JDTLS, updater, and UI improvements to the stable branch
  • include target-architecture bundled JDKs and verified dependency caches for preview/release builds

Validation

  • Windows ARM64 Debug and Release builds passed
  • Windows and host JDTLS Rust tests passed (19/19)
  • macOS ARM64 app and DMG package verification passed
  • GitHub Actions workflow linting, dependency cache verification, CI classification, and shell syntax checks passed

Merge note

main currently contains commits that are not yet present in preview/0.3.0; branch synchronization or conflict resolution may be required before merge.

soarhill and others added 30 commits August 19, 2026 14:28
Map lithe-dark/lithe-light colors to the IntelliJ New UI dark/light
theme values (Gray/Blue ramp), invert the surface/background layering
so panels sit above the editor area, switch list selection and hover
toward the IDEA blue ramp, and reduce the global radius from 10px to
8px. Values sourced from intellij-community expUI theme JSONs.
Copy 91 Apache-2.0 SVGs (52 mapped icons, light/dark pairs, embedded
copyright comments preserved) from the intellij-community platform
icon set. The mapping list and deterministic generator with --check
validation live under scripts/; asset URLs are emitted to
src/ui/icons/idea-assets.generated.ts.
createIconComponent resolves mapped display names to dual light/dark
asset instances; CSS toggles the active variant via data-theme-type so
theme switches need no rerender. Unmapped exports keep the lucide
fallback, IconProps stay unchanged, and weight/strokeWidth are no-ops
for fixed-color assets.
…ntory

Map 43 additional statically used icons to IntelliJ platform assets
(188 SVGs total now vendored) and register every remaining used icon
explicitly as a lucide fallback with a note, so the mapping file covers
the full 194-icon usage inventory.
Asset icons previously rendered as a span+img pair, which button and
chrome CSS sizing selectors ([&_svg]:size-*) did not match, shrinking
sidebar and toolbar icons to the 13px font default. Render the dual
light/dark variants as <image> children of a real svg root instead, so
asset icons keep the exact lucide sizing contract.
Selected editor and terminal tabs now carry a 4px accent underline on
the top edge over the editor background instead of a block highlight,
unselected labels render at reduced alpha, and the tab strip shares the
editor background with a 1px rule below it, matching the IntelliJ New
UI editor tab treatment.
Selected activity rail buttons and sidebar list rows now use the blue
selection fill token instead of a neutral gray block, and pane headers
tighten from 44px to 36px, matching IntelliJ tool window chrome.
Tree rows render at the 13px chrome size like the IntelliJ project
view, with the chrome radius on selection highlights.
Menu and context items render at the 13px chrome size with tighter
row padding, and tooltips drop to the 12px caption size.
Copy 77 Apache-2.0 SVGs (40 definitions, light/dark pairs) from the
intellij-community platform file type set into a new bundled idea-icons
theme directory, with a mapping file and deterministic generator that
emits the extension.json manifest and validates via --check.
Register the new theme in the bundled extension manifests and icon
asset glob so it appears alongside lithe-icons in appearance settings.
## 问题根因
设置面板为双重滚动容器结构:外层 AppDialog 的 ScrollArea 绑定激进capture阶段滚轮劫持逻辑,
内部又嵌套原生 overflow‑y-auto 的滚动 section。
flex布局下内层section缺失 min‑h‑0,动态内容、tab切换、拖拽输入框会短暂把外层viewport撑为可滚动状态;
外层抢先捕获滚轮事件并执行 preventDefault,滚动作用于无效外层容器,表现为页面偶现滚轮卡死无法向下滑动,布局稳定后自动恢复。

## 本次修复(最小侵入缓解方案)
给内层滚动 section 补充 min‑h‑0,约束flex子项高度,大幅降低外层viewport被临时撑开触发劫持的概率。
该改动风险极低,仅布局属性调整,不改动滚动组件逻辑,无额外回归风险。

## 中长期备选根治方案(待后续本地开发环境完备后实施)
方案1【去双重滚动‑推荐】:消除嵌套双层滚动结构,二选一:
  - 保留外层 ScrollArea,移除内层 section 的 overflow‑y‑auto,全部滚动交由外层组件接管;
  - 移除 AppDialog 外层 ScrollArea,滚动全权交给内部 section。
方案2【组件层修复】:修改 scroll‑container‑wheel.ts 滚轮劫持逻辑;
  劫持前判断事件目标,如果目标本身是可滚动容器,则直接跳过劫持,不执行 preventDefault。

Note: 当前为缓解修复,极端场景仍存在复现可能性,根治改动需要完整本地交互回归验证。
Normalize Windows resource and definition paths, preserve Core startup diagnostics, and clean up failed sessions.\n\nFixes #177
feat(windows): support signed in-app updates
xiaoyumuxi and others added 24 commits August 22, 2026 11:54
给 CI 添加缓存从而加速 CI 流程
feat(macOS): 统一文件与终端标签拖拽及双向停靠
# Conflicts:
#	.github/workflows/ci-windows.yml
Administrator merge through the required PR path. Preview workflow will be run manually.
Resolve PR #239 conflicts while retaining the newer Preview behavior and Main release metadata updates.
@1lck
1lck merged commit 7a33bdc into main Aug 25, 2026
11 checks passed
xiaoyumuxi added a commit that referenced this pull request Dec 1, 2026
…action

Core 固定到 main e9091a2(同时包含 #239 与 #241);合并 i18n 词条与功能矩阵说明。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants