Skip to content

chore: consolidate ManageSettingsLayout code #14885

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 17 commits into from
Oct 3, 2024
Prev Previous commit
Next Next commit
wow
  • Loading branch information
aslilac committed Oct 3, 2024
commit 6fea1beeb1196d54db3d6ae76172b2b36efe4ef8
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
import type { Meta, StoryObj } from "@storybook/react";
import { reactRouterParameters } from "storybook-addon-remix-react-router";
import { MockDefaultOrganization, MockUser } from "testHelpers/entities";
import { withAuthProvider, withDashboardProvider } from "testHelpers/storybook";
import {
withAuthProvider,
withDashboardProvider,
withManagementSettingsProvider,
} from "testHelpers/storybook";
import OrganizationSettingsPage from "./OrganizationSettingsPage";

const meta: Meta<typeof OrganizationSettingsPage> = {
title: "pages/OrganizationSettingsPage",
component: OrganizationSettingsPage,
decorators: [withAuthProvider, withDashboardProvider],
decorators: [
withAuthProvider,
withDashboardProvider,
withManagementSettingsProvider,
],
parameters: {
showOrganizations: true,
user: MockUser,
features: ["multiple_organizations"],
permissions: { viewDeploymentValues: true },
queries: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const meta: Meta<typeof OrganizationSettingsPageView> = {
title: "pages/OrganizationSettingsPageView",
component: OrganizationSettingsPageView,
parameters: { chromatic },
decorators: [withManagementSettingsProvider],
args: {
organization: MockOrganization,
},
Expand Down
Loading