• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

lhohan / simple-time-tracker / 19369954013
85%

Build:
DEFAULT BRANCH: main
Ran 14 Nov 2025 03:54PM UTC
Jobs 1
Files 22
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Nov 2025 02:01PM UTC coverage: 89.842%. Remained the same
19369954013

push

github

claude
fix(web): Preserve period parameter when updating summary and chart after filter changes

The JavaScript updateSummaryAndChart() function was not preserving the period
parameter when making requests to update the summary and pie chart. This caused
the total time tracked and chart to revert to all-time data when switching
between period filters (Today, This Week, This Month).

Changes:
- Add hidden input 'current-period' to track the selected period
- Update period input via htmx:beforeRequest when period buttons are clicked
- Clear period when custom date range is used (custom dates take priority)
- Update JavaScript to read and include the period parameter in API calls
- Add hx-on::htmx:afterRequest to date inputs and limit checkbox to trigger
  summary/chart updates

Applied the same fix to both dashboard.html and outcomes.html pages.

Tests: All 106 tests pass (35 unit + 71 integration tests)

2158 of 2402 relevant lines covered (89.84%)

92.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 19369954013.1 14 Nov 2025 03:54PM UTC 22
89.84
GitHub Action Run
Source Files on build 19369954013
  • Tree
  • List 22
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19369954013
  • 1faf70d3 on github
  • Prev Build on main (#19366669801)
  • Next Build on main (#19372977781)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc