diff --git a/components/backlog/backlog-card.tsx b/components/backlog/backlog-card.tsx index 7a93910..a77c28a 100644 --- a/components/backlog/backlog-card.tsx +++ b/components/backlog/backlog-card.tsx @@ -3,6 +3,7 @@ import { forwardRef } from 'react' import { cn } from '@/lib/utils' import { CodeBadge } from '@/components/shared/code-badge' +import { debugProps } from '@/lib/debug' export const PRIORITY_BORDER: Record = { 1: 'border-l-4 border-l-priority-critical', @@ -38,6 +39,7 @@ export const BacklogCard = forwardRef(function className, )} {...rest} + {...debugProps('backlog-card', 'BacklogCard', 'components/backlog/backlog-card.tsx')} >

{title}

diff --git a/components/backlog/empty-panel.tsx b/components/backlog/empty-panel.tsx index e48f688..9fdec7b 100644 --- a/components/backlog/empty-panel.tsx +++ b/components/backlog/empty-panel.tsx @@ -2,6 +2,7 @@ import { Button } from '@/components/ui/button' import { DemoTooltip } from '@/components/shared/demo-tooltip' +import { debugProps } from '@/lib/debug' interface EmptyPanelProps { title?: string @@ -15,7 +16,7 @@ interface EmptyPanelProps { export function EmptyPanel({ title, message, action }: EmptyPanelProps) { return ( -
+
{title &&

{title}

}

{message}

{action && ( diff --git a/components/backlog/pbi-dialog.tsx b/components/backlog/pbi-dialog.tsx index 0efbba3..ec079d7 100644 --- a/components/backlog/pbi-dialog.tsx +++ b/components/backlog/pbi-dialog.tsx @@ -27,6 +27,7 @@ import { } from '@/components/shared/entity-dialog-layout' import { createPbiAction, updatePbiAction } from '@/actions/pbis' import type { PbiStatusApi } from '@/lib/task-status' +import { debugProps } from '@/lib/debug' export interface PbiDialogPbi { id: string @@ -120,6 +121,7 @@ export function PbiDialog({ state, onClose, isDemo = false }: PbiDialogProps) { showCloseButton={false} onKeyDown={handleKeyDown} className={entityDialogContentClasses} + {...debugProps('pbi-dialog', 'PbiDialog', 'components/backlog/pbi-dialog.tsx')} >
diff --git a/components/backlog/pbi-list.tsx b/components/backlog/pbi-list.tsx index 588e0b0..f16e468 100644 --- a/components/backlog/pbi-list.tsx +++ b/components/backlog/pbi-list.tsx @@ -31,6 +31,7 @@ import { useBacklogStore } from '@/stores/backlog-store' import { deletePbiAction } from '@/actions/pbis' import { reorderPbisAction, updatePbiPriorityAction } from '@/actions/stories' import { cn } from '@/lib/utils' +import { debugProps } from '@/lib/debug' import { PbiDialog, type PbiDialogState } from './pbi-dialog' import { BacklogCard } from './backlog-card' import { EmptyPanel } from './empty-panel' @@ -390,7 +391,7 @@ export function PbiList({ productId, isDemo }: PbiListProps) { const activePbi = activeDragId ? pbiMap[activeDragId] : null return ( -
+
{filterPriority !== 'all' && (