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
Display Script Results Instead of Job Logs #15983
Comments
Thanks for taking this up @abhi1693 |
Just wanted to confirm that this adds a new column for the "results" to the main jobs page. I'm trying to follow along and it looks like the results are only showing up here: I use the main jobs page the most to navigate all the various jobs and to view the results. looks like there are a couple of jobs tables and it took me a minute to figure out why I was not seeing the changes when I implemented the code proposed. |
@bitcollector1 we can't add a "result" column to the generic jobs list as not all jobs reference a result (those are only for scripts). |
NetBox version
v4.0.0
Feature type
Restore functionality back to the way it was prior to NetBox 4.0; so you can get a link back to the results, from the list of jobs.
Proposed functionality
From the list of completed jobs, provide link to the script "results" page instead of the jobs "logs" page.
Script Results: (right after the script runs)
Job Log: (Prior to NetBox 4.0 clicking on the "Name" would bring you to the results page. Now both "ID" and "Name" bring you to log page.
Use case
Restore functionality back to the way it was prior to NetBox 4.0; so you can get a link back to the results.
Change this link:
/core/jobs/41699/
to this:
/extras/scripts/results/41699/
It's much easier to read the results with all the formatting and color coding.
Database changes
No response
External dependencies
No response
The text was updated successfully, but these errors were encountered: