Show a cancel button instead of a play button for running builds #3245
Zak Siddiqui opened 1 day ago

Description:

Motivation

In the build list, a build that is currently running is displayed with a play (▶) button next to it. This is misleading: a build that is already running cannot be started again, so the play action has no meaningful effect in this state. At the same time, the action a user most likely wants on a running build - cancel it - is not available directly from the list, forcing the user to open the build and cancel it from there. This costs extra clicks/time, particularly when a build needs to be stopped quickly (e.g. a build stuck in a loop, consuming resources, or producing an unwanted deployment).

Proposed Solution

For builds in the running state, replace the play button in the build list with a cancel button (/~icons-ver-1FBC4B93BC2C8A6097C5F3E3EC33150B.svg#cancel), which cancels the running build directly from the list. Ideally:

  • Show the cancel button only while the build is actually running (the same condition currently used to show the play button).
  • Prompt for confirmation before cancelling, or make the action obvious enough (consistent with how cancellation is handled elsewhere in the UI) to avoid accidental cancellation.
  • Keep the current play button behaviour for builds in states where starting/restarting is meaningful.
  • Update the button's tooltip to reflect the action ("Cancel the build") so the change is discoverable.
  • Robin Shen commented 15 hours ago

    The play button means to start new build, and it is irrevant to current running build.

  • Robin Shen changed state to 'Closed' 15 hours ago
    Previous Value Current Value
    Open
    Closed
1/1
Type
Enhancement
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-3245
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover