- Notifications
You must be signed in to change notification settings - Fork928
chore: refactor frontend to use workspace status directly#4361
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
330f2af
c38352d
7dc2ef2
56f927e
a363534
1992e08
5072691
d06c432
b9829b5
23c607e
5e10ddf
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
import { action } from "@storybook/addon-actions" | ||
import { Story } from "@storybook/react" | ||
import { DeleteButton, DisabledButton, StartButton, UpdateButton } from "./ActionCtas" | ||
import { DropdownButton, DropdownButtonProps } from "./DropdownButton" | ||
@@ -23,7 +22,7 @@ WithDropdown.args = { | ||
export const WithCancel = Template.bind({}) | ||
WithCancel.args = { | ||
primaryAction: <DisabledButtonworkspaceStatus="deleting" />, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Curious why we're no longer using the enum here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. The WorkspaceStatus type is defined by the backend now | ||
secondaryActions: [], | ||
canCancel: true, | ||
handleCancel: action("cancel"), | ||
Uh oh!
There was an error while loading.Please reload this page.