Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Frontend Workspace Lifecycle - Cancel Build #233

Closed
Assignees
presleyp
Labels
siteArea: frontend dashboard
@misskniss

Description

@misskniss
  • show "Cancel action" button when workspaceStatus is starting, stopping, or deleting
  • show "Start workspace" and "Stop workspace" buttons when workspaceStatus is canceled or error
  • remove Retry button and related code (because we realized we need to allow the user to takeany action from an unknown state such as canceled or failed)
  • remove loading version of start and stop buttons
  • hook up api to cancel builds
  • test that build is canceled

Note: There is an endpoint in the API specifically for canceling.

Given I have clicked "Stop workspace",
When I click "Cancel action",
Then I see the status "Canceling action" and no action buttons.
Moments later, I see the status "Canceled action" and "Start workspace" and "Stop workspace" buttons.

Given I have clicked "Start workspace",
When I click "Cancel action",
Then I see the status "Canceling action" and no action buttons.
Moments later, I see the status "Canceled action" and "Start workspace" and "Stop workspace" buttons.

The same should be true for deletion but the UI doesn't expose a delete button yet. You can test it from the CLI, though, withcoder delete {workspaceName}.

Metadata

Metadata

Assignees

Labels

siteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp