2026-02-02 19:55:57 +00:00
|
|
|
import type { Meta, StoryObj } from '@storybook/react';
|
refactor(studio): ProjectsManager module, re-export, stories
- Module projects-manager: types, useProjectsManager, Header, FilterBar,
Card, AddCard, Empty, Skeleton, orchestrator ProjectsManager
- Re-export from studio/ProjectsManager.tsx
- Stories: Default, Loading (Skeleton), Empty; decorator min-h-layout-main
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-06 00:44:40 +00:00
|
|
|
import {
|
|
|
|
|
ProjectsManager,
|
|
|
|
|
ProjectsManagerSkeleton,
|
|
|
|
|
ProjectsManagerEmpty,
|
|
|
|
|
} from './projects-manager';
|
2026-02-02 19:55:57 +00:00
|
|
|
|
|
|
|
|
const meta = {
|
refactor(studio): ProjectsManager module, re-export, stories
- Module projects-manager: types, useProjectsManager, Header, FilterBar,
Card, AddCard, Empty, Skeleton, orchestrator ProjectsManager
- Re-export from studio/ProjectsManager.tsx
- Stories: Default, Loading (Skeleton), Empty; decorator min-h-layout-main
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-06 00:44:40 +00:00
|
|
|
title: 'Components/Features/Studio/ProjectsManager',
|
|
|
|
|
component: ProjectsManager,
|
|
|
|
|
tags: ['autodocs'],
|
|
|
|
|
decorators: [
|
|
|
|
|
(Story) => (
|
|
|
|
|
<div className="bg-kodo-background min-h-layout-main p-4">
|
|
|
|
|
<Story />
|
|
|
|
|
</div>
|
|
|
|
|
),
|
|
|
|
|
],
|
2026-02-02 19:55:57 +00:00
|
|
|
} satisfies Meta<typeof ProjectsManager>;
|
|
|
|
|
|
|
|
|
|
export default meta;
|
|
|
|
|
type Story = StoryObj<typeof meta>;
|
|
|
|
|
|
|
|
|
|
export const Default: Story = {};
|
refactor(studio): ProjectsManager module, re-export, stories
- Module projects-manager: types, useProjectsManager, Header, FilterBar,
Card, AddCard, Empty, Skeleton, orchestrator ProjectsManager
- Re-export from studio/ProjectsManager.tsx
- Stories: Default, Loading (Skeleton), Empty; decorator min-h-layout-main
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-06 00:44:40 +00:00
|
|
|
|
|
|
|
|
export const Loading: Story = {
|
|
|
|
|
render: () => <ProjectsManagerSkeleton />,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export const Empty: Story = {
|
|
|
|
|
render: () => <ProjectsManagerEmpty />,
|
|
|
|
|
};
|