feat: tray refinements and usage history#3
Merged
barramee27 merged 2 commits intoMay 13, 2026
Conversation
- Raise TRAY_ICON_BASE_PT_WIN_LINUX 30→34 for sharper logos after shell scale - Provider stacked layout: icon band 52%→58% of square - Sidebar: provider + nav icons size-8→size-10, rail w-14→w-16 (issue #2 UX) Co-authored-by: Cursor <cursoragent@cursor.com>
- Tray: bar/icon rendering and Win/Linux tray sizing (includes cherry-picked canvas tweak) - Settings: optional local usage history with chart and account filter - Core/Tauri: usage_history SQLite + probe hook; related commands and wiring - Also lands co-traveling fork work from the same WIP (onboarding, support paste, OS diagnostics, dev port check) so the tree stays consistent Co-authored-by: Cursor <cursoragent@cursor.com>
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.
What this PR does
Tray icon & sizing (Windows / Linux focus)
tray-bars-icon,tray-primary-progress,use-tray-icon): clearer bar rendering and metric mapping so the tray icon matches what you see in the app.9063d06for the larger Win/Linux tray canvas and side-nav / provider icon band adjustments (same change as that commit elsewhere in the repo history).Usage history (local-only)
crossusage-coreusage_history, Taurilist_usage_history/clear_usage_history).Other fork work bundled in the same integration
WIP that shared one local working tree so the tree stays buildable and tested end-to-end: onboarding wizard, support-issue paste helpers, OS diagnostics plumbing, and the Vite dev port preflight in
scripts/tauri-before-dev.cjs(clear message when 1420 is busy).Why one PR
These pieces were integrated together locally; splitting would mean intermediate states that don’t compile or pass tests. Follow-up PRs can peel layers off after merge if you want smaller diffs.
Verification
cargo check -p crossusagebun run test— 1171 tests, all passing