Skip to content

feat(onboarding): Gate SCM_PROJECT_DETAILS step with feature flag#113112

Draft
jaydgoss wants to merge 1 commit intojaygoss/fix-scm-onboarding-project-gapsfrom
jaygoss/vdy-82-gate-scm-project-details
Draft

feat(onboarding): Gate SCM_PROJECT_DETAILS step with feature flag#113112
jaydgoss wants to merge 1 commit intojaygoss/fix-scm-onboarding-project-gapsfrom
jaygoss/vdy-82-gate-scm-project-details

Conversation

@jaydgoss
Copy link
Copy Markdown
Member

@jaydgoss jaydgoss commented Apr 15, 2026

Gate the SCM_PROJECT_DETAILS step behind the onboarding-scm-project-details
feature flag to experiment with a shorter SCM onboarding flow.

When the flag is present, the flow is unchanged:
SCM_CONNECT -> SCM_PLATFORM_FEATURES -> SCM_PROJECT_DETAILS -> SETUP_DOCS

When the flag is absent, the project details step is skipped:
SCM_CONNECT -> SCM_PLATFORM_FEATURES -> SETUP_DOCS

In the skipped case, clicking Continue on the platform features step auto-creates
the project with defaults (platform key as name, first admin team, default alert
rules), sets createdProjectSlug in context so SETUP_DOCS can find it, and
passes selected features as query products. Also updates useBackActions to use
useExperiment since the hardcoded step ID no longer works when the step is removed.

The flag is not yet registered -- this is the client-side wiring only.

PR stack:

  • PR 1: Context refactor -- persist form state
  • PR 2: Gap fixes for SCM project creation
  • PR 3 (this): VDY-82 feature flag gating

Refs VDY-82

@linear-code
Copy link
Copy Markdown

linear-code bot commented Apr 15, 2026

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Apr 15, 2026
@jaydgoss jaydgoss force-pushed the jaygoss/fix-scm-onboarding-project-gaps branch from 397f062 to d3a87b1 Compare April 15, 2026 20:44
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from b9a7de6 to bdc7810 Compare April 15, 2026 20:44
@jaydgoss jaydgoss force-pushed the jaygoss/fix-scm-onboarding-project-gaps branch from d3a87b1 to a4e6b6a Compare April 15, 2026 20:48
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from bdc7810 to e8eb011 Compare April 15, 2026 20:48
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from e8eb011 to 20a64a3 Compare April 15, 2026 20:52
@jaydgoss jaydgoss force-pushed the jaygoss/fix-scm-onboarding-project-gaps branch from a4e6b6a to 444985a Compare April 15, 2026 21:18
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from 20a64a3 to 0811dd8 Compare April 15, 2026 21:18
@jaydgoss jaydgoss force-pushed the jaygoss/fix-scm-onboarding-project-gaps branch from 444985a to 5b45390 Compare April 15, 2026 21:21
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from 0811dd8 to eaa6308 Compare April 15, 2026 21:21
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from eaa6308 to 33d8aad Compare April 15, 2026 21:58
@jaydgoss jaydgoss force-pushed the jaygoss/fix-scm-onboarding-project-gaps branch from c67bae3 to d453e09 Compare April 15, 2026 22:41
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from 33d8aad to 764bb1b Compare April 15, 2026 22:41
@jaydgoss jaydgoss force-pushed the jaygoss/fix-scm-onboarding-project-gaps branch from d453e09 to 6579666 Compare April 15, 2026 22:46
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from 764bb1b to a94f546 Compare April 15, 2026 22:46
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from a94f546 to 2d887aa Compare April 15, 2026 22:48
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from 2d887aa to 4dd1f6b Compare April 15, 2026 22:52
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from 4dd1f6b to e5dad70 Compare April 15, 2026 22:54
@jaydgoss jaydgoss force-pushed the jaygoss/fix-scm-onboarding-project-gaps branch from 6579666 to 8d87891 Compare April 15, 2026 23:00
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from e5dad70 to 6061825 Compare April 15, 2026 23:00
@jaydgoss jaydgoss force-pushed the jaygoss/fix-scm-onboarding-project-gaps branch from 8d87891 to 3529183 Compare April 15, 2026 23:11
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from 6061825 to c0db079 Compare April 15, 2026 23:11
@jaydgoss jaydgoss force-pushed the jaygoss/fix-scm-onboarding-project-gaps branch from 3529183 to b349eb1 Compare April 15, 2026 23:13
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from c0db079 to 5dd3955 Compare April 15, 2026 23:14
@jaydgoss jaydgoss force-pushed the jaygoss/fix-scm-onboarding-project-gaps branch from b349eb1 to 07d66a1 Compare April 15, 2026 23:16
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from 5dd3955 to 37b69dc Compare April 15, 2026 23:16
@jaydgoss jaydgoss force-pushed the jaygoss/fix-scm-onboarding-project-gaps branch from 07d66a1 to 0c9ada8 Compare April 15, 2026 23:19
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from 37b69dc to b056a63 Compare April 15, 2026 23:20
@jaydgoss jaydgoss force-pushed the jaygoss/fix-scm-onboarding-project-gaps branch from 0c9ada8 to 1620994 Compare April 15, 2026 23:47
@jaydgoss jaydgoss force-pushed the jaygoss/vdy-82-gate-scm-project-details branch from b056a63 to 6c2b28a Compare April 15, 2026 23:47
@jaydgoss jaydgoss force-pushed the jaygoss/fix-scm-onboarding-project-gaps branch from 1620994 to c5646a5 Compare April 15, 2026 23:56
When `onboarding-scm-project-details` flag is absent, skip the project
details step and auto-create the project with defaults (platform key as
name, first admin team, default alert rules) during the platform
features Continue action.

Also update useBackActions to use useExperiment for the SCM context
preservation check, since the hardcoded step ID no longer works when
the step is removed.

Refs VDY-82
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant