From 6775e785670a178a9417f46abd5d94f513dc2ba0 Mon Sep 17 00:00:00 2001
From: jdolle <1841898+jdolle@users.noreply.github.com>
Date: Fri, 7 Mar 2025 13:13:42 -0800
Subject: [PATCH 1/2] fix: show insight not found instead of loading
---
packages/web/app/src/pages/target-insights-operation.tsx | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/packages/web/app/src/pages/target-insights-operation.tsx b/packages/web/app/src/pages/target-insights-operation.tsx
index 5cef856c24..4c8cd49f46 100644
--- a/packages/web/app/src/pages/target-insights-operation.tsx
+++ b/packages/web/app/src/pages/target-insights-operation.tsx
@@ -33,7 +33,7 @@ function GraphQLOperationBody(props: {
return ;
}
- return
Loading...
;
+ return Operation not found.
;
}
const Operation_View_OperationBodyQuery = graphql(`
@@ -147,7 +147,11 @@ function OperationView({
)}
Operation body
-
+ {result.fetching ? (
+
Loading...
+ ) : (
+
+ )}
>
);
From dd371c9f251b3f08ccac8c8ccd9ed20822cea4b3 Mon Sep 17 00:00:00 2001
From: jdolle <1841898+jdolle@users.noreply.github.com>
Date: Fri, 7 Mar 2025 13:15:13 -0800
Subject: [PATCH 2/2] Changeset
---
.changeset/itchy-grapes-do.md | 5 +++++
1 file changed, 5 insertions(+)
create mode 100644 .changeset/itchy-grapes-do.md
diff --git a/.changeset/itchy-grapes-do.md b/.changeset/itchy-grapes-do.md
new file mode 100644
index 0000000000..398c5491d8
--- /dev/null
+++ b/.changeset/itchy-grapes-do.md
@@ -0,0 +1,5 @@
+---
+'hive': patch
+---
+
+Fix operation insights showing loading for missing operations