Repository navigation
Herdr panel: Crons last run stays on one line, summary counts every job - #315
Conversation
Reviewer's GuideImplementationUpdate both Crons views’ restCounts helpers to include jobs whose last run failed, keeping the summary consistent across panel and web.
Widen the panel’s last-run column and prevent wrapping so elapsed-time labels remain on one line.
UIRevise the panel recipe to describe the added last-run-failed summary count and the wider, non-wrapping last-run column.
DocumentationAdd upgrade notes for the Crons summary and panel last-run display fixes, including the instruction for panel users to recopy the mods.
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
What and why
Two defects in the Crons tab, seen in a real Herdr at the default panel width:
restCountsand gets the same fix, so both still say the same sentence.ago()produces is "59 min ago".RECIPE.mdand the "To 3.0.1" notes are updated. The Overview tab's "Everything else" line is unchanged: it only gets jobs that are paused or not run yet.How I checked it
Copied the mod into Herdr and opened the Crons tab with real data: the summary reads "On This Mac and m1: 1 last run failed, 12 healthy, 2 paused, 1 not run yet." under "2 of 18 jobs failing", and "27 min ago" sits on one line with the columns aligned. The name column is 16px narrower, so one long job name is now cut with an ellipsis.
herdr-app check herdr/tackroom/mods/tackroompasses.Ran the panel's and the web view's
restCountsin node on the same job mixes: identical strings.Not rendered: the web view with a job whose last run failed.
go test ./...andgo vet ./...passI can explain this change without an AI tool
Summary by Sourcery
Correct Crons summaries and per-machine last-run layout so all non-failing jobs are counted and timestamps remain aligned.
Bug Fixes:
Documentation:
Summary by CodeRabbit
Bug Fixes
Documentation