--- task_id: sprint_4_story_1_task_1 story_id: sprint_4_story_1 sprint_id: sprint_4 status: not_started type: frontend assignee: Frontend Developer 1 created_date: 2025-11-05 estimated_hours: 4 --- # Task 1: Create Story Detail Page Route and Layout ## Description Create the Story detail page route at `app/(dashboard)/stories/[id]/page.tsx` with a two-column layout structure. This task establishes the foundational page structure that will be enhanced with components in subsequent tasks. ## What to Do 1. Create new directory: `app/(dashboard)/stories/[id]/` 2. Create page component: `page.tsx` 3. Copy layout structure from Epic detail page (`app/(dashboard)/epics/[id]/page.tsx`) 4. Implement two-column grid layout (main content + sidebar) 5. Add basic page wrapper and container 6. Set up TypeScript types and props 7. Test route accessibility **Key Changes from Epic Page**: - Route: `/stories/[id]` instead of `/epics/[id]` - Page title: "Story Detail" instead of "Epic Detail" - Breadcrumb: Add Story level in hierarchy - Prepare sections: Description, Acceptance Criteria (placeholder), Tasks (placeholder for Story 2) ## Files to Modify/Create - `app/(dashboard)/stories/[id]/page.tsx` (new, ~100 lines initial structure) ## Implementation Details ```typescript // app/(dashboard)/stories/[id]/page.tsx import { Suspense } from 'react'; import { notFound } from 'next/navigation'; import { Card } from '@/components/ui/card'; import { Skeleton } from '@/components/ui/skeleton'; interface StoryDetailPageProps { params: { id: string }; } export default function StoryDetailPage({ params }: StoryDetailPageProps) { return (