Skip to content

Hark 额度面板:每分钟及每次回复后刷新,失败提示 - #54

Merged
GOXF merged 1 commit into
goxf/portablefrom
goxf/quota-refresh
Dec 3, 2026
Merged

GOXF merged 1 commit into
goxf/portablefrom
goxf/quota-refresh

Conversation

@GOXF

@GOXF GOXF commented Dec 3, 2026

Copy link
Copy Markdown
Owner

负责:Hark/GOXF

额度面板(HarkInfoSections)刷新改进,用户 2026-12-03 09:12 北京要求(「拉额度会影响额度吗?如果不会那要做」,09:24「做完…合并」)。

  • 自动刷新 5 分钟 → 1 分钟(只读 GET /billing/summary,不跑模型)
  • Hark 回复结束(账号状态 busy → online)立刻拉一次
  • 拉取失败时底部显示「· 刷新失败」(之前静默,时间停住看起来像没刷新)

验证

  • npm run typecheck:退出码 0
  • npm run design:check:退出码 0
  • npx vitest run src/renderer:509 通过,退出码 0
  • 未真机

注:HarkInfoSections.tsx 已 1579 行(老文件,>400),本次只改十几行,额度不足未拆。

进度与交接

  • 2026-12-03 北京:已完成上述改动并推送;待 CI 绿后用 merge.py 合并。

@GOXF
GOXF merged commit 9d6c160 into goxf/portable Dec 3, 2026
2 checks passed
@GOXF
GOXF deleted the goxf/quota-refresh branch December 3, 2026 01:33
GOXF added a commit that referenced this pull request Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant