Skip to content

Commit

Permalink
Remove config wizard stepper (#2553)
Browse files Browse the repository at this point in the history
  • Loading branch information
allisonking committed Feb 10, 2023
1 parent 272483f commit 80dafdf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 97 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ The types of changes are:
* New command `nox -s e2e_test` which will spin up the test environment and run true E2E Cypress tests against it [#2417](https://github.com/ethyca/fides/pull/2417)
* Cypress E2E tests now run in CI and are reported to Cypress Cloud [#2417](https://github.com/ethyca/fides/pull/2417)

### Removed

* Remove feature flagged config wizard stepper from Admin UI [#2553](https://github.com/ethyca/fides/pull/2553)

## [2.6.4](https://github.com/ethyca/fides/compare/2.6.3...2.6.4)

### Fixed
Expand Down
75 changes: 0 additions & 75 deletions clients/admin-ui/src/features/common/Stepper.tsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Box, Button, CloseSolidIcon, Divider, Stack } from "@fidesui/react";
import HorizontalStepper from "common/HorizontalStepper";
import Stepper from "common/Stepper";

import { useAppDispatch, useAppSelector } from "~/app/hooks";
import { useFeatures } from "~/features/common/features";
Expand All @@ -13,7 +12,6 @@ import AddSystem from "./AddSystem";
import AuthenticateScanner from "./AuthenticateScanner";
import {
changeReviewStep,
changeStep,
reset,
reviewManualSystem,
selectReviewStep,
Expand All @@ -22,7 +20,7 @@ import {
selectSystemsForReview,
setSystemInReview,
} from "./config-wizard.slice";
import { HORIZONTAL_STEPS, STEPS } from "./constants";
import { HORIZONTAL_STEPS } from "./constants";
import OrganizationInfoForm from "./OrganizationInfoForm";
import ScanResults from "./ScanResults";
import SuccessPage from "./SuccessPage";
Expand Down Expand Up @@ -68,20 +66,7 @@ const ConfigWizardWalkthrough = () => {
height="100vh"
width="100%"
>
<Box flexShrink={0}>
<Stepper
activeStep={step}
setActiveStep={(s) => dispatch(changeStep(s))}
steps={STEPS}
/>
</Box>
<Box
display="flex"
justifyContent={
features.flags.configWizardStepper ? undefined : "center"
}
w="100%"
>
<Box display="flex" justifyContent="center" w="100%">
{step === 1 ? <OrganizationInfoForm /> : null}
{step === 2 ? <AddSystem /> : null}
{step === 3 ? <AuthenticateScanner /> : null}
Expand Down
5 changes: 0 additions & 5 deletions clients/admin-ui/src/flags.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
{
"configWizardStepper": {
"development": true,
"production": false,
"test": false
},
"privacyRequestsConfiguration": {
"development": true,
"test": false,
Expand Down

0 comments on commit 80dafdf

Please sign in to comment.