Skip to content

Remove /add-systems config wizard page#8260

Open
adamsachs wants to merge 6 commits into
mainfrom
chore/remove-add-systems-wizard-page
Open

Remove /add-systems config wizard page#8260
adamsachs wants to merge 6 commits into
mainfrom
chore/remove-add-systems-wizard-page

Conversation

@adamsachs
Copy link
Copy Markdown
Contributor

@adamsachs adamsachs commented May 21, 2026

Ticket ENG-3404

Description Of Changes

Removes the unused config wizard page at /add-systems along with its AWS scanner and Okta scanner sub-steps. The wizard's only entry point was navigation that pointed to itself; single-system creation remains available via /add-systems/manual and the inline AddNewSystemModal, and bulk vendor add remains at /add-systems/multiple.

Screenshot showing page no longer present:
image

Code Changes

  • Deleted pages/add-systems/index.tsx
  • Deleted features/config-wizard/ (AddSystem, AuthenticateAwsForm, AuthenticateOktaForm, AuthenticateScanner, ConfigWizardWalkthrough, ScanResults, ScannerLoading, OrganizationInfoForm, slices, helpers, types)
  • Deleted Cypress specs config-wizard.cy.ts and config-wizard-plus.cy.ts
  • Removed ADD_SYSTEMS_ROUTE constant, the "Add systems" sidebar nav entry, and the "Add systems" home module card
  • Removed configWizardSlice registration from app/store.ts
  • Dropped the now-dead parent breadcrumb link on /add-systems/manual and /add-systems/multiple
  • Repointed the empty-datamap GetStarted button at /add-systems/multiple
  • Updated jest specs (nav-config.test.ts, tile-config.test.ts) to match the new nav/tile shape
  • Updated cypress specs (routes.cy.ts, systems.cy.ts, bulk-vendor-add.cy.ts, root-user-access.cy.ts) to drop wizard-dependent setup steps

Steps to Confirm

  1. Visit /add-systems — should 404
  2. Visit /add-systems/manual — single-system creation form still loads, breadcrumb shows "Add systems / New system" with "Add systems" no longer a link
  3. Visit /add-systems/multiple — bulk vendor add still loads, breadcrumb shows "Add systems / Choose vendors" with "Add systems" no longer a link
  4. On /systems, click the "Add system" / "Add new system" button — still routes to /add-systems/manual (or shows the Compass-enabled dropdown with manual + multiple options)
  5. Home dashboard no longer shows an "Add systems" module card
  6. "Data inventory" sidebar group no longer contains "Add systems"
  7. Empty-datamap Get Started modal still has a working "Add Systems" button (now goes to /add-systems/multiple)

Pre-Merge Checklist

  • Issue requirements met
  • All CI pipelines succeeded
  • CHANGELOG.md updated
    • Add a db-migration This indicates that a change includes a database migration label to the entry if your change includes a DB migration
    • Add a high-risk This issue suggests changes that have a high-probability of breaking existing code label to the entry if your change includes a high-risk change (i.e. potential for performance impact or unexpected regression) that should be flagged
    • Updates unreleased work already in Changelog, no new entry necessary
  • UX feedback:
    • All UX related changes have been reviewed by a designer
    • No UX review needed
  • Followup issues:
    • Followup issues created
    • No followup issues
  • Database migrations:
    • Ensure that your downrev is up to date with the latest revision on main
    • Ensure that your downgrade() migration is correct and works
      • If a downgrade migration is not possible for this change, please call this out in the PR description!
    • No migrations
  • Documentation:
    • Documentation complete, PR opened in fidesdocs
    • Documentation issue created in fidesdocs
    • If there are any new client scopes created as part of the pull request, remember to update public-facing documentation that references our scope registry
    • No documentation updates required

🤖 Generated with Claude Code

The wizard page at /add-systems (ConfigWizard) along with its AWS and
Okta scanner sub-steps is unused. Single-system creation is still
available via /add-systems/manual and the inline AddNewSystemModal;
bulk vendor add is still available at /add-systems/multiple.

- Delete pages/add-systems/index.tsx and the features/config-wizard/
  directory (AddSystem, AuthenticateAwsForm, AuthenticateOktaForm,
  AuthenticateScanner, ConfigWizardWalkthrough, ScanResults,
  ScannerLoading, OrganizationInfoForm, slices, helpers, types).
- Drop ADD_SYSTEMS_ROUTE constant, "Add systems" nav entry and home
  module card.
- Update breadcrumbs on /add-systems/manual and /add-systems/multiple
  to drop the now-dead parent link.
- Point the empty-datamap GetStarted button at /add-systems/multiple.
- Remove configWizardSlice from the redux store.
- Update jest + cypress specs (delete config-wizard*.cy.ts, drop wizard
  setup steps from bulk-vendor-add.cy.ts, routes.cy.ts, systems.cy.ts,
  root-user-access.cy.ts).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
fides-plus-nightly Ready Ready Preview, Comment May 25, 2026 2:44pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
fides-privacy-center Ignored Ignored May 25, 2026 2:44pm

Request Review

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@adamsachs adamsachs marked this pull request as ready for review May 21, 2026 20:21
@adamsachs adamsachs requested a review from a team as a code owner May 21, 2026 20:21
@adamsachs adamsachs requested review from lucanovera and removed request for a team May 21, 2026 20:21
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 21, 2026

Title Lines Statements Branches Functions
admin-ui Coverage: 11%
8.59% (4049/47125) 7.62% (2094/27480) 5.86% (813/13867)
fides-js Coverage: 78%
79.17% (1977/2497) 66.25% (1249/1885) 73.31% (349/476)
privacy-center Coverage: 88%
86.59% (517/597) 82.33% (247/300) 81.08% (90/111)

home.cy.ts no longer expects the "Add systems" home tile; nav-bar.cy.ts
and root-user-access.cy.ts no longer expect the "Add systems-nav-link"
sidebar entry.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ProtectedRoute uses findActiveNav to gate access; with no nav entry
covering the path, it pushes the user to "/". The "Add systems" sidebar
entry (path /add-systems) was previously the only match for the
/add-systems/manual and /add-systems/multiple subpaths via startsWith,
so removing it cut off access to both still-extant pages.

Add hidden NAV_CONFIG entries for the manual and bulk routes, scoped to
system:create, so the pages stay reachable without re-introducing a
visible sidebar item.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant