Skip to content

feat(misc): a/b test cloud prompt copy in create-nx-workspace#35039

Merged
FrozenPandaz merged 1 commit intomasterfrom
NXC-4113
Mar 27, 2026
Merged

feat(misc): a/b test cloud prompt copy in create-nx-workspace#35039
FrozenPandaz merged 1 commit intomasterfrom
NXC-4113

Conversation

@jaysoo
Copy link
Copy Markdown
Member

@jaysoo jaysoo commented Mar 27, 2026

Current Behavior

The cloud prompt in CNW is disabled (shouldShowCloudPrompt returns false). Users see no cloud prompt during workspace creation.

Expected Behavior

Re-enables the cloud prompt with 3 copy variants tied to the flow variant (NX_CNW_FLOW_VARIANT), using the existing A/B testing infrastructure:

  • Variant 0 (baseline): "Connect to Nx Cloud?"
  • Variant 1 (remote caching): "Enable remote caching to speed up builds and CI?"
  • Variant 2 (CI-first): "Speed up your CI with Nx Cloud?"

Each variant has a unique tracking code for measuring yes/skip/never rates. New variants emphasize concrete benefits (remote caching, CI speed), mention CI providers (GitHub, GitLab), and note free tier and 2-minute setup.

Also removes unused shouldShowCloudPrompt() function.

Screenshots

Variant 0 (current prompts):

cnw-variant-0

Variant 1 (remote cache to speed up builds, free for small teams):

image

Variant 2 (speed up CI, mention CI provides):

cnw-variant-2

Related Issue(s)

Closes NXC-4113

@jaysoo jaysoo requested a review from a team as a code owner March 27, 2026 14:41
@jaysoo jaysoo requested a review from leosvelperez March 27, 2026 14:41
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 27, 2026

Deploy Preview for nx-dev ready!

Name Link
🔨 Latest commit 3fdbe1b
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/69c698eeb15e660008b1265a
😎 Deploy Preview https://deploy-preview-35039--nx-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 27, 2026

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit 3fdbe1b
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/69c698eeaf2a8f000965b38f
😎 Deploy Preview https://deploy-preview-35039--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud bot commented Mar 27, 2026

View your CI Pipeline Execution ↗ for commit 3fdbe1b

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 10m 57s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 4s View ↗
nx-cloud record -- pnpm nx conformance:check ✅ Succeeded 7s View ↗
nx build workspace-plugin ✅ Succeeded 1m 52s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-27 15:06:14 UTC

## Current Behavior

The cloud prompt in CNW is disabled (shouldShowCloudPrompt returns false).
Users see no cloud prompt during workspace creation.

## Expected Behavior

Re-enables the cloud prompt with 3 copy variants tied to the flow variant
(NX_CNW_FLOW_VARIANT), using the existing A/B testing infrastructure:
- Variant 0 (baseline): "Connect to Nx Cloud?"
- Variant 1 (remote caching): "Enable remote caching to speed up builds and CI?"
- Variant 2 (CI-first): "Speed up your CI with Nx Cloud?"

Each variant has a unique tracking code for measuring yes/skip/never rates.
New variants emphasize concrete benefits (remote caching, CI speed),
mention CI providers (GitHub, GitLab), and note free tier and 2-minute setup.

Also removes unused shouldShowCloudPrompt() function.

## Related Issue(s)

Fixes NXC-4113
@FrozenPandaz FrozenPandaz merged commit cc6b5a3 into master Mar 27, 2026
23 checks passed
@FrozenPandaz FrozenPandaz deleted the NXC-4113 branch March 27, 2026 15:11
FrozenPandaz pushed a commit that referenced this pull request Mar 27, 2026
## Current Behavior

The cloud prompt in CNW is disabled (shouldShowCloudPrompt returns
false). Users see no cloud prompt during workspace creation.

## Expected Behavior

Re-enables the cloud prompt with 3 copy variants tied to the flow
variant (NX_CNW_FLOW_VARIANT), using the existing A/B testing
infrastructure:
- Variant 0 (baseline): "Connect to Nx Cloud?"
- Variant 1 (remote caching): "Enable remote caching to speed up builds
and CI?"
- Variant 2 (CI-first): "Speed up your CI with Nx Cloud?"

Each variant has a unique tracking code for measuring yes/skip/never
rates. New variants emphasize concrete benefits (remote caching, CI
speed), mention CI providers (GitHub, GitLab), and note free tier and
2-minute setup.

Also removes unused shouldShowCloudPrompt() function.

## Screenshots

Variant 0 (current prompts):

<img width="1392" height="935" alt="cnw-variant-0"
src="https://github.com/user-attachments/assets/38187e44-5c8f-41b1-b2d9-bdb0eead3f7d"
/>

Variant 1 (remote cache to speed up builds, free for small teams):

<img width="1392" height="939" alt="image"
src="https://github.com/user-attachments/assets/ba7ab127-c91e-4566-bae6-6f7fe797959e"
/>

Variant 2 (speed up CI, mention CI provides):

<img width="1392" height="935" alt="cnw-variant-2"
src="https://github.com/user-attachments/assets/05bc027a-dcc9-47c4-944c-35ca2fce2007"
/>

## Related Issue(s)

Closes NXC-4113

(cherry picked from commit cc6b5a3)
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants