Repository navigation
修复日志弹窗打开与刷新时的末尾定位 - #64
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
打开服务日志时,虽然读取的是最近 100 行,视口仍停在顶部。现在首次打开、手动刷新和开启实时查看时显示底部;后续自动刷新仅在视口原本位于底部时跟随,向上翻阅时保留滚动位置。刷新请求进行中收到的跳至底部操作也会在响应到达后生效。
网络接入结果日志在加载完成和重新展开时显示底部,包括失败后的末尾输出。
本 PR 仅修改 WebUI 日志滚动逻辑,版本保持 0.6.5。合并后的主分支 Actions 沿用现有流程更新 v0.6.5 release 与附件。
验证:基于最新 main 的两组针对性 Chrome 浏览器检查通过,覆盖首次定位、实时跟随、向上翻阅、请求中刷新、重新展开、错误输出及关闭后的迟到响应;node --check 与 git diff --check 通过。未做设备 Safari 验证。服务日志仍只保留最新 100 行,旧行移出窗口后保留滚动位置不保证同一条日志。