feat(storybook): complete UI coverage with Batches 26-30
- Batch 26 (Tracks List/Grid): added stories for row, grid, sort, toggle, skeleton, empty states.
- Batch 27 (Dashboard): added stories for ActivityGraph, TrackList widget.
- Batch 28 (Education): added stories for CourseCard, MyCoursesView, QuizModal, CertificateModal.
- Batch 29 (Inventory): added stories for EquipmentCard, InventoryView.
- Batch 30 (Seller/Live): added stories for SellerDashboardView, FlashSaleModal, LiveStreamDetailView, TipStreamerModal.
- Verified build and fixed AudioProvider/service dependencies.
2026-02-02 19:47:47 +00:00
|
|
|
import type { Meta, StoryObj } from '@storybook/react';
|
|
|
|
|
import { LiveStreamDetailView } from './LiveStreamDetailView';
|
|
|
|
|
import { ToastProvider } from '@/components/feedback/ToastProvider';
|
|
|
|
|
|
|
|
|
|
const meta = {
|
2026-02-05 13:20:06 +00:00
|
|
|
title: 'Components/Features/Live/LiveStreamDetailView',
|
feat(storybook): complete UI coverage with Batches 26-30
- Batch 26 (Tracks List/Grid): added stories for row, grid, sort, toggle, skeleton, empty states.
- Batch 27 (Dashboard): added stories for ActivityGraph, TrackList widget.
- Batch 28 (Education): added stories for CourseCard, MyCoursesView, QuizModal, CertificateModal.
- Batch 29 (Inventory): added stories for EquipmentCard, InventoryView.
- Batch 30 (Seller/Live): added stories for SellerDashboardView, FlashSaleModal, LiveStreamDetailView, TipStreamerModal.
- Verified build and fixed AudioProvider/service dependencies.
2026-02-02 19:47:47 +00:00
|
|
|
component: LiveStreamDetailView,
|
|
|
|
|
tags: ['autodocs'],
|
|
|
|
|
parameters: {
|
|
|
|
|
layout: 'fullscreen',
|
|
|
|
|
},
|
|
|
|
|
argTypes: {
|
|
|
|
|
onBack: { action: 'back' },
|
|
|
|
|
},
|
|
|
|
|
decorators: [
|
|
|
|
|
(Story) => (
|
|
|
|
|
<ToastProvider>
|
|
|
|
|
<Story />
|
|
|
|
|
</ToastProvider>
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
} satisfies Meta<typeof LiveStreamDetailView>;
|
|
|
|
|
|
|
|
|
|
export default meta;
|
|
|
|
|
type Story = StoryObj<typeof meta>;
|
|
|
|
|
|
|
|
|
|
export const Default: Story = {
|
|
|
|
|
args: {
|
|
|
|
|
streamId: 's1',
|
|
|
|
|
},
|
|
|
|
|
};
|