feat(vin-decode): add solved/unsolved VIN list shortcut buttons
Add two header buttons on the VIN decode dashboard linking to the existing /vins list pre-filtered by success=true / success=false, carrying the current time-range window via the `from` param so the list matches the dashboard view. Shows actual VIN codes (not counts). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -109,6 +109,20 @@ export default async function VinDecodePage({
|
|||||||
>
|
>
|
||||||
VIN list →
|
VIN list →
|
||||||
</Link>
|
</Link>
|
||||||
|
<Link
|
||||||
|
href={`/projects/sase/vin-decode/vins?success=true&from=${encodeURIComponent(health.rangeStart.toISOString())}`}
|
||||||
|
className={buttonVariants({ variant: "outline", size: "sm" })}
|
||||||
|
title="Bu pencerede başarıyla çözülen VIN kodları"
|
||||||
|
>
|
||||||
|
✓ Çözülen VIN'ler
|
||||||
|
</Link>
|
||||||
|
<Link
|
||||||
|
href={`/projects/sase/vin-decode/vins?success=false&from=${encodeURIComponent(health.rangeStart.toISOString())}`}
|
||||||
|
className={buttonVariants({ variant: "outline", size: "sm" })}
|
||||||
|
title="Bu pencerede çözülemeyen VIN kodları"
|
||||||
|
>
|
||||||
|
✗ Çözülemeyen VIN'ler
|
||||||
|
</Link>
|
||||||
<Link
|
<Link
|
||||||
href="/projects/sase/vin-decode/business"
|
href="/projects/sase/vin-decode/business"
|
||||||
className={buttonVariants({ variant: "outline", size: "sm" })}
|
className={buttonVariants({ variant: "outline", size: "sm" })}
|
||||||
|
|||||||
Reference in New Issue
Block a user