From f25918268078c50d1e2d822c6ccbace2d2a8e959 Mon Sep 17 00:00:00 2001 From: hlomzik Date: Thu, 27 Jun 2024 12:42:33 +0100 Subject: [PATCH] chore: LEAP-1192: Remove feat_front_dev_4008_quick_task_open_short (#6034) Flag is enabled for everyone Co-authored-by: hlomzik --- .../datamanager/src/components/MainView/DataView/Table.jsx | 6 +++--- web/libs/datamanager/src/utils/feature-flags.js | 6 ------ 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/web/libs/datamanager/src/components/MainView/DataView/Table.jsx b/web/libs/datamanager/src/components/MainView/DataView/Table.jsx index 5158733b038..4edd9ebc5a9 100644 --- a/web/libs/datamanager/src/components/MainView/DataView/Table.jsx +++ b/web/libs/datamanager/src/components/MainView/DataView/Table.jsx @@ -4,7 +4,7 @@ import { useCallback, useMemo } from "react"; import { FaQuestionCircle } from "react-icons/fa"; import { useShortcut } from "../../../sdk/hotkeys"; import { Block, Elem } from "../../../utils/bem"; -import { FF_DEV_2536, FF_DEV_4008, FF_LOPS_86, FF_OPTIC_2, isFF } from "../../../utils/feature-flags"; +import { FF_DEV_2536, FF_LOPS_86, FF_OPTIC_2, isFF } from "../../../utils/feature-flags"; import * as CellViews from "../../CellViews"; import { Icon } from "../../Common/Icon/Icon"; import { ImportButton } from "../../Common/SDKButtons"; @@ -325,7 +325,7 @@ export const DataView = injector( const task = dataStore.focusPrev(); - if (isFF(FF_DEV_4008)) getRoot(view).startLabeling(task); + getRoot(view).startLabeling(task); }); useShortcut("dm.focus-next", () => { @@ -333,7 +333,7 @@ export const DataView = injector( const task = dataStore.focusNext(); - if (isFF(FF_DEV_4008)) getRoot(view).startLabeling(task); + getRoot(view).startLabeling(task); }); useShortcut("dm.close-labeling", () => { diff --git a/web/libs/datamanager/src/utils/feature-flags.js b/web/libs/datamanager/src/utils/feature-flags.js index 9ade587f645..a626b1d6df4 100644 --- a/web/libs/datamanager/src/utils/feature-flags.js +++ b/web/libs/datamanager/src/utils/feature-flags.js @@ -34,12 +34,6 @@ export const FF_DEV_3873 = "fflag_feat_front_dev_3873_labeling_ui_improvements_s */ export const FF_DEV_3734 = "fflag_fix_front_dev_3734_hide_task_counter_131222_short"; -/** - * When navigating through tasks using shift+up/down hotkeys, select task automatically - * @link https://app.launchdarkly.com/default/production/features/feat_front_dev_4008_quick_task_open_short - */ -export const FF_DEV_4008 = "feat_front_dev_4008_quick_task_open_short"; - /** * Support for Datasets functionality. */