diff --git a/services/web/frontend/js/features/ide-react/components/toolbar/change-layout-options.tsx b/services/web/frontend/js/features/ide-react/components/toolbar/change-layout-options.tsx index d324be7770..c661859c1b 100644 --- a/services/web/frontend/js/features/ide-react/components/toolbar/change-layout-options.tsx +++ b/services/web/frontend/js/features/ide-react/components/toolbar/change-layout-options.tsx @@ -17,7 +17,6 @@ import { Shortcut } from '@/shared/components/shortcut' import classNames from 'classnames' import { useEditorAnalytics } from '@/shared/hooks/use-editor-analytics' import { useFeatureFlag } from '@/shared/context/split-test-context' -import SplitTestBadge from '@/shared/components/split-test-badge' type LayoutOption = | 'sideBySide' @@ -193,13 +192,7 @@ export default function ChangeLayoutOptions() { active={focusMode} leadingIcon="crop_free" trailingIcon={ - - - {shortcuts.focusMode && } - + shortcuts.focusMode && } > {t('focus_mode')} diff --git a/services/web/frontend/js/features/ide-react/components/toolbar/toolbar.tsx b/services/web/frontend/js/features/ide-react/components/toolbar/toolbar.tsx index ab5b717f39..ece58fadf0 100644 --- a/services/web/frontend/js/features/ide-react/components/toolbar/toolbar.tsx +++ b/services/web/frontend/js/features/ide-react/components/toolbar/toolbar.tsx @@ -19,7 +19,6 @@ import { useFeatureFlag } from '@/shared/context/split-test-context' import useIsNetworkStalled from '@/features/ide-react/hooks/use-is-network-stalled' import OLIconButton from '@/shared/components/ol/ol-icon-button' import OLTooltip from '@/shared/components/ol/ol-tooltip' -import SplitTestBadge from '@/shared/components/split-test-badge' import OfflineIndicator from './offline-indicator' const [publishModalModules] = importOverleafModules('publishModalToolbarButton') @@ -73,12 +72,6 @@ export const Toolbar = () => {
-
- -
{showViewSwitcher && (
{ /> ))}
-
- -
) diff --git a/services/web/test/frontend/features/source-editor/components/tabs.spec.tsx b/services/web/test/frontend/features/source-editor/components/tabs.spec.tsx index 87641b3bb8..d054f9c019 100644 --- a/services/web/test/frontend/features/source-editor/components/tabs.spec.tsx +++ b/services/web/test/frontend/features/source-editor/components/tabs.spec.tsx @@ -1250,26 +1250,4 @@ describe('File Tabs', function () { ) }) }) - - describe('SplitTestBadge', function () { - it('renders the labs badge icon in the tabs container', function () { - cy.window().then(win => { - win.metaAttributesCache.set('ol-splitTestInfo', { - 'editor-tabs': { - phase: 'beta', - badgeInfo: { - url: '/beta/editor-tabs', - tooltipText: 'Editor tabs are in beta', - }, - }, - }) - }) - - mountTabs() - - cy.then(() => selectDoc(DOC_IDS.main)) - - cy.get('.editor-tabs-labs-icon').should('exist') - }) - }) })