mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-20 06:44:32 +00:00
## Summary Enables the feedback button on nightly releases to collect user feedback and distinguish it from stable releases in Zendesk. ## Changes - Add distribution tracking to feedback URL (cloud/nightly/stable) - Export `getDistribution()` and `ZENDESK_FIELDS` from support config for reuse - Enable feedback button for both cloud and nightly builds - Track distribution in Zendesk as: `ccloud`, `oss-nightly`, or `oss` - Fix type signatures for `normalizeIndustry`/`normalizeUseCase` to accept `unknown` ## Requirements - [ ] Support team needs to add `oss-nightly` as a valid value for the distribution field in Zendesk ## Test plan - [ ] Build and run nightly version, verify feedback button appears - [ ] Click feedback button, verify Zendesk form opens with correct distribution parameter - [ ] Verify cloud builds still show feedback button as before - [ ] Verify stable OSS builds don't show feedback button ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8220-feat-enable-feedback-button-on-nightly-releases-2ef6d73d3650816db81ef970919770a4) by [Unito](https://www.unito.io)
50 lines
1.2 KiB
TypeScript
50 lines
1.2 KiB
TypeScript
import { isCloud, isNightly } from '@/platform/distribution/types'
|
|
|
|
import './clipspace'
|
|
import './contextMenuFilter'
|
|
import './customCombo'
|
|
import './dynamicPrompts'
|
|
import './editAttention'
|
|
import './electronAdapter'
|
|
import './groupNode'
|
|
import './groupNodeManage'
|
|
import './groupOptions'
|
|
import './imageCompare'
|
|
import './imageCrop'
|
|
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')
|
|
await import('./cloudSessionCookie')
|
|
|
|
if (window.__CONFIG__?.subscription_required) {
|
|
await import('./cloudSubscription')
|
|
}
|
|
}
|
|
|
|
// Feedback button for cloud and nightly builds
|
|
if (isCloud || isNightly) {
|
|
await import('./cloudFeedbackTopbarButton')
|
|
}
|
|
|
|
// Nightly-only extensions
|
|
if (isNightly && !isCloud) {
|
|
await import('./nightlyBadges')
|
|
}
|