Skip to content

feat(console): stack quota windows and surface WorkBuddy pack expiry - #225

Merged
caigee-cmd merged 1 commit into
mainfrom
feat/quota-window-rows
Sep 23, 2026
Merged

caigee-cmd merged 1 commit into
mainfrom
feat/quota-window-rows

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Summary

  • Stack Devin daily / weekly / monthly quota meters as separate full-width rows on the account card. HeroUI Tooltip.Trigger is inline-block, so the previous layout put both windows on one line (日额度 0%周额度 50%).
  • Expose WorkBuddy credit-pack expiry from get-user-resource: packages plus soonest expires_at / expiring_remain on GET /api/accounts. The console tooltip shows when remaining credits lapse. Other providers omit the fields.

Test plan

  • go test ./internal/providers/workbuddy ./internal/runtime ./internal/accounts -count=1
  • cd frontend && npm run lint && npm run sync
  • python3 scripts/release-notes.py validate
  • Rebuilt local Docker; qoder-api-proxy is healthy on 127.0.0.1:3010
  • Refresh a Devin account card and confirm daily and weekly each occupy their own row
  • Refresh a WorkBuddy account and confirm the quota tooltip shows pack expiry when upstream reports CycleEndTime

Devin daily, weekly, and monthly meters each occupy a full-width row
on the account card so HeroUI tooltip triggers no longer sit side by
side. WorkBuddy get-user-resource now exposes per-pack CycleEndTime as
packages plus soonest expires_at / expiring_remain, shown in the quota
tooltip.
@caigee-cmd
caigee-cmd merged commit e433e0a into main Sep 23, 2026
6 checks passed
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