Skip to content

fix(console): Git 搜索定位在请求首帧显示目标行 - #2410

Merged
1lck merged 2 commits into
mainfrom
codex/1820-first-frame-verification
Nov 25, 2026
Merged

1lck merged 2 commits into
mainfrom
codex/1820-first-frame-verification

Conversation

@1lck

@1lck 1lck commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

关联 Issue / Linked issue

Refs #1820

PR 类型 / Type

  • fix

改动说明 / What changes

背景 / Why

Git Console 采用 Viva textview。在控制台末尾跳到较早的搜索结果,旧偏移在请求首帧仍用于绘制。

改动 / Changes

不在本 PR 范围内 / Out of scope

已补验暂停时移除前部记录,第一帧仍展示原先的顶行。该回归在 macOS 连续两次通过。

类型专属:fix

复现与根因

控制台末尾和搜索目标相距超过一屏时,文本视图先声明滚动区域,再处理滚动请求。旧依赖的首帧回归失败;修复使同一帧的布局读取更新后的偏移。

检查项

核对真实控制台绘制、Viva 单包回归以及宿主固定版本。

范围检查 / Scope checks

功能矩阵 / Feature matrix

已更新文本选择与诊断导出的验证记录。

插件归属 / Plugin ownership

N/A:此次仅升级共享绘制修复和原交互回归。

UI 验证 / UI evidence

N/A:此次仅升级共享绘制修复和原交互回归。

统一日志系统 / Structured logging

N/A:此次仅升级共享绘制修复和原交互回归。

界面文案 / i18n

N/A:此次仅升级共享绘制修复和原交互回归。

逻辑归属 / Logic placement

N/A:此次仅升级共享绘制修复和原交互回归。

性能与内存 / Performance and memory

N/A:此次仅升级共享绘制修复和原交互回归。

设置 / Settings

N/A:此次仅升级共享绘制修复和原交互回归。

插件契约 / Plugin contract

N/A:此次仅升级共享绘制修复和原交互回归。

发行包与资源 / Bundle and resources

N/A:此次仅升级共享绘制修复和原交互回归。

无用代码与重构 / Dead code and refactoring

当前变更范围内未发现新增重复代码。

验证 / Verification

macOS 对固定的新依赖连续两次运行项目树、日志和 Git Console 定向回归;旧依赖复现了控制台首帧失败。资源只读和中英文检查通过。

提交前确认 / Final checks

已核对变更范围并运行 git diff --check。

@ghfind-review ghfind-review Bot added the review: high ghfind author score; see https://ghfind.com label Nov 25, 2026
@1lck
1lck marked this pull request as ready for review November 25, 2026 08:05
@1lck
1lck merged commit 2c1710a into main Nov 25, 2026
6 of 10 checks passed
@xiaoyumuxi xiaoyumuxi mentioned this pull request Nov 25, 2026
9 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review: high ghfind author score; see https://ghfind.com

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant