Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

feat: LSDV-4708: Removed FF_DEV_1170 outliner feature flag and corresponding components #178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/components/Label/Label.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -96,8 +95,6 @@ export const Labeling = injector(observer(({
window.dispatchEvent(new Event("resize"));
}, []);

const outlinerEnabled = isFF(FF_DEV_1170);

return (
<Block name="label-view" mod={{ loading }}>
{SDK.interfaceEnabled("labelingHeader") && (
Expand Down Expand Up @@ -134,7 +131,6 @@ export const Labeling = injector(observer(({
id="label-studio-dm"
name="lsf-container"
key="label-studio"
mod={{ outliner: outlinerEnabled }}
/>
</Elem>
</Elem>
Expand Down
5 changes: 1 addition & 4 deletions src/components/Label/Label.styl
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,10 @@

& > div
--main-bg-color #FAFAFA

height 100%
flex 1
height auto

&_outliner > div
height 100%

&__lsf-toolbar
height 50px

Expand Down
5 changes: 0 additions & 5 deletions src/utils/feature-flags.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {};

Expand Down