Skip to content

feat(workflow-builder-redesign): add workflow-builder-redesign feature flag foundation#9730

Open
bookwormsuf wants to merge 1 commit into
developfrom
feat/feature-flag-workflow-redesign
Open

feat(workflow-builder-redesign): add workflow-builder-redesign feature flag foundation#9730
bookwormsuf wants to merge 1 commit into
developfrom
feat/feature-flag-workflow-redesign

Conversation

@bookwormsuf

Copy link
Copy Markdown
Contributor

Problem

Part of FRM-2487 — PRD: FRM-2486.

The Workflow Builder Redesign ships incrementally across many PRs. Every
change must sit behind a single GrowthBook flag so it can be built and merged
into develop without affecting the live builder, and rolled out by admin
email. This PR lays that foundation.

Solution

Improvements:

  • Register the GrowthBook boolean flag workflow-builder-redesign in
    packages/shared/constants/feature-flags.ts.
  • Add a shared hook useIsWorkflowBuilderRedesign() in
    apps/frontend/.../create/workflow/hooks/ — the single source of truth every
    redesign seam reads from, so the flag can be retired from one place at rollout.

No consumers yet; this is flag plumbing only. The beta badge and first visible
seam from FRM-2487 follow in a later PR.

Breaking Changes

  • Yes - this PR contains breaking changes
  • No - this PR is backwards compatible

Flag defaults to OFF, so the workflow builder is unchanged until enabled.

Tests

  • pnpm build:frontend passes (tsc + vite) — flag constant typed, hook compiles
  • Flag OFF (default): useIsWorkflowBuilderRedesign() returns false, builder unchanged
  • Flag ON (window._growthbook.setForcedFeatures(new Map([['workflow-builder-redesign', true]]))): hook returns true

Deploy Notes

GrowthBook flag workflow-builder-redesign already created. No new env vars, scripts, or dependencies.

Register the workflow-builder-redesign GrowthBook flag and a shared
useIsWorkflowBuilderRedesign() hook as the gating foundation for the
Workflow Builder Redesign. No consumers yet; flag defaults to OFF.

Part of FRM-2487.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@bookwormsuf bookwormsuf requested a review from a team July 8, 2026 06:30
@linear-code

linear-code Bot commented Jul 8, 2026

Copy link
Copy Markdown

FRM-2487

@bookwormsuf bookwormsuf changed the title feat(workflow): add workflow-builder-redesign feature flag foundation feat(workflow-builder-redesign): add workflow-builder-redesign feature flag foundation Jul 8, 2026
scottheng96
scottheng96 previously approved these changes Jul 8, 2026
@mergify

mergify Bot commented Jul 8, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@scottheng96 scottheng96 dismissed their stale review July 8, 2026 10:12

accidental approval

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.

2 participants