Skip to content

feat(dashboard): Improve trend bucket rendering and weighted averaging - #115

Merged
bigtomcat6 merged 15 commits into
mainfrom
feat/overview-trend-chart-smoothing
Aug 10, 2026
Merged

feat(dashboard): Improve trend bucket rendering and weighted averaging#115
bigtomcat6 merged 15 commits into
mainfrom
feat/overview-trend-chart-smoothing

Conversation

@bigtomcat6

@bigtomcat6 bigtomcat6 commented Aug 10, 2026

Copy link
Copy Markdown
Owner

Summary

Improve dashboard trend visualization by adding weighted trend buckets and explicit time-range labels, then stabilize the averaging and normalization path used for live trend rendering. This update also includes weighted sample propagation in the dashboard core, smoother overview trend lines, and hardened gap handling so trend charts remain stable under sparse/live input.

How to test

  • Open Dashboard and verify trend overview cards now show weighted bucket ranges and retain stable interpolation while hovering over buckets.
  • Verify trend annotation tooltips and bucket boundary labels update consistently across live and historical trend modes.
  • Confirm no visual regressions in trend chart behavior by comparing current overview + live chart behavior in multiple sample density scenarios.

Release impact

  • Type: Added
  • Release note: Improve dashboard trend chart behavior with weighted bucket rendering, explicit bucket time-range labels, and more stable averaging across live/overview data.

Checklist

  • I have seen this code, I have run this code, and I take responsibility for this code.
  • PR title follows type(scope): Summary.
  • Tests or a clear manual verification path are included.
  • User-facing changes include release-note wording or Release impact: None.

@bigtomcat6 bigtomcat6 added the feature PR Label label Aug 10, 2026
@bigtomcat6 bigtomcat6 self-assigned this Aug 10, 2026
@bigtomcat6

Copy link
Copy Markdown
Owner Author

@codex review

@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.09044% with 19 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
.../MacActivityApp/Views/DashboardTrendAverager.swift 94.80% 13 Missing ⚠️
...ces/MacActivityApp/Views/DashboardTrendChart.swift 95.00% 6 Missing ⚠️

📢 Thoughts on this report? Let us know!

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 832c4fa122

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Sources/MacActivityApp/Views/DashboardTrendAverager.swift Outdated
Comment thread Sources/MacActivityApp/Views/DashboardTrendAverager.swift Outdated

@bigtomcat6 bigtomcat6 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed

@bigtomcat6
bigtomcat6 marked this pull request as ready for review August 10, 2026 01:28
@bigtomcat6
bigtomcat6 merged commit dc41fa9 into main Aug 10, 2026
13 of 15 checks passed
@bigtomcat6
bigtomcat6 deleted the feat/overview-trend-chart-smoothing branch August 14, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature PR Label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant