diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page--dark.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page--dark.png index eff54e9dbb3cd..f998a067b9bb7 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page--dark.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page--dark.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page--light.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page--light.png index 437ff67116e58..bdc7b702121e2 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page--light.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page--light.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page-iff-legacy-sources--dark.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page-iff-legacy-sources--dark.png index ad471b379e81d..ba1a8e29cda5e 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page-iff-legacy-sources--dark.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page-iff-legacy-sources--dark.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page-iff-legacy-sources--light.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page-iff-legacy-sources--light.png index bf607bc414337..198a089bd0ce5 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page-iff-legacy-sources--light.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-landing-page-iff-legacy-sources--light.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-overview-page--dark.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-overview-page--dark.png index eff54e9dbb3cd..f998a067b9bb7 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-overview-page--dark.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-overview-page--dark.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-overview-page--light.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-overview-page--light.png index 437ff67116e58..bdc7b702121e2 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-overview-page--light.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-overview-page--light.png differ diff --git a/frontend/src/scenes/pipeline/NewButton.tsx b/frontend/src/scenes/pipeline/NewButton.tsx index 5727a9f93b02a..26db121494b52 100644 --- a/frontend/src/scenes/pipeline/NewButton.tsx +++ b/frontend/src/scenes/pipeline/NewButton.tsx @@ -6,15 +6,17 @@ import { PipelineStage } from '~/types' type NewButtonProps = { stage: PipelineStage + size?: 'xsmall' | 'small' | 'medium' | 'large' } -export function NewButton({ stage }: NewButtonProps): JSX.Element { +export function NewButton({ stage, size }: NewButtonProps): JSX.Element { return ( } + size={size} > New {stage} diff --git a/frontend/src/scenes/pipeline/Overview.tsx b/frontend/src/scenes/pipeline/Overview.tsx index 37be9276f686c..9010e6ba6402c 100644 --- a/frontend/src/scenes/pipeline/Overview.tsx +++ b/frontend/src/scenes/pipeline/Overview.tsx @@ -72,7 +72,7 @@ export function Overview(): JSX.Element { Send your data to destinations in real time or with batch exports. Only active Destinations are shown here. See all.

- + diff --git a/frontend/src/scenes/pipeline/destinations/Destinations.tsx b/frontend/src/scenes/pipeline/destinations/Destinations.tsx index 336f15ba90762..226e173f40eaa 100644 --- a/frontend/src/scenes/pipeline/destinations/Destinations.tsx +++ b/frontend/src/scenes/pipeline/destinations/Destinations.tsx @@ -51,8 +51,12 @@ export function Destinations(): JSX.Element { ) } +export type DestinationsTableProps = { + hideFeedback?: boolean + hideAddDestinationButton?: boolean +} -export function DestinationsTable(): JSX.Element { +export function DestinationsTable({ hideFeedback, hideAddDestinationButton }: DestinationsTableProps): JSX.Element { const { canConfigurePlugins, canEnableDestination } = useValues(pipelineAccessLogic) const { loading, filteredDestinations, destinations, hiddenDestinations } = useValues(pipelineDestinationsLogic) const { toggleNode, deleteNode } = useActions(pipelineDestinationsLogic) @@ -60,7 +64,7 @@ export function DestinationsTable(): JSX.Element { return (
- + setFilters({ search: e })} /> )} - openFeedbackDialog()}> - Can't find what you're looking for? - + {!hideFeedback ? ( + openFeedbackDialog()}> + Can't find what you're looking for? + + ) : null}
{typeof hideShowPaused !== 'boolean' && ( setFilters({ kind: e ?? null })} /> )} + {hideAddDestinationButton ? null : }
)