From 034d717cea165f3d0a01162b3c8c70dc8d28f0d4 Mon Sep 17 00:00:00 2001 From: Aditya Vikram Singh <247195684+avs-io@users.noreply.github.com> Date: Thu, 10 Sep 2026 01:02:43 +0530 Subject: [PATCH] fix(dash): give workflow rework rows unique React keys Basename path can repeat across projects. Ranked rows are stateless, so path plus index is unique without merging counts or inventing ids. --- dash/src/components/WorkflowPanel.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dash/src/components/WorkflowPanel.tsx b/dash/src/components/WorkflowPanel.tsx index c5a6f2d4..c92cd91f 100644 --- a/dash/src/components/WorkflowPanel.tsx +++ b/dash/src/components/WorkflowPanel.tsx @@ -94,8 +94,11 @@ export function WorkflowPanel({ current }: { current: Current }) {
Most reworked
- {reworked.slice(0, 8).map((f) => ( -
+ {reworked.slice(0, 8).map((f, i) => ( + // Ranked summary rows are stateless. The payload only has basename + // `path`, which can repeat across projects, so path+index is unique + // without inventing an id or merging counts. +
{f.path}