diff --git a/components/ideas/download-md-button.tsx b/components/ideas/download-md-button.tsx
index 6e1a255..8280f25 100644
--- a/components/ideas/download-md-button.tsx
+++ b/components/ideas/download-md-button.tsx
@@ -9,6 +9,7 @@ import { Download } from 'lucide-react'
import { toast } from 'sonner'
import { Button } from '@/components/ui/button'
+import { debugProps } from '@/lib/debug'
import { downloadIdeaMdAction } from '@/actions/ideas'
interface Props {
@@ -47,6 +48,7 @@ export function DownloadMdButton({ ideaId, kind, hasContent }: Props) {
onClick={handleClick}
disabled={pending || !hasContent}
title={hasContent ? `Download ${kind}_md` : 'Geen content'}
+ {...debugProps('download-md-button', 'DownloadMdButton', 'components/ideas/download-md-button.tsx')}
>
diff --git a/components/ideas/idea-pbi-link-card.tsx b/components/ideas/idea-pbi-link-card.tsx index 1d47854..d69f3d4 100644 --- a/components/ideas/idea-pbi-link-card.tsx +++ b/components/ideas/idea-pbi-link-card.tsx @@ -11,6 +11,7 @@ import { ExternalLink, Link2Off } from 'lucide-react' import { toast } from 'sonner' import { Button } from '@/components/ui/button' +import { debugProps } from '@/lib/debug' import { relinkIdeaPlanAction } from '@/actions/ideas' import type { IdeaDto } from '@/lib/idea-dto' @@ -27,7 +28,7 @@ export function IdeaPbiLinkCard({ idea, isDemo }: Props) { if (idea.pbi && idea.product_id) { return ( -
Gepland @@ -62,7 +63,7 @@ export function IdeaPbiLinkCard({ idea, isDemo }: Props) { } return ( -
diff --git a/components/ideas/idea-row-actions.tsx b/components/ideas/idea-row-actions.tsx index 769a6cd..98e8dd3 100644 --- a/components/ideas/idea-row-actions.tsx +++ b/components/ideas/idea-row-actions.tsx @@ -36,6 +36,7 @@ import { } from '@/components/ui/tooltip' import { DemoTooltip } from '@/components/shared/demo-tooltip' import { useSoloStore } from '@/stores/solo-store' +import { debugProps } from '@/lib/debug' import { startGrillJobAction, startMakePlanJobAction, @@ -134,7 +135,7 @@ export function IdeaRowActions({ idea, isDemo, onArchive }: IdeaRowActionsProps) } return ( -