From cfe8573073ee83d4b42ce46e85c11038356d0739 Mon Sep 17 00:00:00 2001 From: Travis1282 Date: Thu, 27 Apr 2023 10:02:38 -0500 Subject: [PATCH] remove feature flag FF_DEV_1170 --- src/components/Label/Label.js | 4 ---- src/components/Label/Label.styl | 5 +---- src/utils/feature-flags.js | 5 ----- 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/components/Label/Label.js b/src/components/Label/Label.js index 942769f5..9e99ee2e 100644 --- a/src/components/Label/Label.js +++ b/src/components/Label/Label.js @@ -3,7 +3,6 @@ import { observer } from "mobx-react-lite"; import React, { useCallback, useEffect, useMemo, useRef } from "react"; import { FaCaretDown, FaChevronLeft, FaColumns } from "react-icons/fa"; import { Block, Elem } from "../../utils/bem"; -import { FF_DEV_1170, isFF } from "../../utils/feature-flags"; import { Button } from "../Common/Button/Button"; import { FieldsButton } from "../Common/FieldsButton"; import { Icon } from "../Common/Icon/Icon"; @@ -96,8 +95,6 @@ export const Labeling = injector(observer(({ window.dispatchEvent(new Event("resize")); }, []); - const outlinerEnabled = isFF(FF_DEV_1170); - return ( {SDK.interfaceEnabled("labelingHeader") && ( @@ -134,7 +131,6 @@ export const Labeling = injector(observer(({ id="label-studio-dm" name="lsf-container" key="label-studio" - mod={{ outliner: outlinerEnabled }} /> diff --git a/src/components/Label/Label.styl b/src/components/Label/Label.styl index e9a7bac1..8f1394a7 100644 --- a/src/components/Label/Label.styl +++ b/src/components/Label/Label.styl @@ -76,13 +76,10 @@ & > div --main-bg-color #FAFAFA - + height 100% flex 1 height auto - &_outliner > div - height 100% - &__lsf-toolbar height 50px diff --git a/src/utils/feature-flags.js b/src/utils/feature-flags.js index 9d514d73..959fe04b 100644 --- a/src/utils/feature-flags.js +++ b/src/utils/feature-flags.js @@ -52,11 +52,6 @@ export const FF_LOPS_12 = "fflag_feat_front_lops_12_label_ops_ui_short"; */ export const FF_LOPS_E_3 = "fflag_feat_all_lops_e_3_datasets_short"; -/** - * Fixes how presigned urls are generated and accessed to remove possibility of CORS errors. - */ -export const FF_LSDV_4711 = 'fflag_fix_all_lsdv_4711_cors_errors_accessing_task_data_short'; - // Customize flags const flags = {};