feat: create segment sources fake door modal - #8272
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdds Estimated code review effort: 3 (Moderate) | ~20 minutes Mergeability Score: ⚪ Minimal · up to This localized frontend change adds a feature-flagged segment-source choice modal while preserving the existing flow when the flag is off; no actionable merge-blocking risk remains beyond normal checks and review. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Docker builds report
|
There was a problem hiding this comment.
Actionable comments posted: 3
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 49e7a95b-1adf-464f-ad0e-9991a9dd5936
📒 Files selected for processing (4)
frontend/web/components/modals/CreateSegmentSourcesModal/CreateSegmentSourcesModal.tsxfrontend/web/components/modals/CreateSegmentSourcesModal/index.tsfrontend/web/components/pages/SegmentsPage.tsxfrontend/web/styles/project/_modals.scss
✅ private-cloud · depot-ubuntu-latest-16 — run #19284 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
🗂️ Previous results✅ private-cloud · depot-ubuntu-latest-arm-16 — run #19284 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #19284 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-16 — run #19284 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
✅ private-cloud · depot-ubuntu-latest-16 — run #19283 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #19283 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
✅ private-cloud · depot-ubuntu-latest-arm-16 — run #19283 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Skipped testsfirefox › tests/onboarding-tests.pw.ts › Onboarding › New user connects via the single-page onboarding flow @oss ✅ oss · depot-ubuntu-latest-16 — run #19283 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
✅ private-cloud · depot-ubuntu-latest-16 — run #19250 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
✅ private-cloud · depot-ubuntu-latest-arm-16 — run #19250 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #19250 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-16 — run #19250 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
|
Visual Regression19 screenshots compared. See report for details. |
fe9baf6 to
ddd6fe9
Compare
There was a problem hiding this comment.
Actionable comments posted: 3
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 9fb342c0-98b5-4eac-b26f-fb17ad913749
📒 Files selected for processing (3)
frontend/e2e/helpers/e2e-helpers.playwright.tsfrontend/web/components/modals/CreateSegmentSourcesModal/CreateSegmentSourcesModal.scssfrontend/web/components/modals/CreateSegmentSourcesModal/CreateSegmentSourcesModal.tsx
ddd6fe9 to
b8410be
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 7c36ae63-a84d-44b7-b124-c65e413ff82c
📒 Files selected for processing (3)
frontend/web/components/icons/Icon.tsxfrontend/web/components/modals/CreateSegmentSourcesModal/CreateSegmentSourcesModal.scssfrontend/web/components/modals/CreateSegmentSourcesModal/CreateSegmentSourcesModal.tsx
b8410be to
0aede04
Compare
Notify me and the feedback link fired onboarding funnel events carrying environment, organisation and project ids. That records that some organisation wants this and leaves nobody to reply to, so "we'll be in touch" was a promise we could not keep. They now also report where the other fake doors report, with the email and organisation name, matching the segment sources door in #8272. The funnel events stay as they were, since they are steps rather than signal. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
docs/if required so people know about the feature.Changes
Adds a "Create Segment" choice modal offering segment sources, gated behind the
create_segment_with_external_sourcesfeature flag (flag off: the button opens the existing drawer directly, unchanged).segment_source_clickedSDK event (source,email,organisationmetadata) and reveals a "Request access to the beta" button, which firessegment_source_beta_requested, disables itself, and thanks the user — same pattern as the Experiments fake door.How did you test this code?
Manually, against staging:
create_segment_with_external_sourcesfor your organisation.segment_source_clickedfires with the rightsource.segment_source_beta_requestedfires, button disables with a thank-you message; selecting another source re-enables it.