Repository navigation
refactor: 优化账户列表状态刷新与渲染 - #585
Open
Qihuanxishini wants to merge 1 commit into
Open
Qihuanxishini wants to merge 1 commit into
Qihuanxishini wants to merge 1 commit into
Conversation
- 合并 Web 状态读取,由 token 刷新调用方统一补读 - 单账号维护复用公开字段投影,避免全量读取 - 预计算账号索引和组内序号,缓存未变化的分组与行 - 覆盖余额失效与共享显示时钟,保留串行刷新及现有数据格式
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.
目的
减少 Web 账户页中重复的状态读取和列表计算;本次不做 Token 刷新并发化。
改动
desktop-tauri/ui/islands/ui.js。保持不变
验证
npm --prefix desktop-tauri/ui-islands run build:TypeScript 检查和生产构建通过。scripts/cargo-test.mjs --lib):388 通过、0 失败、11 跳过;跳过项需要配置AGENT2API_TEST_PLUGIN_EXE。git diff --check通过;GitHub 比较范围为本批 1 个提交、12 个相关文件。验证边界
未做真实 Web 交互验收或优化前后的性能对照,性能收益尚未量化。
🤖 本条回复由 AI Agent 生成
Generated by an AI agent.