From 4e339ff1a175e0af393c0f4fd6140019f25d26e0 Mon Sep 17 00:00:00 2001 From: Alex Velez Date: Mon, 16 Mar 2026 11:17:05 -0500 Subject: [PATCH] Add draft_channels feature flag --- .../channelEdit/components/sidePanels/PublishSidePanel.vue | 4 +--- contentcuration/contentcuration/static/feature_flags.json | 5 +++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/contentcuration/contentcuration/frontend/channelEdit/components/sidePanels/PublishSidePanel.vue b/contentcuration/contentcuration/frontend/channelEdit/components/sidePanels/PublishSidePanel.vue index 6a591798c4..92c0ffaa39 100644 --- a/contentcuration/contentcuration/frontend/channelEdit/components/sidePanels/PublishSidePanel.vue +++ b/contentcuration/contentcuration/frontend/channelEdit/components/sidePanels/PublishSidePanel.vue @@ -264,9 +264,7 @@ return true; }); - const showDraftMode = computed(() => - hasFeatureEnabled.value(FeatureFlagKeys.test_dev_feature), - ); + const showDraftMode = computed(() => hasFeatureEnabled.value(FeatureFlagKeys.draft_channels)); const submitText = computed(() => { return mode.value === PublishModes.DRAFT ? saveDraft$() : publishAction$(); diff --git a/contentcuration/contentcuration/static/feature_flags.json b/contentcuration/contentcuration/static/feature_flags.json index 93653fae13..bebda215c8 100644 --- a/contentcuration/contentcuration/static/feature_flags.json +++ b/contentcuration/contentcuration/static/feature_flags.json @@ -18,6 +18,11 @@ "type": "boolean", "title":"Test Survey feature", "description": "Allow user access to Survey" + }, + "draft_channels": { + "type": "boolean", + "title": "Draft channels", + "description": "Allow users to publish draft channels" } }, "examples": [