From 8722e85138137b3ec8e613f6ac4a9e5bd6ed4aba Mon Sep 17 00:00:00 2001 From: Cezar Dascal Date: Fri, 27 Feb 2026 15:36:20 +0200 Subject: [PATCH 1/4] Remove step counter from benchmark wizard footer --- .../components/benchmark-wizard-footer.tsx | 6 --- packages/ui-components/src/index.ts | 1 - .../stories/wizard/step-counter.stories.tsx | 39 ------------------- .../src/stories/wizard/wizard.stories.tsx | 3 +- .../src/ui/step-counter/index.ts | 1 - .../src/ui/step-counter/step-counter.tsx | 30 -------------- 6 files changed, 1 insertion(+), 79 deletions(-) delete mode 100644 packages/ui-components/src/stories/wizard/step-counter.stories.tsx delete mode 100644 packages/ui-components/src/ui/step-counter/index.ts delete mode 100644 packages/ui-components/src/ui/step-counter/step-counter.tsx diff --git a/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx b/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx index fdbb695d2f..baa070d060 100644 --- a/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx +++ b/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx @@ -56,12 +56,6 @@ export const BenchmarkWizardFooter = ({ return ( <> - {currentStepResponse && ( - - )} ; - -export default meta; - -type Story = StoryObj; - -/** - * Default step counter showing "2/5" format - */ -export const Default: Story = {}; diff --git a/packages/ui-components/src/stories/wizard/wizard.stories.tsx b/packages/ui-components/src/stories/wizard/wizard.stories.tsx index e44ec2b548..9e61e4b12a 100644 --- a/packages/ui-components/src/stories/wizard/wizard.stories.tsx +++ b/packages/ui-components/src/stories/wizard/wizard.stories.tsx @@ -8,7 +8,6 @@ import { SelectForm, SelectOption, StepBody, - StepCounter, StepDescription, StepTitle, Wizard, @@ -400,7 +399,7 @@ const WizardExample = () => { ) : (
)} - + {/* <> */} diff --git a/packages/ui-components/src/ui/step-counter/index.ts b/packages/ui-components/src/ui/step-counter/index.ts deleted file mode 100644 index ca5ac7622c..0000000000 --- a/packages/ui-components/src/ui/step-counter/index.ts +++ /dev/null @@ -1 +0,0 @@ -export { StepCounter } from './step-counter'; diff --git a/packages/ui-components/src/ui/step-counter/step-counter.tsx b/packages/ui-components/src/ui/step-counter/step-counter.tsx deleted file mode 100644 index b2102dde0e..0000000000 --- a/packages/ui-components/src/ui/step-counter/step-counter.tsx +++ /dev/null @@ -1,30 +0,0 @@ -import * as React from 'react'; - -import { cn } from '../../lib/cn'; - -interface StepCounterProps extends React.HTMLAttributes { - current: number; - total: number; -} - -const StepCounter = React.forwardRef( - ({ className, current, total, ...props }, ref) => { - return ( -
- - {current}/{total} - -
- ); - }, -); -StepCounter.displayName = 'StepCounter'; - -export { StepCounter }; From 2b329f5cfbec8c1d4f4941480359931746542a07 Mon Sep 17 00:00:00 2001 From: Cezar Dascal Date: Fri, 27 Feb 2026 15:40:55 +0200 Subject: [PATCH 2/4] Remove unused import --- .../benchmark/components/benchmark-wizard-footer.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx b/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx index baa070d060..df31fff4bd 100644 --- a/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx +++ b/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx @@ -1,9 +1,4 @@ -import { - Button, - StepCounter, - WizardNext, - WizardPrevious, -} from '@openops/components/ui'; +import { Button, WizardNext, WizardPrevious } from '@openops/components/ui'; import { BenchmarkCreationResult, BenchmarkWizardStepResponse, From c7273100399a1dbab951589ebccdae3f24923363 Mon Sep 17 00:00:00 2001 From: Cezar Dascal Date: Fri, 27 Feb 2026 16:24:51 +0200 Subject: [PATCH 3/4] Remove comment --- packages/ui-components/src/stories/wizard/wizard.stories.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/ui-components/src/stories/wizard/wizard.stories.tsx b/packages/ui-components/src/stories/wizard/wizard.stories.tsx index 9e61e4b12a..f2c5756417 100644 --- a/packages/ui-components/src/stories/wizard/wizard.stories.tsx +++ b/packages/ui-components/src/stories/wizard/wizard.stories.tsx @@ -399,7 +399,6 @@ const WizardExample = () => { ) : (
)} - {/* <> */} From e849d7d24e8df63adda14bf2a69c65c9da62426c Mon Sep 17 00:00:00 2001 From: Cezar Dascal Date: Fri, 27 Feb 2026 20:09:55 +0200 Subject: [PATCH 4/4] Remove unused code --- .../benchmark/components/benchmark-wizard-footer.tsx | 7 +------ .../app/features/benchmark/components/benchmark-wizard.tsx | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx b/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx index d49a250478..30d8d58cfb 100644 --- a/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx +++ b/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard-footer.tsx @@ -6,10 +6,7 @@ import { WizardNext, WizardPrevious, } from '@openops/components/ui'; -import { - BenchmarkCreationResult, - BenchmarkWizardStepResponse, -} from '@openops/shared'; +import { BenchmarkCreationResult } from '@openops/shared'; import { t } from 'i18next'; import { WizardPhase } from '../use-benchmark-wizard-navigation'; @@ -17,7 +14,6 @@ import { ViewBenchmarkWorkflowsButton } from './view-benchmark-workflows-button' interface BenchmarkWizardFooterProps { wizardPhase: WizardPhase; - currentStepResponse: BenchmarkWizardStepResponse | null; benchmarkCreationResult: BenchmarkCreationResult | null; isNextDisabled: boolean; handleNextFromInitial: () => Promise; @@ -28,7 +24,6 @@ interface BenchmarkWizardFooterProps { export const BenchmarkWizardFooter = ({ wizardPhase, - currentStepResponse, benchmarkCreationResult, isNextDisabled, handleNextFromInitial, diff --git a/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard.tsx b/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard.tsx index fc69840822..14a737d04f 100644 --- a/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard.tsx +++ b/packages/react-ui/src/app/features/benchmark/components/benchmark-wizard.tsx @@ -157,7 +157,6 @@ export const BenchmarkWizard = ({