Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion frontend/module-federation.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export const moduleFederationConfig: ModuleFederationPluginOptions = {
// Legacy: Keep for backward compat with old Cloud UI
'./EmbeddedApp': './src/embedded-app.tsx',
'./injectApp': './src/inject-app.tsx',
'./connect-tiles': './src/components/pages/rp-connect/onboarding/connect-tiles.tsx',
'./config': './src/config.ts',
},

Expand Down
2 changes: 0 additions & 2 deletions frontend/src/components/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ export const BUILDER_API_KEY = '4abd0efa0759420b88149ada5c1eb216';

// By default, most feature flags will be false when there's no embedded mode on.
export const FEATURE_FLAGS = {
enableRpcnTiles: false,
enableRpcnTemplateGallery: false,
enableRpcnVisualEditor: false,
enableServerlessOnboardingWizard: false,
enableDataplaneObservabilityServerless: false,
enableDataplaneObservability: false,
enableNewPipelineLogs: false,
Expand Down
22 changes: 5 additions & 17 deletions frontend/src/components/layout/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,6 @@ function useShouldShowRefresh() {
const schemaCreateMatch = matchRoute({ to: '/schema-registry/create' });
const topicProduceRecordMatch = matchRoute({ to: '/topics/$topicName/produce-record' });
const secretsMatch = matchRoute({ to: '/secrets', fuzzy: false });
const connectWizardPagesMatch = matchRoute({ to: '/rp-connect/wizard' });
const getStartedApiMatch = matchRoute({ to: '/get-started/api' });

// matches acls
const aclDetailMatch = matchRoute({ to: '/security/acls/$aclName/details' });
Expand Down Expand Up @@ -235,13 +233,6 @@ function useShouldShowRefresh() {
if (userDetailMatch) {
return false;
}
if (connectWizardPagesMatch) {
return false;
}
if (getStartedApiMatch) {
return false;
}

return true;
}
function useShouldHideHeader() {
Expand All @@ -254,14 +245,11 @@ function useShouldHideHeader() {
matchRoute({ to: '/rp-connect/$pipelineId/edit' }) ||
matchRoute({ to: '/rp-connect/create' });

// Both flags are cloud-only (schema requires embedded mode).
// enablePipelineDiagrams: full new pipeline layout with diagrams.
// enableRpcnTiles: new tiles-based create flow embedded in legacy layout.
if (
isPipelineRoute &&
isEmbedded() &&
(isFeatureFlagEnabled('enablePipelineDiagrams') || isFeatureFlagEnabled('enableRpcnTiles'))
) {
/**
* Flag is cloud-only (schema requires embedded mode).
* enablePipelineDiagrams: full new pipeline layout with diagrams.
*/
if (isPipelineRoute && isEmbedded() && isFeatureFlagEnabled('enablePipelineDiagrams')) {
return true;
}

Expand Down
6 changes: 1 addition & 5 deletions frontend/src/components/pages/connect/overview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
TaskState,
TasksColumn,
} from './helper';
import { isEmbedded, isFeatureFlagEnabled, isServerless } from '../../../config';
import { isServerless } from '../../../config';
import { ListSecretScopesRequestSchema } from '../../../protogen/redpanda/api/dataplane/v1/secret_pb';
import { appGlobal } from '../../../state/app-global';
import { api, rpcnSecretManagerApi } from '../../../state/backend-api';
Expand All @@ -42,7 +42,6 @@ import SearchBar from '../../misc/search-bar';
import Section from '../../misc/section';
import Tabs, { type Tab } from '../../misc/tabs/tabs';
import { PageComponent, type PageInitHelper } from '../page';
import { PipelineListPage } from '../rp-connect/pipeline/list';
import RpConnectPipelinesList from '../rp-connect/pipelines-list';
import { RedpandaConnectIntro } from '../rp-connect/redpanda-connect-intro';

Expand Down Expand Up @@ -141,9 +140,6 @@ class KafkaConnectOverview extends PageComponent<{
}

render() {
if (isFeatureFlagEnabled('enableRpcnTiles') && isEmbedded()) {
return <PipelineListPage />;
}
if (this.props.isLoadingKafkaConnectors) {
return <WaitingRedpanda />;
}
Expand Down
286 changes: 0 additions & 286 deletions frontend/src/components/pages/overview/api-connect-wizard.tsx

This file was deleted.

Loading
Loading