chore(core): remove outline viewer feature flag (#7770)

This commit is contained in:
L-Sun
2024-08-07 03:46:14 +00:00
parent aee24ffb31
commit f6279ee47f
5 changed files with 11 additions and 65 deletions
@@ -124,26 +124,6 @@ const SplitViewSettingRow = () => {
);
};
const OutlineViewerSettingRow = () => {
const { appSettings, updateSettings } = useAppSettingHelper();
const onToggle = useCallback(
(checked: boolean) => {
updateSettings('enableOutlineViewer', checked);
},
[updateSettings]
);
return (
<ExperimentalFeaturesItem
title="Outline Viewer"
checked={appSettings.enableOutlineViewer}
onChange={onToggle}
testId="outline-viewer-switch"
/>
);
};
// feature flag -> display name
const blocksuiteFeatureFlags: Partial<Record<keyof BlockSuiteFlags, string>> = {
enable_expand_database_block: 'Enable Expand Database Block',
@@ -198,7 +178,6 @@ const ExperimentalFeaturesMain = () => {
>
<SplitViewSettingRow />
<BlocksuiteFeatureFlagSettings />
<OutlineViewerSettingRow />
</div>
</>
);