feat: add isCloud guard to team workspaces feature flag#8192
Conversation
Ensures the team_workspaces_enabled feature flag only returns true when running in cloud environment, preventing the feature from activating in local/desktop installations. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🎨 Storybook Build Status✅ Build completed successfully! ⏰ Completed at: 01/21/2026, 12:08:24 AM UTC 🔗 Links🎉 Your Storybook is ready for review! |
🎭 Playwright Tests:
|
📝 WalkthroughWalkthroughAdds a cloud environment guard to the Changes
Sequence Diagram(s)(omitted — changes do not introduce a new multi-component control flow requiring visualization) Possibly related PRs
Suggested reviewers
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 |
Bundle Size ReportSummary
Category Glance Per-category breakdownApp Entry Points — 22.4 kB (baseline 22.4 kB) • ⚪ 0 BMain entry bundles and manifests
Status: 1 added / 1 removed Graph Workspace — 1.02 MB (baseline 1.02 MB) • ⚪ 0 BGraph editor runtime, canvas, workflow orchestration
Status: 1 added / 1 removed Views & Navigation — 80.7 kB (baseline 80.7 kB) • ⚪ 0 BTop-level views, pages, and routed surfaces
Status: 9 added / 9 removed Panels & Settings — 430 kB (baseline 430 kB) • ⚪ 0 BConfiguration panels, inspectors, and settings screens
Status: 8 added / 8 removed User & Accounts — 3.94 kB (baseline 3.94 kB) • ⚪ 0 BAuthentication, profile, and account management bundles
Status: 3 added / 3 removed Editors & Dialogs — 2.8 kB (baseline 2.8 kB) • ⚪ 0 BModals, dialogs, drawers, and in-app editors
Status: 2 added / 2 removed UI Components — 32.8 kB (baseline 32.8 kB) • ⚪ 0 BReusable component library chunks
Status: 5 added / 5 removed Data & Services — 3.04 MB (baseline 3.04 MB) • ⚪ 0 BStores, services, APIs, and repositories
Status: 7 added / 7 removed Utilities & Hooks — 18.8 kB (baseline 18.7 kB) • 🔴 +79 BHelpers, composables, and utility bundles
Status: 4 added / 4 removed Vendor & Third-Party — 10.4 MB (baseline 10.4 MB) • ⚪ 0 BExternal libraries and shared vendor chunks
Other — 6.25 MB (baseline 6.25 MB) • ⚪ 0 BBundles that do not match a named category
Status: 25 added / 25 removed |
🔧 Auto-fixes AppliedThis PR has been automatically updated to fix linting and formatting issues.
Changes made:
|
|
Ensures the team_workspaces_enabled feature flag only returns true when running in cloud environment, preventing the feature from activating in local/desktop installations. Backport of #8192 to core/1.37 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…re flag (#8201) ## Summary Backport of #8192 to core/1.37 - Ensures the team_workspaces_enabled feature flag only returns true when running in cloud environment - Prevents the feature from activating in local/desktop installations - Added team_workspaces_enabled type to RemoteConfig (required dependency for the feature) ## Conflict Resolution - **src/composables/useFeatureFlags.ts**: Added TEAM_WORKSPACES_ENABLED enum and teamWorkspacesEnabled getter with isCloud guard - **src/platform/assets/components/MediaAssetFilterBar.vue**: Accepted PR version with wrapper div and shorthand prop syntax - **src/platform/remoteConfig/types.ts**: Added team_workspaces_enabled type (required for TypeScript compilation) ## Test plan - Verify feature flag returns false when not in cloud environment - Verify feature flag works correctly in cloud environment ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8201-backport-core-1-37-feat-add-isCloud-guard-to-team-workspaces-feature-flag-2ef6d73d36508108be9acdeaf01b2da8) by [Unito](https://www.unito.io) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
…re flag (#8201) Backport of #8192 to core/1.37 - Ensures the team_workspaces_enabled feature flag only returns true when running in cloud environment - Prevents the feature from activating in local/desktop installations - Added team_workspaces_enabled type to RemoteConfig (required dependency for the feature) - **src/composables/useFeatureFlags.ts**: Added TEAM_WORKSPACES_ENABLED enum and teamWorkspacesEnabled getter with isCloud guard - **src/platform/assets/components/MediaAssetFilterBar.vue**: Accepted PR version with wrapper div and shorthand prop syntax - **src/platform/remoteConfig/types.ts**: Added team_workspaces_enabled type (required for TypeScript compilation) - Verify feature flag returns false when not in cloud environment - Verify feature flag works correctly in cloud environment ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8201-backport-core-1-37-feat-add-isCloud-guard-to-team-workspaces-feature-flag-2ef6d73d36508108be9acdeaf01b2da8) by [Unito](https://www.unito.io) Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Ensures the team_workspaces_enabled feature flag only returns true when running in cloud environment, preventing the feature from activating in local/desktop installations. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8192-feat-add-isCloud-guard-to-team-workspaces-feature-flag-2ee6d73d3650810bb1d7c1721ebcdd44) by [Unito](https://www.unito.io) --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com> Co-authored-by: GitHub Action <action@github.com>
Ensures the team_workspaces_enabled feature flag only returns true when running in cloud environment, preventing the feature from activating in local/desktop installations.
┆Issue is synchronized with this Notion page by Unito