Skip to content

[backport core/1.37] feat: add isCloud guard to team workspaces feature flag#8201

Merged
simula-r merged 1 commit intocore/1.37from
backport-8192-to-core-1.37
Jan 21, 2026
Merged

[backport core/1.37] feat: add isCloud guard to team workspaces feature flag#8201
simula-r merged 1 commit intocore/1.37from
backport-8192-to-core-1.37

Conversation

@simula-r
Copy link
Contributor

@simula-r simula-r commented Jan 21, 2026

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 by Unito

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>
@simula-r simula-r added the backport Backporting a PR onto a release candidate label Jan 21, 2026
@simula-r simula-r requested a review from a team as a code owner January 21, 2026 03:12
@simula-r simula-r added the backport Backporting a PR onto a release candidate label Jan 21, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 21, 2026

Important

Review skipped

Auto reviews are limited based on label configuration.

🚫 Review skipped — only excluded labels are configured. (1)
  • backport

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jan 21, 2026
@github-actions
Copy link

github-actions bot commented Jan 21, 2026

🎨 Storybook Build Status

Build completed successfully!

⏰ Completed at: 01/21/2026, 03:14:41 AM UTC

🔗 Links


🎉 Your Storybook is ready for review!

@github-actions
Copy link

github-actions bot commented Jan 21, 2026

🎭 Playwright Tests: ⚠️ Passed with flaky tests

Results: 504 passed, 0 failed, 1 flaky, 8 skipped (Total: 513)

❌ Failed Tests

📊 Browser Reports
  • chromium: View Report (✅ 494 / ❌ 0 / ⚠️ 0 / ⏭️ 8)
  • chromium-2x: View Report (✅ 2 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • chromium-0.5x: View Report (✅ 1 / ❌ 0 / ⚠️ 0 / ⏭️ 0)
  • mobile-chrome: View Report (✅ 7 / ❌ 0 / ⚠️ 1 / ⏭️ 0)

@simula-r simula-r merged commit 27d1565 into core/1.37 Jan 21, 2026
37 checks passed
@simula-r simula-r deleted the backport-8192-to-core-1.37 branch January 21, 2026 03:19
@simula-r simula-r added cloud/1.37 needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch labels Jan 21, 2026
simula-r added a commit that referenced this pull request Jan 22, 2026
…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>
simula-r added a commit that referenced this pull request Jan 22, 2026
…ure flag (#8229)

## Summary
- Backport of #8201 to cloud/1.37
- Adds isCloud guard to team workspaces feature flag

## Test plan
- [ ] Verify team workspaces feature flag only activates on cloud
environments

🤖 Generated with [Claude Code](https://claude.com/claude-code)

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-8229-backport-cloud-1-37-feat-add-isCloud-guard-to-team-workspaces-feature-flag-2f06d73d365081b18655fb82da53ff43)
by [Unito](https://www.unito.io)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Backporting a PR onto a release candidate needs-backport Fix/change that needs to be cherry-picked to the current feature freeze branch size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant