feat: experimentation warehouse setup frontend#7543
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Docker builds report
|
|
@claude review once |
There was a problem hiding this comment.
Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.
Once credits are available, comment @claude review on this pull request to trigger a review.
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Failed testsfirefox › tests/environment-permission-test.pw.ts › Environment Permission Tests › Environment-level permissions control access to features, identities, and segments @enterprise |
Visual Regression19 screenshots compared. See report for details. |
|
@claude review-once |
1 similar comment
|
@claude review-once |
There was a problem hiding this comment.
An organization admin can view or raise the cap at claude.ai/admin-settings/claude-code. The cap resets at the start of the next billing period.
Once the cap resets or is raised, comment @claude review on this pull request to trigger a review.
| invalidatesTags: [{ id: 'LIST', type: 'WarehouseConnection' }], | ||
| query: ({ environmentId }) => ({ | ||
| method: 'DELETE', | ||
| url: `environments/${environmentId}/warehouse-connections/`, |
There was a problem hiding this comment.
Are we calling delete without ID of connection?
Thanks for submitting a PR! Please check the boxes below:
docs/if required so people know about the feature.Changes
Contributes to #7288
Adds the frontend for the Warehouse Connection feature (V1 — Flagsmith hosted type only) in Environment Settings.
New components:
WarehouseTab— tab content: shows a Setting toggle when no connection exists (with confirmation modal), renders connection cards when connections exist.WarehouseConnectionCard— collapsible card with status indicator (colour swatch + tooltip), delete button, and expandable body showing either SDK code snippets (pending) or stats (connected/errored).WarehouseEventCodeHelp— SDK code snippets for 11 languages with an enabled flag (only JavaScript and Python enabled for V1).WarehouseStats— displays last event received, total events, and unique events count. Shows a red warning icon and error message when the connection is in error state.Modified:
How did you test this code?
feat/experimentation-warehouse-setup