@@ -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 && (
-