Skip to content

armgit / burr

Public Imported from GitHub
0

Build applications that make decisions (chatbots, agents, simulations, etc...). Monitor, trace, persist, and execute on your own infrastructure.

Fixes fork links to have partition key

Stefan Krawczyk513b207a898e
diff --git a/telemetry/ui/src/components/routes/AppList.tsx b/telemetry/ui/src/components/routes/AppList.tsx
index ae16ef3d..af56f39d 100644
--- a/telemetry/ui/src/components/routes/AppList.tsx
+++ b/telemetry/ui/src/components/routes/AppList.tsx
@@ -117,7 +117,7 @@ const AppSubList = (props: {
<MdForkRight
className=" hover:scale-125 h-5 w-5 text-gray-600 "
onClick={(e) => {
- props.navigate(`/project/${props.projectId}/${forkID}`);
+ props.navigate(`/project/${props.projectId}/${app.partition_key}/${forkID}`);
e.stopPropagation();
}}
/>
diff --git a/telemetry/ui/src/components/routes/app/StepList.tsx b/telemetry/ui/src/components/routes/app/StepList.tsx
index 631ce157..4015dffa 100644
--- a/telemetry/ui/src/components/routes/app/StepList.tsx
+++ b/telemetry/ui/src/components/routes/app/StepList.tsx
@@ -262,8 +262,10 @@ const LinkSubTable = (props: {
<TableCell colSpan={1}>
<Icon className={`h-5 w-5 ${iconColor} `} />
</TableCell>
- <TableCell colSpan={1} className={` ${normalText} w-48 min-w-48 max-w-48 truncate`}>
- <Link to={`/project/${props.projectId}/${subApp.child.app_id}`}>
+ <TableCell colSpan={1} className={` ${normalText} w-48 min-w-48 max-w-48 truncate`}>
+ <Link
+ to={`/project/${props.projectId}/${subApp.child.partition_key}/${subApp.child.app_id}`}
+ >
<span className="hover:underline">{subApp.child.app_id}</span>
</Link>
</TableCell>
@@ -700,7 +702,9 @@ const ParentLink = (props: {
className="text-gray-500"
>
<div className="flex flex-row gap-1 items-center ">
- <Link to={`/project/${props.projectId}/${props.parentPointer.app_id}`}>
+ <Link
+ to={`/project/${props.projectId}/${props.parentPointer.partition_key}/${props.parentPointer.app_id}`}
+ >
<span className="hover:underline">{props.parentPointer.app_id}</span>
</Link>
<span>@</span>