feat: add linear graph view with ideal usage pace indicator#39
Open
quangyendn wants to merge 5 commits intof-is-h:mainfrom
Open
feat: add linear graph view with ideal usage pace indicator#39quangyendn wants to merge 5 commits intof-is-h:mainfrom
quangyendn wants to merge 5 commits intof-is-h:mainfrom
Conversation
- Add GraphDisplayType enum with circular/linear cases - Add graphDisplayType @published property to UserSettings - Add localization strings for all 5 languages - Foundation for linear usage graph feature
- Add LinearUsageGraphView component with ideal pace reference line - Add graph style picker in GeneralSettingsView - Add localization strings for graph style settings - Refactor UsageDetailView to support both circular and linear graphs
- Widen graph (262x100pt) to fill container width - Remove center metrics overlay - Add percentage labels directly at each data dot - Add boundary checks to prevent label clipping at edges - Change empty state to rounded rectangle
4 tasks
Restore original CODE_SIGN_STYLE and CODE_SIGN_IDENTITY settings to match upstream configuration.
…serSettings - Add missing closing brace for SettingsGeneralTimeFormat enum - Add missing closing braces for AppAppearance enum and its switch statement
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
Add configurable graph display modes (circular/linear) with pace guidance to help users optimize their Claude usage rate and stay within session limits.
Changes
GraphDisplayTypeenum with circular and linear options for usage graph displaygraphDisplayTypesetting toUserSettingswith persistence supportLinearUsageGraphViewcomponent with ideal pace reference lineGeneralSettingsViewUsageDetailView+HelpersUsageDetailViewto support both circular and linear graphs viausageGraphView(data:)switcherReview feedback addressed (from #19)
.serena/directory and contents.gitignorechanges (.claude,CLAUDE.md)CODE_SIGN_STYLE,CODE_SIGN_IDENTITY) inproject.pbxprojUsageDetailViewviausageGraphView(data:)inUsageDetailView+Helpers.swiftmain(v2.6.0) and resolved conflictsTest plan