Repository navigation
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.
Fixes #8720
Gemini 用量刷新时,组件保留了旧
usageInfo,但模板会立即把已有用量条替换成更短的骨架屏,造成表格行跳动。骨架屏现在只在loading && !usageInfo时显示;已有用量条在刷新期间继续展示,取得新数据后更新,与现有 Claude 分支的条件一致。验证:pnpm 9.15.9 冻结锁文件安装;现有
AccountUsageCell.spec.ts64 项通过;CI 的make test-frontend通过全仓 ESLint、TypeScript 和 30 文件/586 项 critical Vitest;git diff --check通过。仅一行模板条件改动。项目当前的 Go 安全基线升级由 #8670 单独处理。实现与验证由 AI agent 完成,未调用真实 Gemini。