mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-21 07:14:11 +00:00
## Summary
Backport of #6246 to `rh-test` branch.
This PR cherry-picks commit d7a58a7a9b to
the `rh-test` branch with merge conflicts resolved.
### Conflicts Resolved
**GraphCanvas.vue:**
- Accepted incoming template structure changes (removed betaMenuEnabled
check, added workflow tabs)
- Added missing imports: TopbarBadges, WorkflowTabs, isNativeWindow
- Added showUI computed property
**cloudBadge.ts:**
- Deleted file (replaced by cloudBadges.ts plural)
**telemetry/types.ts:**
- Merged interface methods from both branches
- Accepted incoming event constant changes (app: prefix)
Original PR: #6246
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-6257-backport-rh-test-change-cloud-feature-flags-to-be-loaded-dynamically-at-runtime-rather--2966d73d365081a59daeeb6dfbbf2af5)
by [Unito](https://www.unito.io)
36 lines
851 B
TypeScript
36 lines
851 B
TypeScript
import { isCloud } from '@/platform/distribution/types'
|
|
|
|
import './clipspace'
|
|
import './contextMenuFilter'
|
|
import './dynamicPrompts'
|
|
import './editAttention'
|
|
import './electronAdapter'
|
|
import './groupNode'
|
|
import './groupNodeManage'
|
|
import './groupOptions'
|
|
import './load3d'
|
|
import './maskeditor'
|
|
import './nodeTemplates'
|
|
import './noteNode'
|
|
import './previewAny'
|
|
import './rerouteNode'
|
|
import './saveImageExtraOutput'
|
|
import './saveMesh'
|
|
import './selectionBorder'
|
|
import './simpleTouchSupport'
|
|
import './slotDefaults'
|
|
import './uploadAudio'
|
|
import './uploadImage'
|
|
import './webcamCapture'
|
|
import './widgetInputs'
|
|
|
|
// Cloud-only extensions - tree-shaken in OSS builds
|
|
if (isCloud) {
|
|
await import('./cloudRemoteConfig')
|
|
await import('./cloudBadges')
|
|
|
|
if (window.__CONFIG__?.subscription_required) {
|
|
await import('./cloudSubscription')
|
|
}
|
|
}
|