DIFF-255:Vault 树选中滚入视口
对照 Electron
JsonVaultPanel / QuickNoteTool 在 selectedPath 或树节点变化后调用 scrollSelectedIntoView(scrollIntoView({ block: 'nearest' })),保证新建/选中深层文件时行仍可见。
行为
VaultTreeList对当前selectedPath行挂BringIntoViewRequester,在选中路径、条目集合或展开状态变化后bringIntoView()。- 与已有
vaultTreeScrollOffset会话态互补:用户手动滚动仍写回 offset;程序性选中会滚到最近可见区。 jsonEditorAutoFocusEnabled/quickNoteEditorAutoFocusEnabled在vaultContextMenuPath非空时不抢焦点(避免窗口激活关闭右键菜单)。
验证
JsonEditorFocusPolicyTest、QuickNoteEditorFocusPolicyTest./gradlew :composeApp:desktopTest --offline