Skip to content

feat: add extra workspace actions in the workspaces table #17775

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
May 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix stories
  • Loading branch information
BrunoQuaresma committed May 13, 2025
commit 139548c4731ab2073cebae09914a96094f8c484f
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,30 @@ import {
withDesktopViewport,
} from "testHelpers/storybook";
import { WorkspaceActions } from "./WorkspaceActions";
import { deploymentConfigQueryKey } from "api/queries/deployment";

const meta: Meta<typeof WorkspaceActions> = {
title: "pages/WorkspacePage/WorkspaceActions",
component: WorkspaceActions,
args: {
isUpdating: false,
permissions: {
deleteFailedWorkspace: true,
deploymentConfig: true,
readWorkspace: true,
updateWorkspace: true,
updateWorkspaceVersion: true,
},
},
decorators: [withDashboardProvider, withDesktopViewport, withAuthProvider],
parameters: {
user: Mocks.MockUserOwner,
queries: [
{
key: deploymentConfigQueryKey,
data: Mocks.MockDeploymentConfig,
},
],
},
};

Expand Down