fix(history): 修复“全部会话”中浏览较老历史并点击详情后未成功跳转#194
Merged
Conversation
修复历史面板在“加载更多”后被首屏刷新覆盖的问题。 - 首屏刷新命中已分页缓存时合并第一页与已加载结果,避免列表回退到第一页 - “全部会话”范围改为通过 ref 读取最新作用域,避免仅同步左侧项目时误触发整页重载 - 历史缓存键补充作用域路径,保证同一项目 ID 的路径上下文更新后仍会正确刷新 产品层面上,用户在“全部会话”中浏览较老历史并点击详情后,右侧历史列表不会因后台刷新突然收缩;项目路径或归属上下文更新时,历史范围也能继续保持正确。 Signed-off-by: Lulu <58587930+lulu-sk@users.noreply.github.com>
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.
修复历史面板在“加载更多”后被首屏刷新覆盖的问题。
产品层面上,用户在“全部会话”中浏览较老历史并点击详情后,右侧历史列表不会因后台刷新突然收缩;项目路径或归属上下文更新时,历史范围也能继续保持正确。