Files
supabase/apps/studio/components/interfaces/Database/Replication/DestinationPanel/DestinationPanel.constants.ts
T
Danny White b7638a7244 fix(studio): preserve pipeline wizard loading context and guidance (#52053)
## Problem

Opening the pipeline creation wizard hides the top bar and shows an
unrelated loading skeleton. Steps also lack their subtitles and
contextual documentation links from #49243.

## Solution

Keep the wizard header visible during access checks and redirects, with
a skeleton matching the initial destination selection. Restore all four
step subtitles and destination-specific Docs links on Connection. Link
Data to the current table-selection guidance.

| Before | After |
| --- | --- |
| <img width="1024" height="759" alt="31447"
src="https://github.com/user-attachments/assets/e628831a-f916-43c4-81a5-8e3219f6310b"
/> | <img width="1024" height="759" alt="New Pipeline Supabase"
src="https://github.com/user-attachments/assets/1cc5548a-c4a8-4d3f-ac4f-c6cde54920d1"
/> |
| <img width="1024" height="759" alt="New Pipeline Supabase"
src="https://github.com/user-attachments/assets/1ed91bf3-6b74-4e0b-a575-b3faeeffb1d5"
/> | <img width="1024" height="759" alt="30316"
src="https://github.com/user-attachments/assets/fbf2a703-d175-438c-be8c-0a11a921d2bc"
/> |

## Review instructions

1. Enable **Pipeline creation wizard** in Feature Previews. Open
`/project/<ref>/database/pipelines` and click **Add pipeline**, with
network throttling enabled. Confirm the top bar stays visible while the
destination skeleton loads.
2. Continue to Connection for each available destination. Confirm the
subtitle names that destination and **Docs** opens its setup guide.
3. Continue to Data. Confirm its subtitle and **Docs** link cover
publication and initial-sync selection. Review should also show its
subtitle.
4. While the initial screen loads, confirm **Close** returns to
Pipelines and the form footer is disabled.
2026-10-22 00:33:46 +00:00

10 lines
532 B
TypeScript

import type { FlowDestination } from './DestinationPanel.types'
export const DESTINATION_DOCS_PATHS: Record<FlowDestination, string> = {
BigQuery: '/guides/database/replication/pipelines/bigquery#configure-bigquery-as-a-destination',
ClickHouse:
'/guides/database/replication/pipelines/clickhouse#configure-clickhouse-as-a-destination',
DuckLake: '/guides/database/replication/pipelines/ducklake#choose-a-configuration-mode',
Snowflake: '/guides/database/replication/pipelines/snowflake#prepare-snowflake-resources',
}