Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[2.0] Handle configured 'trim' values in dashboard #461
I'm opening this PR now to get some feedback on implementation.
Currently, Horizon allows you to configure how long recent and failed jobs are kept for statistical purposes before being trimmed (
The trouble with setting these currently is that the dashboard will always say
This is a first pass of making that label dynamic on the dashboard, by parsing the number of days or hours and displaying the message accordingly.
Note, I haven't compiled the CSS/JS assets.