diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration--dark.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration--dark.png index 03ed3be76614d..0316290c3a9b9 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration--dark.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration--dark.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration--light.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration--light.png index e606a27b97dc7..381f9bbb26905 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration--light.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration--light.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-404--dark.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-404--dark.png index f5331e45a4b4b..d97aec0033540 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-404--dark.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-404--dark.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-404--light.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-404--light.png index 025a455dae129..62e6f859f1fbd 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-404--light.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-404--light.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-empty--dark.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-empty--dark.png index 917984d79bca1..08012184aa799 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-empty--dark.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-empty--dark.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-empty--light.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-empty--light.png index f91ed280d5bb8..9249c64f0f692 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-empty--light.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-configuration-empty--light.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs--dark.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs--dark.png index e093a5f53abdd..136f84278dc8a 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs--dark.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs--dark.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs--light.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs--light.png index ed4913123192c..7368dc0ba010a 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs--light.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs--light.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs-batch-export--dark.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs-batch-export--dark.png index f5331e45a4b4b..d97aec0033540 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs-batch-export--dark.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs-batch-export--dark.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs-batch-export--light.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs-batch-export--light.png index 025a455dae129..62e6f859f1fbd 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs-batch-export--light.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-logs-batch-export--light.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics--dark.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics--dark.png index 4be88bd92af87..70ea1bb798ba9 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics--dark.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics--dark.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics--light.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics--light.png index 5b608fc07d6f2..02f1bc4dbad13 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics--light.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics--light.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics-error-modal--dark.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics-error-modal--dark.png index 8d0040451649e..a8138e6185750 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics-error-modal--dark.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics-error-modal--dark.png differ diff --git a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics-error-modal--light.png b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics-error-modal--light.png index d703740037ac5..c69287d9e489c 100644 Binary files a/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics-error-modal--light.png and b/frontend/__snapshots__/scenes-app-pipeline--pipeline-app-metrics-error-modal--light.png differ diff --git a/frontend/src/scenes/pipeline/PipelineApp.tsx b/frontend/src/scenes/pipeline/PipelineApp.tsx index 9fbde65b93b8e..a93639f882af4 100644 --- a/frontend/src/scenes/pipeline/PipelineApp.tsx +++ b/frontend/src/scenes/pipeline/PipelineApp.tsx @@ -1,4 +1,5 @@ import { useValues } from 'kea' +import { ActivityLog } from 'lib/components/ActivityLog/ActivityLog' import { NotFound } from 'lib/components/NotFound' import { PageHeader } from 'lib/components/PageHeader' import { FEATURE_FLAGS } from 'lib/constants' @@ -9,7 +10,7 @@ import { PipelineAppLogs } from 'scenes/pipeline/PipelineAppLogs' import { SceneExport } from 'scenes/sceneTypes' import { urls } from 'scenes/urls' -import { PipelineAppKind, PipelineAppTab, PipelineTab } from '~/types' +import { ActivityScope, PipelineAppKind, PipelineAppTab, PipelineTab } from '~/types' import { PipelineAppConfiguration } from './PipelineAppConfiguration' import { pipelineAppLogic, PipelineAppLogicProps } from './pipelineAppLogic' @@ -65,6 +66,7 @@ export function PipelineApp(params: { kindTab?: string; id?: string } = {}): JSX [PipelineAppTab.Configuration]: , [PipelineAppTab.Metrics]: , [PipelineAppTab.Logs]: , + [PipelineAppTab.History]: , } return ( diff --git a/frontend/src/scenes/pipeline/pipelineAppLogic.tsx b/frontend/src/scenes/pipeline/pipelineAppLogic.tsx index fa635fb146f8e..92c12a677d740 100644 --- a/frontend/src/scenes/pipeline/pipelineAppLogic.tsx +++ b/frontend/src/scenes/pipeline/pipelineAppLogic.tsx @@ -68,6 +68,16 @@ export const pipelineAppLogic = kea([ return pluginConfigsLoading || pluginsLoading }, ], + tabs: [ + (s) => [s.appBackend], + (appBackend) => { + if (appBackend === PipelineAppBackend.BatchExport) { + return Object.values(PipelineAppTab).filter((t) => t !== PipelineAppTab.History) + } + + return Object.values(PipelineAppTab) + }, + ], maybePluginConfig: [ (s, p) => [s.pluginConfigs, s.appBackend, p.id], (pluginConfigs, appBackend, maybePluginConfigId): PluginConfigTypeNew | null => { diff --git a/frontend/src/types.ts b/frontend/src/types.ts index a70ce538e12b2..89396df0c5114 100644 --- a/frontend/src/types.ts +++ b/frontend/src/types.ts @@ -542,6 +542,7 @@ export enum PipelineAppTab { Configuration = 'configuration', Logs = 'logs', Metrics = 'metrics', + History = 'history', } export enum ProgressStatus {