From 1ecd2ca65ab08a3e91435f16f58faebec1a97d69 Mon Sep 17 00:00:00 2001 From: Peter White <1788320+peterwhite@users.noreply.github.com> Date: Sat, 21 Nov 2026 10:11:45 +0100 Subject: [PATCH 01/14] Keep integration dependency errors inside their blocks (#4820) --- .../isolate-integration-dependency-errors.md | 5 ++++ .../Integration/IntegrationBlock.tsx | 29 +++++++++++++++---- .../DocumentView/Integration/render.ts | 3 ++ 3 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 .changeset/isolate-integration-dependency-errors.md diff --git a/.changeset/isolate-integration-dependency-errors.md b/.changeset/isolate-integration-dependency-errors.md new file mode 100644 index 000000000..dc2a3ed56 --- /dev/null +++ b/.changeset/isolate-integration-dependency-errors.md @@ -0,0 +1,5 @@ +--- +"gitbook": patch +--- + +Keep published pages available when an integration block needs its connection or settings checked. diff --git a/packages/gitbook/src/components/DocumentView/Integration/IntegrationBlock.tsx b/packages/gitbook/src/components/DocumentView/Integration/IntegrationBlock.tsx index aec09dd5d..ef05b6298 100644 --- a/packages/gitbook/src/components/DocumentView/Integration/IntegrationBlock.tsx +++ b/packages/gitbook/src/components/DocumentView/Integration/IntegrationBlock.tsx @@ -1,4 +1,5 @@ import type { DocumentBlockIntegration, RenderIntegrationUI } from '@gitbook/api'; +import { Icon } from '@gitbook/icons'; import { ContentKitOutput } from '@gitbook/react-contentkit'; import type { BlockProps } from '../Block'; @@ -53,6 +54,7 @@ export async function IntegrationBlock(props: BlockProps -
-                    Unexpected error with integration {block.data.integration}:{' '}
-                    {initialResponse.error.message}
-                
+