Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: owieth/InputMetrics
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.10.4
Choose a base ref
...
head repository: owieth/InputMetrics
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.11.0
Choose a head ref
  • 5 commits
  • 4 files changed
  • 1 contributor

Commits on Mar 30, 2026

  1. feat(model): add fillingMissingDays and zero factory on DailySummary

    Adds `DailySummary.zero(for:)` factory and `[DailySummary].fillingMissingDays(from:to:)`
    extension to pad date ranges with zero-value entries for missing days.
    
    Closes #241
    owieth committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    b3afe45 View commit details
    Browse the repository at this point in the history
  2. fix(viewmodel): fill missing days in week/month chart data

    Replaces duplicated private fillMissingDays implementations with a call
    to the shared [DailySummary].fillingMissingDays extension for both
    MouseStatsViewModel and KeyboardStatsViewModel.
    owieth committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    3528546 View commit details
    Browse the repository at this point in the history
  3. fix(chart): use raw date string as x key to prevent duplicate series

    Using formatted weekday names (EEE) as x keys caused Swift Charts to
    create a second series when 8 data points mapped to only 7 unique
    labels. Switching to yyyy-MM-dd as the data key guarantees uniqueness;
    a chartXAxis modifier handles display formatting.
    owieth committed Mar 30, 2026
    Configuration menu
    Copy the full SHA
    b875b9c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5ce23c8 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #242 from owieth/fix/241-weekly-chart-duplicate-line

    fix(chart): weekly chart shows duplicate line due to repeated weekday labels
    owieth authored Mar 30, 2026
    Configuration menu
    Copy the full SHA
    c6e34af View commit details
    Browse the repository at this point in the history
Loading