diff --git a/services/web/frontend/js/features/source-editor/components/editor-context-menu-feedback.tsx b/services/web/frontend/js/features/source-editor/components/editor-context-menu-feedback.tsx deleted file mode 100644 index 51473d242f..0000000000 --- a/services/web/frontend/js/features/source-editor/components/editor-context-menu-feedback.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import { FC, memo } from 'react' -import { useTranslation } from 'react-i18next' -import { - OLDropdownItem, - OLDropdownDivider, -} from '@/shared/components/ol/ol-dropdown-menu' -import DropdownListItem from '@/shared/components/dropdown/dropdown-list-item' -import SplitTestBadge from '@/shared/components/split-test-badge' -import { sendContextMenuEvent } from '../utils/context-menu-analytics' - -const FEEDBACK_FORM_URL = 'https://forms.gle/BsbNQeSwGKEwXpxTA' - -function handleClick() { - sendContextMenuEvent('menu-click', { - location: 'editor-context-menu', - item: 'give-feedback', - }) - window.open(FEEDBACK_FORM_URL, '_blank', 'noopener,noreferrer') -} - -export const EditorContextMenuFeedback: FC = memo( - function EditorContextMenuFeedback() { - const { t } = useTranslation() - - return ( - <> - - - - } - > - {t('give_feedback')} - - - - ) - } -) diff --git a/services/web/frontend/js/features/source-editor/components/editor-context-menu.tsx b/services/web/frontend/js/features/source-editor/components/editor-context-menu.tsx index 6807fd20c7..15f68e2283 100644 --- a/services/web/frontend/js/features/source-editor/components/editor-context-menu.tsx +++ b/services/web/frontend/js/features/source-editor/components/editor-context-menu.tsx @@ -15,7 +15,6 @@ import { contextMenuStateField } from '../extensions/context-menu' import { useFeatureFlag } from '@/shared/context/split-test-context' import { useContextMenuItems } from '../hooks/use-context-menu-items' import DropdownListItem from '@/shared/components/dropdown/dropdown-list-item' -import { EditorContextMenuFeedback } from './editor-context-menu-feedback' import { sendContextMenuEvent } from '../utils/context-menu-analytics' const EditorContextMenu: FC = () => { @@ -84,7 +83,6 @@ const EditorContextMenuContent: FC = memo(function EditorContextMenuContent() { ))} -