Repository navigation
fix: 保留证券查询快照并统一研究工作台 UI - #38
Merged
Merged
Conversation
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.
证券工作台离开页面后会丢失已查询的真实数据,返回时需要重新请求;助手与完整会话页还存在重复容器、顶部留白和长内容布局不一致的问题。
本次改动将证券显示快照提升到应用运行期间,按证券、Provider、模式、视图、周期、查询参数与配置版本隔离。返回页面优先显示带来源/获取时间的上次查询快照,显式刷新才重新查询;刷新失败保留成功数据,并隔离迟到结果。显式查询绕过 Provider 结果缓存,授权和金融计算不变,不持久化真实响应或凭证。
同时统一横向资产栏、标题/工具栏/说明/正文/输入区,收紧财报/新闻/资料卡片;完整会话页使用历史与会话详情双栏,窄屏按需展开历史。同一个 SessionPanel 持续挂载,继续使用 Python/SQLite 的会话、分页、SSE、取消和持久化证据。没有更换 Agent Runtime、扩大分页容量、引入依赖或执行 P2-10。
验证:
bun.cmd run verify:999 Python + 70 Node + 99 实际 Electron,共1168通过;原1159基线保留,累计新增2 Node/7 Electron。开发期完整门禁曾发现并修复窄屏报告证据点击与输入区边界回归;另有鼠标/tooltip/原生窗口resize的间歇失败,专项及最终完整门禁通过,未通过放宽断言或增加预算掩盖。详见两份验收说明;本地通过与远程 CI 分别记录。