Tearing down of old Editor (File tree) (#31784)

* merging ide-redesign/components/file-tree into features/file-tree

* moving ide-redesign/contexts/settings-modal-context   to features/settings/contexts

* use-collapsible-file-tree.tsx → features/file-tree/hooks

* use-focus-on-setting.tsx → features/settings/hooks

* use-project-notification-preferences.ts → features/settings/hooks

* use-rail-overflow.tsx→ features/ide-react/hooks

* deleting use-switch-enable-new-editor-state.ts

* use-toolbar-menu-editor-commands.tsx → features/source-editor/hooks

* npm run extract-translations

* modifying the test to target correct buttons and removing a test for old component

* adding a test back and modifying it

* changing the test

GitOrigin-RevId: baa1e9a992c88b84313eea82161354d4958cf1ef
This commit is contained in:
Davinder Singh
2026-03-06 09:14:01 +00:00
committed by Copybot
parent 68b97f2c02
commit f27c99ea4b
41 changed files with 57 additions and 222 deletions
@@ -3,7 +3,7 @@ import RadioButtonSetting, { RadioOption } from '../radio-button-setting'
import {
NotificationLevel,
useProjectNotificationPreferences,
} from '../../../ide-redesign/hooks/use-project-notification-preferences'
} from '../../hooks/use-project-notification-preferences'
export default function ProjectNotificationsSetting() {
const { t } = useTranslation()
@@ -1,7 +1,7 @@
import MaterialIcon from '@/shared/components/material-icon'
import { Nav, NavLink, TabContainer, TabContent } from 'react-bootstrap'
import { SettingsEntry } from '../../ide-redesign/contexts/settings-modal-context'
import { SettingsEntry } from '../context/settings-modal-context'
import SettingsTabPane from './settings-tab-pane'
import BetaBadgeIcon from '@/shared/components/beta-badge-icon'
import OLTooltip from '@/shared/components/ol/ol-tooltip'
@@ -9,8 +9,8 @@ import { SettingsModalBody } from './settings-modal-body'
import {
SettingsModalProvider,
useSettingsModalContext,
} from '../../ide-redesign/contexts/settings-modal-context'
import useFocusOnSetting from '../../ide-redesign/hooks/use-focus-on-setting'
} from '../context/settings-modal-context'
import useFocusOnSetting from '../hooks/use-focus-on-setting'
const SettingsModalWrapper = () => {
return (
@@ -1,5 +1,5 @@
import { TabPane } from 'react-bootstrap'
import { SettingsTab } from '../../ide-redesign/contexts/settings-modal-context'
import { SettingsTab } from '../context/settings-modal-context'
import SettingsSection from './settings-section'
import { Fragment } from 'react'