Update auth, playlists, tracks, search, profile, dashboard, player, settings, and social features. Add e2e audit specs for all major pages. Update ESLint config, vitest config, and route configuration. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
32 lines
782 B
TypeScript
32 lines
782 B
TypeScript
import type { Meta, StoryObj } from '@storybook/react';
|
|
import { fn } from 'storybook/test';
|
|
import { LiveStreamDetailView } from './LiveStreamDetailView';
|
|
import { ToastProvider } from '@/components/feedback/ToastProvider';
|
|
|
|
const meta = {
|
|
title: 'Components/Features/Live/LiveStreamDetailView',
|
|
component: LiveStreamDetailView,
|
|
tags: ['autodocs'],
|
|
parameters: {
|
|
layout: 'fullscreen',
|
|
},
|
|
args: {
|
|
onBack: fn(),
|
|
},
|
|
decorators: [
|
|
(Story) => (
|
|
<ToastProvider>
|
|
<Story />
|
|
</ToastProvider>
|
|
),
|
|
],
|
|
} satisfies Meta<typeof LiveStreamDetailView>;
|
|
|
|
export default meta;
|
|
type Story = StoryObj<typeof meta>;
|
|
|
|
export const Default: Story = {
|
|
args: {
|
|
streamId: 's1',
|
|
},
|
|
};
|