You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat: add per-project token usage section between Tokens and Activity
Groups JSONL entries by working directory (cwd) to show which projects
consume the most tokens and estimated cost. Uses full cwd path as
grouping key to avoid collisions between identically-named directories.
* fix: correct id field comment and spec docs to reflect full cwd path key
The id field uses the full cwd path (not lastPathComponent) after the
path collision fix. Updates the struct comment and DATA_LAYER.md to match.
* feat: polish token sections — better wording, compact cost, 6-project limit with expand/search/sort
- Rename "Tokens" → "Token Usage" for clarity
- Prefix all cost values with "~" to indicate API-equivalent estimate
- Add formatCompactCost that drops cents for >= $1 (e.g. "$18")
- Projects section: show top 6, "Show all (N)" expand toggle, search
filter when expanded, sort toggle (by tokens / by cost)
- Widen Token Usage cost column to 54pt for "~" prefix
- Project cost uses tertiaryLabel for visual separation from token values
* feat: merge Insights into Activity section, expand hourly chart to 24H
- Change hourly chart from 12-hour to 24-hour trailing window
- Move All Time, Longest session, and Period rows into Activity section
- Delete InsightsSection.swift (functionality merged into ActivityChartView)
- Add sort/search/expand controls to ProjectUsageSection
- Remove orphaned insightsCollapsed UserDefaults key
- Update all spec files and README test coverage
* fix: remove stale insights comment and force unwrap in ProjectUsageSection
- Comment referenced deleted "insights" section, updated to "insight rows"
- Replace force unwrap in ProjectSortMode.next with guard-let fallback
---------
Co-authored-by: KyleNesium <22541778+KyleNesium@users.noreply.github.com>
0 commit comments