diff --git a/services/web/modules/gitlab-sync/frontend/js/components/gitlab-sync-widget.tsx b/services/web/modules/gitlab-sync/frontend/js/components/gitlab-sync-widget.tsx index a609dd4de0..2ecb64ac62 100644 --- a/services/web/modules/gitlab-sync/frontend/js/components/gitlab-sync-widget.tsx +++ b/services/web/modules/gitlab-sync/frontend/js/components/gitlab-sync-widget.tsx @@ -12,7 +12,7 @@ import { OLModalHeader, OLModalTitle, } from '@/shared/components/ol/ol-modal' -import OLNotification from '@/shared/components/ol/ol-notification' +import Notification from '@/shared/components/notification' import GitLabLogo from '@/shared/svgs/gitlab-logo' export const GitLabSyncWidget = function GitLabSyncWidget() { @@ -89,14 +89,14 @@ export const GitLabSyncWidget = function GitLabSyncWidget() {

{isErrorConnCheck && ( - )} {isErrorUnlink && ( - diff --git a/services/web/modules/gitlab-sync/frontend/js/components/import-from-gitlab-menu.tsx b/services/web/modules/gitlab-sync/frontend/js/components/import-from-gitlab-menu.tsx index 72b1ef0409..f1682f9664 100644 --- a/services/web/modules/gitlab-sync/frontend/js/components/import-from-gitlab-menu.tsx +++ b/services/web/modules/gitlab-sync/frontend/js/components/import-from-gitlab-menu.tsx @@ -1,12 +1,12 @@ import React from 'react' import { useTranslation } from 'react-i18next' -import { DropdownItem } from '@/shared/components/dropdown/dropdown-menu' +import { OLDropdownItem } from '@/shared/components/ol/ol-dropdown-menu' export default function ImportFromGitLabMenu({ onClick }: { onClick: (e: React.MouseEvent) => void }) { const { t } = useTranslation() return ( - + {t('import_from_gitlab')} - + ) } \ No newline at end of file diff --git a/services/web/modules/gitlab-sync/frontend/js/components/import-from-gitlab-modal-wrapper.tsx b/services/web/modules/gitlab-sync/frontend/js/components/import-from-gitlab-modal-wrapper.tsx index 1694e842da..478a5d6be2 100644 --- a/services/web/modules/gitlab-sync/frontend/js/components/import-from-gitlab-modal-wrapper.tsx +++ b/services/web/modules/gitlab-sync/frontend/js/components/import-from-gitlab-modal-wrapper.tsx @@ -16,7 +16,7 @@ import { } from '@/shared/components/ol/ol-modal' import OLButton from '@/shared/components/ol/ol-button' import OLSpinner from '@/shared/components/ol/ol-spinner' -import OLNotification from '@/shared/components/ol/ol-notification' +import Notification from '@/shared/components/notification' type GitSyncRepo = { name: string @@ -103,7 +103,7 @@ function ImportFromGitLabModalContent({ handleHide }: { handleHide: () => void } {isError && (
- @@ -172,7 +172,7 @@ function ImportFromGitLabModalContent({ handleHide }: { handleHide: () => void } {isErrorImport && (
- diff --git a/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-cannot-export-modal.tsx b/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-cannot-export-modal.tsx index 8e09df8401..96e1b9fb97 100644 --- a/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-cannot-export-modal.tsx +++ b/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-cannot-export-modal.tsx @@ -1,5 +1,5 @@ import { useTranslation, Trans } from 'react-i18next' -import OLNotification from '@/shared/components/ol/ol-notification' +import Notification from '@/shared/components/notification' import { OLModalBody, OLModalFooter, @@ -7,7 +7,7 @@ import { import OLButton from '@/shared/components/ol/ol-button' import { ProjectSyncState } from '../../types/git-sync-types' -type GitSyncNeedPermissionModalProps = { +type GitSyncCannotExportModalProps = { projectSyncState: ProjectSyncState handleHide: () => void } @@ -17,7 +17,7 @@ const GitSyncCannotExportModal = ({ projectSyncState, handleHide }: GitSyncCanno return ( <> - { +}: GitSyncUnlinkModalProps) => { const { t } = useTranslation() const { @@ -55,12 +55,12 @@ const GitSyncUnlinkModal = ({
{!error ? ( - ) : ( - - diff --git a/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-export-modal.tsx b/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-export-modal.tsx index 0861500a27..d8f1fddd51 100644 --- a/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-export-modal.tsx +++ b/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-export-modal.tsx @@ -10,7 +10,7 @@ import { OLModalBody, OLModalFooter, } from '@/shared/components/ol/ol-modal' -import OLNotification from '@/shared/components/ol/ol-notification' +import Notification from '@/shared/components/notification' import OLButton from '@/shared/components/ol/ol-button' import OLForm from '@/shared/components/ol/ol-form' import OLFormGroup from '@/shared/components/ol/ol-form-group' @@ -89,14 +89,14 @@ const GitSyncExportModal = ({

{t('project_not_linked_to_gitlab')}

{error && ( - )} {errorUserAndOrgs && ( - diff --git a/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-loading-modal.tsx b/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-loading-modal.tsx index 6153864486..0450b21b35 100644 --- a/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-loading-modal.tsx +++ b/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-loading-modal.tsx @@ -4,7 +4,7 @@ import { OLModalFooter, } from '@/shared/components/ol/ol-modal' import OLButton from '@/shared/components/ol/ol-button' -import OLNotification from '@/shared/components/ol/ol-notification' +import Notification from '@/shared/components/notification' import { GitSyncModalStatus } from '../../types/git-sync-types' type GitSyncLoadingModalProps = { @@ -25,7 +25,7 @@ const GitSyncLoadingModal = ({ handleHide, setModalStatus, errorMessage }: GitSy
{errorMessage && ( - diff --git a/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-merge-modal.tsx b/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-merge-modal.tsx index b54dcf01c0..7ca7c177ae 100644 --- a/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-merge-modal.tsx +++ b/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-merge-modal.tsx @@ -9,7 +9,7 @@ import { OLModalFooter, } from '@/shared/components/ol/ol-modal' import OLButton from '@/shared/components/ol/ol-button' -import OLNotification from '@/shared/components/ol/ol-notification' +import Notification from '@/shared/components/notification' import { GitSyncModalStatus, ProjectSyncState } from '../../types/git-sync-types' import { useReferencesContext } from '@/features/ide-react/context/references-context' @@ -108,7 +108,7 @@ const GitSyncMergeModal = ({
{error && ( - diff --git a/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-merge-overview-modal.tsx b/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-merge-overview-modal.tsx index 8da3bfa8a2..2974b1f5a4 100644 --- a/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-merge-overview-modal.tsx +++ b/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-merge-overview-modal.tsx @@ -10,7 +10,7 @@ import OLRow from '@/shared/components/ol/ol-row' import OLCol from '@/shared/components/ol/ol-col' import OLButton from '@/shared/components/ol/ol-button' import OLIconButton from '@/shared/components/ol/ol-icon-button' -import OLNotification from '@/shared/components/ol/ol-notification' +import Notification from '@/shared/components/notification' import { debugConsole } from '@/utils/debugging' import { ProjectSyncState, GitSyncModalStatus } from '../../types/git-sync-types' import getMeta from '@/utils/meta' @@ -114,7 +114,7 @@ const GitSyncMergeOverviewModal = ({
{data.diverged && ( - @@ -194,7 +194,7 @@ const GitSyncMergeOverviewModal = ({ )} {error && ( - diff --git a/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-need-permission-modal.tsx b/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-need-permission-modal.tsx index b26b980bfd..8c7e3bfc2a 100644 --- a/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-need-permission-modal.tsx +++ b/services/web/modules/gitlab-sync/frontend/js/components/modals/git-sync-need-permission-modal.tsx @@ -1,5 +1,5 @@ import { useTranslation, Trans } from 'react-i18next' -import OLNotification from '@/shared/components/ol/ol-notification' +import Notification from '@/shared/components/notification' import { OLModalBody, OLModalFooter, @@ -13,14 +13,14 @@ type GitSyncNeedPermissionModalProps = { handleHide: () => void } -const GitSyncNeedPermissionModal = ({ projectSyncState, handleHide }: GitSyncConflictModalProps) => { +const GitSyncNeedPermissionModal = ({ projectSyncState, handleHide }: GitSyncNeedPermissionModalProps) => { const { t } = useTranslation() let gitlabUrl = getMeta('ol-ExposedSettings').gitlabUrl || '' gitlabUrl = gitlabUrl.endsWith('/') ? gitlabUrl.slice(0, -1) : gitlabUrl return ( <> - { +}: GitSyncUnlinkUnavailableModalProps) => { const { t } = useTranslation() const { @@ -35,13 +35,13 @@ const GitSyncUnlinkUnavailableModal = ({ return ( <> - {error && ( -