-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dashboard for cron-style jobs #367
Conversation
cf45518
to
f383177
Compare
Hmm, the failed test seems like a fluke. I don't think this change should have made it time out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome! Thank you. I'm happy to merge this in right now...and I also left two comments that you're welcome to do now, or we can defer (I don't want perfection to be the enemy of good).
<%= link_to "All Jobs", root_path, class: ["nav-link", ("active" if current_page?(root_path))] %> | ||
</li> | ||
<li class="nav-item"> | ||
<%= link_to "Cron-style Jobs", cron_jobs_path, class: ["nav-link", ("active" if current_page?(root_path))] %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe "Cron Schedules"
@@ -102,5 +102,10 @@ def index | |||
end, | |||
} | |||
end | |||
|
|||
def cron_jobs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ideally this would be in its own controller: CronSchedulesController
.
Good suggestions! I didn't know which style you'd prefer, so I didn't create too many new files. I'll try to apply this changes either today or tomorrow. |
@aried3r Thank you so much for this! 🙌 |
Hey!
Since I'm still working on #359, I thought I could implement a very basic dashboard for cron-style jobs. Looks like this:
args
andset
are not being displayed since they could be procs.What do you think?