diff --git a/client/src/features/groupsV2/new/GroupNew.tsx b/client/src/features/groupsV2/new/GroupNew.tsx index 10b69b5d9b..6ca83b8ad9 100644 --- a/client/src/features/groupsV2/new/GroupNew.tsx +++ b/client/src/features/groupsV2/new/GroupNew.tsx @@ -174,28 +174,30 @@ function GroupV2CreationDetails() { >
-
- +
+ +
+ +
- - - Resource class: {resourceClass ? ( <> - {resourceClass?.name} | + {resourceClass?.name} + | ) : ( @@ -102,7 +103,7 @@ export function DetailsMigration({ ); const detailsSession = ( -
+
{isPinnedImage ? ( <>
@@ -133,18 +134,16 @@ export function DetailsMigration({ ); const containerImageInfoAlert = ( -
- - This session image will not update as you make additional commits.{" "} - - -
+ + This session image will not update as you make additional commits.{" "} + + ); return ( @@ -154,7 +153,7 @@ export function DetailsMigration({ isProjectSupported && !showDetails && containerImageInfoAlert} -
+ -
- -
-
- - - Code repository: - {" "} - {codeRepository} -
-
- - Datasets & - Data in Git LFS:{" "} - - Will continue to be available via the git lfs command line -
-
- - Session launcher{" "} - -
- {detailsSession} - {!isPinnedImage && - containerImage && - isProjectSupported && - showDetails && - containerImageInfoAlert} -
- - Workflows:{" "} - - You may continue to use Renku workflows in your session via the - CLI. -
-
- - Description: - {" "} - {description ? ( - description - ) : ( - - Description not found - - )} -
-
- - Keywords: - {" "} - {keywords ? ( - keywords - ) : ( - Keywords not found - )} -
+ +
+
+ + + Code repository: + {" "} + {codeRepository}
- -
+
+ + Datasets & Data + in Git LFS:{" "} + + Will continue to be available via the git lfs command line +
+
+ + Session launcher{" "} + +
+ {detailsSession} + {!isPinnedImage && + containerImage && + isProjectSupported && + showDetails && + containerImageInfoAlert} +
+ + Workflows:{" "} + + You may continue to use Renku workflows in your session via the CLI. +
+
+ + Description: + {" "} + {description ? ( + description + ) : ( + Description not found + )} +
+
+ + Keywords: + {" "} + {keywords ? ( + keywords + ) : ( + Keywords not found + )} +
+
+
); } @@ -239,8 +233,8 @@ export function DetailsNotIncludedInMigration() { }, []); return ( -
-
+
+ -
- -
-
- - Members: - {" "} - Members will not be migrated. Please add members directly to the - Renku 2.0 project. -
-
- - Cloud storage: - {" "} - We're sorry, cloud storage migration isn't available at - the moment. Please reconfigure your cloud storage as a Renku 2.0 - Data Connector. -
-
- - Project image: - {" "} - We're sorry, project image migration isn't available at - the moment. -
+ +
+
+ + Members: + {" "} + Members will not be migrated. Please add members directly to the + Renku 2.0 project.
- -
+
+ + Cloud storage: + {" "} + We're sorry, cloud storage migration isn't available at + the moment. Please reconfigure your cloud storage as a Renku 2.0 + Data Connector. +
+
+ + Project image: + {" "} + We're sorry, project image migration isn't available at + the moment. +
+
+
); } diff --git a/client/src/features/project/components/projectMigration/ProjectMigrationForm.tsx b/client/src/features/project/components/projectMigration/ProjectMigrationForm.tsx index 584cba545f..42fb64748d 100644 --- a/client/src/features/project/components/projectMigration/ProjectMigrationForm.tsx +++ b/client/src/features/project/components/projectMigration/ProjectMigrationForm.tsx @@ -16,6 +16,7 @@ * limitations under the License. */ +import cx from "classnames"; import { DateTime } from "luxon"; import { useEffect, useMemo } from "react"; import { @@ -27,6 +28,7 @@ import { UseFormWatch, } from "react-hook-form"; import { Form } from "reactstrap"; +import { ErrorAlert } from "../../../../components/Alert"; import { Loader } from "../../../../components/Loader"; import { toHumanDateTime } from "../../../../utils/helpers/DateTimeUtils"; import { GitlabProjectResponse } from "../../GitLab.types"; @@ -40,7 +42,6 @@ import { DetailsNotIncludedInMigration, } from "./ProjectMigrationDetails"; import ProjectMigrationFormInputs from "./ProjectMigrationFormInputs"; -import { ErrorAlert } from "../../../../components/Alert"; interface MigrationFormProps { description?: string; @@ -185,6 +186,7 @@ export default function MigrationForm({ return (
)} {isFetchingSessionData && ( -
+
Loading session data...
)} diff --git a/client/src/features/project/components/projectMigration/ProjectMigrationFormInputs.tsx b/client/src/features/project/components/projectMigration/ProjectMigrationFormInputs.tsx index 0fcf136316..c646748ba0 100644 --- a/client/src/features/project/components/projectMigration/ProjectMigrationFormInputs.tsx +++ b/client/src/features/project/components/projectMigration/ProjectMigrationFormInputs.tsx @@ -73,12 +73,13 @@ export default function ProjectMigrationFormInputs({ slug: "", } ); + const parentPath = `${projectParentPath}/`; const location = useLocation(); const isRenkuV1 = isRenkuLegacy(location.pathname); const formId = "project-migration-form"; return ( - <> -
+
+
@@ -102,29 +103,31 @@ export default function ProjectMigrationFormInputs({ />
Please provide a name
-
- -
-
- +
+
+ +
+
+ +
-
+
- +
); } diff --git a/client/src/features/projectMigrationV2/MigrationV2Modal.tsx b/client/src/features/projectMigrationV2/MigrationV2Modal.tsx index ce3c8f87ee..9b389541d1 100644 --- a/client/src/features/projectMigrationV2/MigrationV2Modal.tsx +++ b/client/src/features/projectMigrationV2/MigrationV2Modal.tsx @@ -92,7 +92,7 @@ export default function MigrationV2Modal({ ? "Select project to migrate" : "Migrate project to Renku 2.0"} - + {result.error && } {step === 1 ? ( <> diff --git a/client/src/features/projectsV2/new/ProjectV2New.tsx b/client/src/features/projectsV2/new/ProjectV2New.tsx index fe1f0e2219..d54bdca246 100644 --- a/client/src/features/projectsV2/new/ProjectV2New.tsx +++ b/client/src/features/projectsV2/new/ProjectV2New.tsx @@ -199,30 +199,31 @@ function ProjectV2CreationDetails() { formId={formId} name="name" /> +
+
+ +
-
-
- -