UI control for "Jobs" to pare down output for several operations

Description

Add a component to track a job, it's status, and the logging associated with it. it will update the screen as the job progresses and allow for a configurable window of logging messages to be displayed. The color coding and icon will change as the job errors or completes.

job.start( 'This is my job to run' ); job.addLog( 'thing 1' ); job.addLog( 'thing 2' ); job.addLog( 'thing 4' ); job.complete();

Allow jobs to be nested to show the relationship of installing dependencies and starting servers which also includes installs, etc. Jobs can be used anywhere including task runners and commands.

job.start( 'Starting server' ); job.addLog( 'This is the server name' ); job.addWarnLog( 'Hey, don''t touch that dial' ); job.start( 'Installing CF Engine first' ); job.addLog( 'This was the version used' ); job.addLog( 'Yeah, we''re done' ); job.complete(); job.addLog( 'Aaand, we''re back!.' ); job.addErrorLog( 'I think we''re going to crash' ); job.error( 'Didn''t see that coming' );

Gliffy Diagrams

Activity

Show:

Brad Wood April 19, 2018 at 11:17 PM

This is implemented for package install, uninstall, and server start. We can add it anywhere we want, but it's probably a little overkill for simple commands with very few steps or very little output.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Components

Sentry

Created April 19, 2018 at 11:15 PM
Updated May 10, 2018 at 5:39 PM
Resolved April 19, 2018 at 11:15 PM