From e5dde899cd1da1a178261e130e653dcb9508b985 Mon Sep 17 00:00:00 2001 From: Danny White <3104761+dnywh@users.noreply.github.com> Date: Wed, 30 Sep 2026 09:11:19 +1000 Subject: [PATCH] fix(studio): stabilise pipeline header loading (#50964) ## Problem The pipeline detail header shifts slightly as its loading placeholders become text. - Resolves [DEPR-683](https://linear.app/supabase/issue/DEPR-683/reduce-layout-shift-in-pipeline-header-loading-states) ## Solution Match the breadcrumb, title, status, and destination placeholders to their loaded line heights. ## Review instructions 1. Open a pipeline detail page and reload it. Check that the header height stays steady as its data arrives. ## Checklist - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) ## Summary by CodeRabbit * **Style** * Increased the height of loading placeholders for replication pipeline status, breadcrumbs, page titles, and destination names. --- .../interfaces/Database/Replication/PipelineStatePill.tsx | 2 +- .../Database/Replication/ReplicationPipelineLayout.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/studio/components/interfaces/Database/Replication/PipelineStatePill.tsx b/apps/studio/components/interfaces/Database/Replication/PipelineStatePill.tsx index b5245b3ea66..3fe8b5e3faf 100644 --- a/apps/studio/components/interfaces/Database/Replication/PipelineStatePill.tsx +++ b/apps/studio/components/interfaces/Database/Replication/PipelineStatePill.tsx @@ -56,7 +56,7 @@ export const PipelineStatePill = ({ return ( Loading pipeline status - + ) } diff --git a/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineLayout.tsx b/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineLayout.tsx index eea85b96784..a4a00f9eca7 100644 --- a/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineLayout.tsx +++ b/apps/studio/components/interfaces/Database/Replication/ReplicationPipelineLayout.tsx @@ -234,7 +234,7 @@ export const ReplicationPipelineLayout = ({ children }: PropsWithChildren) => { {isPipelineLoading ? ( Loading pipeline - + ) : ( (pipeline?.destination_name ?? 'Pipeline') @@ -258,7 +258,7 @@ export const ReplicationPipelineLayout = ({ children }: PropsWithChildren) => { {isPipelineLoading ? ( - + Loading pipeline @@ -286,7 +286,7 @@ export const ReplicationPipelineLayout = ({ children }: PropsWithChildren) => { {isPipelineIdentityLoading ? ( Loading destination - + ) : ( {destinationType ?? pipeline?.destination_name ?? 'Unknown'}