Repository navigation
release: 桌面端 0.8.5(Viva 同步上游 059256b,固定 fork main 113224d) - #2130
Merged
Merged
Conversation
…extview Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1lck
marked this pull request as ready for review
November 18, 2026 03:51
7 of 10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联 Issue / Linked issue
PR 类型 / Type
改动说明 / What changes
背景 / Why
准备桌面端
0.8.5正式版本。按 Viva fork 维护 Note 与release-lithe流程,发版前先把上游vivaui/viva的最新提交同步进Lithe-IDEA/Lithe-vivamain,合入 fork 里待合的补丁,升级 Lithe 的 Viva 固定版本、删掉被 fork 取代的 Lithe 副本,再更新desktop/viva.toml与双语发布说明。本 PR 两个提交:chore(desktop): Viva 同步上游 059256b,固定 fork main 113224d,改用 Viva 的 ui/textviewchore(release): 桌面端 0.8.5 版本号与发布说明改动 / Changes
Viva 固定版本与 textview
desktop/go.mod:require github.com/vivaui/viva v0.6.6-0.20261118022843-059256b5ba10(上游基线059256b),replace => github.com/Lithe-IDEA/viva v0.6.6-0.20261118033718-113224d5ae69(forkmain头113224d);desktop/go.sum随之更新。desktop/internal/textview(fix(desktop): Run 控制台、Git Log 详情和 Git 控制台可以选择和复制 #2085 为 [Bug] 运行面板日志区不能用鼠标选择文字,也无法复制 #2073 留的副本),11 个文件改为导入github.com/vivaui/viva/ui/textview(fork 适配 macOS 13 并修复应用图标尺寸过大问题 #36 合入的同一份代码,对应上游 feat(ui): add textview, read-only text that selects, copies and colors vivaui/viva#337)。两份代码只差注释和字符宽度函数:Lithe 副本用term.Width,Viva 用text.CellWidth(和 Viva 等宽绘制同一套宽度);差别只在格式控制字符等边角字符。shared/platform-feature-matrix/features/readonly-text-selection.json:说明和证据改指 Viva 的ui/textview。0.8.5 发布准备
desktop/viva.toml:[app] version0.8.4→0.8.5。docs/releases/v0.8.5.md:中英双语发布说明,已通过校验脚本。内容来自desktop-v0.8.4..main:feat(desktop): 内置运行 Shell、PowerShell、cmd 脚本和可执行程序,运行配置改存 YAML/TOML #2117(内置运行、运行配置改存 YAML/TOML)、feat(run): 多个运行并行、运行中显示静态图标、控制台网址可点击 #2119(多个运行并行、静态运行图标、控制台网址可点击)、feat(desktop): 侧栏“…”按钮可拖动和移动,删除占位的“更新”入口 #2120(侧栏“…”可移动、删除“更新”占位入口)、feat(run): 运行配置的启动前步骤 #2121(启动前步骤)、feat(run): 当前文件运行——构建插件按文件找入口,保存为运行配置后运行 #2123(当前文件运行)、feat(git): 多仓库分支弹窗列出共同本地/远程分支,可在所有仓库检出、新建分支并回滚;合并日志高亮各仓库当前分支 #2126(多仓库共同分支与回滚、合并日志高亮各仓库当前分支),以及本次 Viva 同步带来的 Windows 实时缩放、右键菜单首项可点、Linux Wayland 键盘与输入法修复。docs: 重构并精简 README,突出 Viva + Rust Core 架构与最新基准数据 #2124 是 README,不写入说明。Viva 同步报告
基线
main:c1f24ff→2981952(Lithe-IDEA/Lithe-viva#39 同步上游,merge commit)→113224d(#36 textview,merge commit)。vivaui/viva main:d36f87e..059256b(23 个提交);同步后git log origin/main..upstream/main为空。上游 20 个 tag 与 fork 一致(逐个核对后推送,无差异)。影响 Lithe 的上游改动
b4ee5fd、a6f2bbe(vivaui/viva#341)ContextMenu的行、遮罩和滚动条放在自己的作用域,不再占用目标控件的 parts45b87ae21d5d36117aef5451bc9b、7153eae、bcf54a0Radio/RadioGroup/RadioIDb51885dKbd快捷键键帽fa76033、83e5375c87661f、c99de92MenuItem.Trailing、MenuItems.Content46d6eefCheckbox.Mixed04b5b5cTextAreaIDe8f7a23f4c637e+059256b076233a、38f4356等fork 补丁
ui/textview(上游 feat(ui): add textview, read-only text that selects, copies and colors vivaui/viva#337 仍 open,仍只在 fork)。合入前在本地把它合进同步后的 forkmain,go build ./...、GOOS=windows GOARCH=amd64/arm64 go build ./...、go vet ./ui/...、go test ./ui/... ./internal/...均通过;没有把 forkmain合进这条分支,以免把 fork 提交带进上游 PR。b4ee5fd),已关闭并注明。绕过代码(#1821)
desktop/internal/textview副本(改用 Vivaui/textview)。Disabled、第 2 项readOnlyField、第 3 项fileTree.wheel(vivaui/viva#203)、第 4 项verticalWheel、第 5 项root.go的OnKey/OnShortcut。逐项在c1f24ff..113224d的 diff 里查了wheelX、输入框禁用、chord/Splitter、Tree 滚动,均无改动。不在本 PR 范围内 / Out of scope
类型专属:release
版本号(
MAJOR.MINOR.PATCH):0.8.5上一个稳定版 tag:
desktop-v0.8.4docs/releases/v0.8.5.md已写好(中文在前、英文在后),并运行node scripts/release/notes/validate-stable-release-notes.mjs docs/releases/v0.8.5.md内容来自
desktop-v0.8.4..main之间的提交和 PR,以及本次 Viva 同步;没有编造功能、兼容性、下载文件或修复下载文件名与打包工作流产物一致(沿用 0.8.4 的命名);版本元数据只在
desktop/viva.toml贡献者:
@1lck、@xiaoyumuxi[N/A] 未改 GitHub Actions 工作流
本 PR 不创建 tag;合入后按维护者授权创建
desktop-v0.8.5范围检查 / Scope checks
功能矩阵 / Feature matrix
readonly-text-selection.json改指 Viva 的ui/textview;已运行verify-platform-feature-matrix.sh(203 capabilities)和verify-platform-feature-matrix-change.sh origin/main HEAD.artifacts/下生成的矩阵视图插件归属 / Plugin ownership
UI 验证 / UI evidence
N/A:没有改动布局和控件;只读文本换成同一份代码,相关测试在 macOS 和 Windows 均通过。
统一日志系统 / Structured logging
N/A
界面文案 / i18n
verify-app-language-localization.mjs和generate-i18n.mjs --check,通过逻辑归属 / Logic placement
N/A
性能与内存 / Performance and memory
N/A:textview 代码与原副本一致。
设置 / Settings
N/A
插件契约 / Plugin contract
N/A:
PINNED_CORE_REVISION保持 main 上的5c48a67(#2126)。发行包与资源 / Bundle and resources
verify-runtime-bundle-immutability.sh,通过无用代码与重构 / Dead code and refactoring
desktop/internal/textview副本验证 / Verification
./scripts/desktop/desktop-go.sh vet ./..../scripts/desktop/desktop-go.sh test ./... -count=1desktop-go.sh build ./cmd/lithe与 workbench 测试程序;只读文本(Run 控制台、Git Console、提交详情)与本轮运行功能相关测试ui/textview),运行相关 32 个(并行运行、网址链接、内置运行、启动前步骤、当前文件运行、侧栏“…”、标题栏运行、服务调试)go build ./...、GOOS=windows GOARCH=amd64/arm64 go build ./...、go vet ./...、go test ./...cmd/viva打包测试因本机工具链(min_system12.0 vs macOS 13.0)失败,同步前同样失败,与本次无关node scripts/release/notes/validate-stable-release-notes.mjs docs/releases/v0.8.5.mdbash scripts/ci/desktop-release/resolve-release-version.sh 0.8.5desktop-v0.8.5)未能执行的检查和原因: Linux 原生窗口和打包未在本地执行,交由
Desktop Release工作流验证。提交前确认 / Final checks
main(75abcb7df)创建,目标main🤖 Generated with Claude Code