Skip to content

feat: auto-refresh on job history page#27

Merged
eclectic-coding merged 2 commits into
mainfrom
feat/history-auto-refresh
May 20, 2026
Merged

feat: auto-refresh on job history page#27
eclectic-coding merged 2 commits into
mainfrom
feat/history-auto-refresh

Conversation

@eclectic-coding
Copy link
Copy Markdown
Owner

Summary

  • Wraps the Job History page in a turbo-frame (history-table) with the existing refresh Stimulus controller at a 10-second interval
  • Matches the behaviour of the Jobs and Processes pages — pauses when the browser tab is hidden, resumes with an immediate tick when the tab becomes visible again
  • Two-line change to the view; no new JS, no new CSS

Test plan

  • bundle exec rake passes (146 examples, 0 failures, 100% coverage)
  • /jobs/history table updates automatically every 10 seconds
  • Switching to another browser tab pauses refresh; switching back triggers an immediate refresh

🤖 Generated with Claude Code

eclectic-coding and others added 2 commits May 20, 2026 08:01
Wraps the history page in a turbo-frame (history-table) with the refresh
Stimulus controller at a 10s interval, matching the jobs and processes pages.
Refresh pauses when the tab is hidden and resumes with an immediate tick
when the tab becomes visible again.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eclectic-coding eclectic-coding merged commit 706c7e1 into main May 20, 2026
5 checks passed
@eclectic-coding eclectic-coding deleted the feat/history-auto-refresh branch May 20, 2026 12:06
@codecov
Copy link
Copy Markdown

codecov Bot commented May 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (9a95066) to head (26ee9d2).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #27   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           16        16           
  Lines          264       264           
=========================================
  Hits           264       264           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant