diff --git a/services/web/frontend/extracted-translations.json b/services/web/frontend/extracted-translations.json index 123ff8e190..cb1da29d7a 100644 --- a/services/web/frontend/extracted-translations.json +++ b/services/web/frontend/extracted-translations.json @@ -1301,6 +1301,7 @@ "project_files": "", "project_flagged_too_many_compiles": "", "project_has_too_many_files": "", + "project_history_list": "", "project_last_published_at": "", "project_layout_sharing_submission": "", "project_linked_to": "", diff --git a/services/web/frontend/js/features/editor-left-menu/components/editor-left-menu.tsx b/services/web/frontend/js/features/editor-left-menu/components/editor-left-menu.tsx index 40eed9e77e..183e4d1836 100644 --- a/services/web/frontend/js/features/editor-left-menu/components/editor-left-menu.tsx +++ b/services/web/frontend/js/features/editor-left-menu/components/editor-left-menu.tsx @@ -43,6 +43,7 @@ function EditorLeftMenu() { shown: leftMenuShown, })} id="left-menu" + data-testid="left-menu" > diff --git a/services/web/frontend/js/features/file-tree/components/file-tree-create/file-tree-modal-create-file-mode.tsx b/services/web/frontend/js/features/file-tree/components/file-tree-create/file-tree-modal-create-file-mode.tsx index 40a3d7ba9e..eb7e0466f4 100644 --- a/services/web/frontend/js/features/file-tree/components/file-tree-create/file-tree-modal-create-file-mode.tsx +++ b/services/web/frontend/js/features/file-tree/components/file-tree-create/file-tree-modal-create-file-mode.tsx @@ -2,7 +2,6 @@ import classnames from 'classnames' import { useFileTreeActionable } from '../../contexts/file-tree-actionable' import * as eventTracking from '../../../../infrastructure/event-tracking' import OLButton from '@/features/ui/components/ol/ol-button' -import MaterialIcon from '@/shared/components/material-icon' export default function FileTreeModalCreateFileMode({ mode, @@ -26,9 +25,8 @@ export default function FileTreeModalCreateFileMode({ variant="link" onClick={handleClick} className="modal-new-file-mode" + leadingIcon={icon} > - -   {label} diff --git a/services/web/frontend/js/features/history/components/change-list/change-list.tsx b/services/web/frontend/js/features/history/components/change-list/change-list.tsx index f072d24a57..0078cc2916 100644 --- a/services/web/frontend/js/features/history/components/change-list/change-list.tsx +++ b/services/web/frontend/js/features/history/components/change-list/change-list.tsx @@ -2,12 +2,14 @@ import ToggleSwitch from './toggle-switch' import AllHistoryList from './all-history-list' import LabelsList from './labels-list' import { useHistoryContext } from '../../context/history-context' +import { useTranslation } from 'react-i18next' function ChangeList() { const { labelsOnly, setLabelsOnly } = useHistoryContext() + const { t } = useTranslation() return ( -