feat(PBI-49): add debugProps to backlog/, sprint/, solo/ components

This commit is contained in:
Scrum4Me Agent 2026-05-09 20:57:56 +02:00
parent f555cb547b
commit 6c004ffc74
22 changed files with 50 additions and 18 deletions

View file

@ -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 (
<div className="p-8 text-center text-muted-foreground space-y-3">
<div className="p-8 text-center text-muted-foreground space-y-3" {...debugProps('empty-panel', 'EmptyPanel', 'components/backlog/empty-panel.tsx')}>
{title && <p className="text-sm font-medium text-foreground">{title}</p>}
<p className="text-sm">{message}</p>
{action && (