Skip to content

Commit

Permalink
chore: LEAP-1192: Remove feat_front_dev_4008_quick_task_open_short (H…
Browse files Browse the repository at this point in the history
…umanSignal#6034)

Flag is enabled for everyone

Co-authored-by: hlomzik <hlomzik@users.noreply.github.com>
  • Loading branch information
hlomzik and hlomzik authored Jun 27, 2024
1 parent 3edd785 commit f259182
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -325,15 +325,15 @@ 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", () => {
if (document.activeElement !== document.body) return;

const task = dataStore.focusNext();

if (isFF(FF_DEV_4008)) getRoot(view).startLabeling(task);
getRoot(view).startLabeling(task);
});

useShortcut("dm.close-labeling", () => {
Expand Down
6 changes: 0 additions & 6 deletions web/libs/datamanager/src/utils/feature-flags.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit f259182

Please sign in to comment.