Skip to content

[RQ-4283] Remove API Client from legacy onboarding & workspace creation#81

Draft
Kanishkrawatt wants to merge 1 commit into
masterfrom
rq-4283-remove-api-client-onboarding
Draft

[RQ-4283] Remove API Client from legacy onboarding & workspace creation#81
Kanishkrawatt wants to merge 1 commit into
masterfrom
rq-4283-remove-api-client-onboarding

Conversation

@Kanishkrawatt

Copy link
Copy Markdown
Member

What & why

Jira: RQ-4283 (epic RQ-4191)

The API Client is now a separate standalone product, but the Interceptor app still surfaced it in onboarding and workspace creation — funneling users into creating local workspaces (which only ever held API Client files). Per epic RQ-4191, this removes all API Client touchpoints from those two flows so onboarding offers only Interceptor.

Changes

  • DesktopOnboardingModal / WelcomeCard — removed the "Start using API Client" welcome card (the expandable card with local-workspace create/open options) and the FOLDER_SELECTION local-workspace-creation step it fed into. Dropped the now-unused WorkspaceCreationProvider wrapper and the API-client hooks (useCreateDefaultLocalWorkspace, useOpenLocalWorkspace, LocalWorkspaceCreateOptions, redirectToApiClient). "Skip" now simply completes onboarding instead of creating a local API-Client workspace and redirecting into the API Client. Removed FOLDER_SELECTION from the OnboardingStep enum.
  • CreateWorkspaceModalOld — removed the entire "Local workspace" option ("only API client files are supported") and all its dead local-workspace creation code. The modal now creates team workspaces only, preventing local-workspace creation here.
  • personaRecommendationData — removed the dead "Test API endpoints → API Client" recommendation entry.

The welcome screen now shows a single option, "Intercept and Modify Web Traffic".

Verification

  • ESLint clean on all 5 changed files.
  • tsc --noEmit: no new type errors — the repo has a large pre-existing error baseline (1298); this branch has 2 fewer and none of them are in the changed onboarding files.
  • Grep sweep: no remaining api client / LocalWorkspaceCreateOptions / redirectToApiClient references in either flow.

Opened as a draft — I couldn't live-verify the onboarding UI (no running Interceptor build in this session). The "Skip completes onboarding" behavior is a deliberate choice worth a quick reviewer look.

🤖 Generated with Claude Code

… creation

The API Client is now a separate standalone product, but the Interceptor
app still surfaced it in onboarding and workspace creation, funneling
users into creating local workspaces (which only ever held API Client
files). Per epic RQ-4191, remove all API Client touchpoints from these
flows so onboarding offers only Interceptor:

- DesktopOnboardingModal / WelcomeCard: remove the "Start using API
  Client" welcome card (expandable local-workspace create/open options)
  and the FOLDER_SELECTION local-workspace-creation step it fed into;
  drop the now-unused WorkspaceCreationProvider wrapper and the hooks
  (useCreateDefaultLocalWorkspace / useOpenLocalWorkspace /
  LocalWorkspaceCreateOptions / redirectToApiClient). "Skip" now simply
  completes onboarding instead of creating a local API Client workspace
  and redirecting to the API Client. Drop FOLDER_SELECTION from the
  OnboardingStep enum.
- CreateWorkspaceModalOld: remove the entire "Local workspace" option
  ("only API client files are supported") and its dead local-workspace
  creation code — the modal now creates team workspaces only.
- personaRecommendationData: remove the dead "Test API endpoints ->
  API Client" recommendation entry.

Co-Authored-By: Claude Opus 4.8 (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