feat: cross-window refresh sync, tray menu & UI improvements#3
Merged
Conversation
- Add refresh-started/refresh-completed events for cross-window state sync - Create useRefreshState hook to synchronize refresh button states - Add tray context menu with Dashboard, Settings, and Quit options - Rename dashboard window label to main for consistency - Add build-test workflow for PR validation - Install create-dmg in release workflow for macOS builds
- Add cacheCreationInputTokens and cacheReadInputTokens fields to DailyUsage type - Display period-aggregated cache tokens in Dashboard stats instead of today-only - Improve Dashboard chart with gradient fill for token bars - Refactor model breakdown layout with better proportions for pie chart - Extract createNumberInputHandlers helper in Settings for cleaner input handling - Adjust glass effect opacity for better visibility - Polish Tray UI spacing and progress bar layout
…lations and UI updates
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.
Summary
🔄 Refresh State Synchronization
refresh-started/refresh-completedevents for cross-window state syncuseRefreshStatehook to keep refresh button states in sync between Dashboard and Tray windows🖱️ Tray Context Menu
mainfor consistency📊 Cache Token Statistics
cacheCreationInputTokensandcacheReadInputTokensfields to DailyUsage type✨ UI Polish
createNumberInputHandlershelper in Settings for cleaner code🔧 CI/CD
build-test.ymlworkflow for PR validation on macOScreate-dmgin release workflow for macOS DMG buildsTest Plan