I can see a more useful presentation of log information
So that I can manage running jobs (or developing jobs) more effectively.
Discussion
Currently, for long running jobs, the job log can get very, very long.
This makes the current UI not very effective, since a job with a long log takes over the screen.
In addition, the job log is not currently paged as it is for other apps that use jobs (e.g. HappyCows)
In this epic, we implement these changes:
Jobs will be paged as in HappyCows, though perhaps with a better user interface design, using the React Bootstrap Pagination Components instead of the current design.
On the main jobs table, the log output column will show the entire log output if and only if it is <= 10 lines. Otherwise, it will show the first 10 lines, and then there will be an additional line showing ... and a button or hyperlink marked [See entrire log] that takes the user to a new page: /admin/jobs/logs/:id where :id is the name of that job. On that page, the entire job log is shown. Probably the top row of the page can be the same view as the current job log, but then there is just a giant text area showing the first four columns of the jobs log like this:
But then there is just a giant text area showing the rest of the log.
There should also be a Back button to return the user to wherever they were before.
Acceptance Criteria
[x] When log output is less than ten lines, the entire output is displayed on the main jobs table
[x] When longer than 10 lines, a hyperlink redirects to a dedicated page that displays information about that job as well as the entire job log
See also: #141 which is related!
User Story
Discussion
Currently, for long running jobs, the job log can get very, very long.
This makes the current UI not very effective, since a job with a long log takes over the screen.
In addition, the job log is not currently paged as it is for other apps that use jobs (e.g. HappyCows)
In this epic, we implement these changes:
Jobs will be paged as in HappyCows, though perhaps with a better user interface design, using the React Bootstrap Pagination Components instead of the current design.
On the main jobs table, the log output column will show the entire log output if and only if it is <= 10 lines. Otherwise, it will show the first 10 lines, and then there will be an additional line showing
...
and a button or hyperlink marked[See entrire log]
that takes the user to a new page:/admin/jobs/logs/:id
where:id
is the name of that job. On that page, the entire job log is shown. Probably the top row of the page can be the same view as the current job log, but then there is just a giant text area showing the first four columns of the jobs log like this:But then there is just a giant text area showing the rest of the log.
There should also be a Back button to return the user to wherever they were before.
Acceptance Criteria