Skip to content

Display all airflow task statuses using matching colors #347

Description

@helen-m-lin

Is your feature request related to a problem? Please describe.
There are a few statuses that have hard-coded colors in the Job Status page, e.g. running, success, failure.
It would be nice to display all airflow tasks with matching colors.

Describe the solution you'd like

  • Review the existing hard-coded colors for Job Status to see if they match the colors in Airflow:
Image
  • Update colors for all existing airflow task statuses

Describe alternatives you've considered
Do we want any additional statuses to be filter values available in the Job Status filter dropdown?

Additional context
Color display for job status in main Jobs table:

let customClass = cellData === 'success' ? 'table-success'
: cellData === 'failed' ? 'table-danger'
: cellData === 'running' ? 'table-info'
: cellData === 'queued' ? 'table-secondary'
: null;

Color display for job status in the Tasks modal:

modalTitleJobState.classList.add(
jobState === 'success' ? 'bg-success'
: jobState === 'failed' ? 'bg-danger'
: jobState === 'running' ? 'bg-info'
: 'bg-secondary'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions