Skip to content

Design update of usage in left nav panel - #145

Draft
designerzhi wants to merge 2 commits into
mainfrom
feat/usage-sidebar-snapshot-collapsible
Draft

Design update of usage in left nav panel#145
designerzhi wants to merge 2 commits into
mainfrom
feat/usage-sidebar-snapshot-collapsible

Conversation

@designerzhi

Copy link
Copy Markdown
Collaborator

Description

Related Issue

Changes

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • CI/CD or build configuration change
  • Refactoring (no functional changes)

Testing

  • Tests pass locally (cd desktop && npm run test)
  • Renderer tests pass locally (cd desktop/renderer && npm run test)
  • Build succeeds (cd desktop && npm run build)
  • Manual testing performed (describe below)

Checklist

  • My code follows the coding guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code where necessary
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or my feature works
  • New and existing unit tests pass locally with my changes

yikkuro pushed a commit that referenced this pull request Jul 30, 2026
Clean auto-merge; i18n unioned #146 skills.dev.* status/global keys with existing #145/#144 keys.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 1fe75171-fea2-45ef-9401-bf8a4ea0f2ba
yikkuro added a commit that referenced this pull request Jul 30, 2026
Brings the collapsible usage snapshot from PR #145 (cherry-picked 22880f1)
onto main and adapts it to the CNY infrastructure now on main:

- SidePanel usage snapshot renders spend in CNY (Y) with 2 decimals,
  mirroring SettingsView.vue (exchangeRate from usage:get-stats, 7.2 fallback).
- SettingsView usage page: total + per-model spend now show 2 decimals
  instead of 4.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1fe75171-fea2-45ef-9401-bf8a4ea0f2ba
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