Skip to content

ui,jobs: improve UI for cancel-requested, pause-requested, and revert-failed statuses on the jobs page #71963

@jocrl

Description

@jocrl

Is your feature request related to a problem? Please describe.
Currently, the three statuses cancel-requested, pause-requested, and revert-failed are present in the back end code (https://github.com/cockroachdb/cockroach/blob/master/pkg/jobs/jobs.go#L198), but are not enumerated or treated specially in the front end (https://github.com/cockroachdb/cockroach/blob/master/pkg/ui/workspaces/db-console/src/views/jobs/jobStatusOptions.ts#L27). This causes these statuses to have a blue coloring for their badge, even though another color would better convey meaning.

image

Describe the solution you'd like
Assuming that these statuses are real, I think the following would make sense?

  • cancel-requested: gray, same as cancelled
  • pause-requested: gray, same as paused
  • revert-failed: red, same as failed

@Annebirzin @kevin-v-ngo

Jira issue: CRDB-10868

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions