diff --git a/client/src/features/sessionsV2/components/SessionForm/LauncherDetailsFields.tsx b/client/src/features/sessionsV2/components/SessionForm/LauncherDetailsFields.tsx
index 599b625e69..a12ad02b80 100644
--- a/client/src/features/sessionsV2/components/SessionForm/LauncherDetailsFields.tsx
+++ b/client/src/features/sessionsV2/components/SessionForm/LauncherDetailsFields.tsx
@@ -184,14 +184,14 @@ export function LauncherDetailsFields({ control }: LauncherDetailsFieldsProps) {
Gigabytes
-
- Default: {watchCurrentSessionClass.default_storage} GB, max:{" "}
- {watchCurrentSessionClass.max_storage} GB
-
{error?.message ||
"Please provide a valid value for disk storage."}
+
+ Default: {watchCurrentSessionClass.default_storage} GB, max:{" "}
+ {watchCurrentSessionClass.max_storage} GB
+
>
)}
rules={{
diff --git a/client/src/features/sessionsV2/components/SessionForm/SessionEnvironmentItem.tsx b/client/src/features/sessionsV2/components/SessionForm/SessionEnvironmentItem.tsx
index 6891405f2f..1405ac6053 100644
--- a/client/src/features/sessionsV2/components/SessionForm/SessionEnvironmentItem.tsx
+++ b/client/src/features/sessionsV2/components/SessionForm/SessionEnvironmentItem.tsx
@@ -115,12 +115,14 @@ export function SessionEnvironmentItem({
for={`addSessionLauncherGlobalEnvironment-${id}`}
>
{name}
-
+
Global environment
- {description ? {description}
: null}
-
+ {description ? (
+
{description}
+ ) : null}
+
-
- Default: {watchCurrentSessionClass.default_storage} GB, max:{" "}
- {watchCurrentSessionClass.max_storage} GB
-
{error?.message ||
"Please provide a valid value for disk storage."}
+
+ Default: {watchCurrentSessionClass.default_storage} GB, max:{" "}
+ {watchCurrentSessionClass.max_storage} GB
+
>
)}
rules={{
diff --git a/client/src/features/sessionsV2/components/SessionModals/SelectResourceClass.tsx b/client/src/features/sessionsV2/components/SessionModals/SelectResourceClass.tsx
index 4954be11a7..45bc091f51 100644
--- a/client/src/features/sessionsV2/components/SessionModals/SelectResourceClass.tsx
+++ b/client/src/features/sessionsV2/components/SessionModals/SelectResourceClass.tsx
@@ -219,14 +219,14 @@ export function SelectResourceClassModal({
Gigabytes
-
- Default: {watchCurrentSessionClass.default_storage} GB, max:{" "}
- {watchCurrentSessionClass.max_storage} GB
-
{error?.message ||
"Please provide a valid value for disk storage."}
+
+ Default: {watchCurrentSessionClass.default_storage} GB, max:{" "}
+ {watchCurrentSessionClass.max_storage} GB
+
>
)}
rules={{
diff --git a/client/src/styles/renku_bootstrap_customization.scss b/client/src/styles/renku_bootstrap_customization.scss
index 145f679a20..9eac2116bc 100644
--- a/client/src/styles/renku_bootstrap_customization.scss
+++ b/client/src/styles/renku_bootstrap_customization.scss
@@ -121,6 +121,12 @@ $list-group-item-padding-y: $spacer;
}
}
+// Make form labels bold
+.form-label {
+ font-weight: bold;
+ margin-bottom: $spacer * 0.25 !important;
+}
+
// Adjust Accordion
$accordion-padding-x: $spacer;
$accordion-body-padding-x: $spacer;
diff --git a/tests/cypress/e2e/projectV2setup.spec.ts b/tests/cypress/e2e/projectV2setup.spec.ts
index e0d91e4ef4..098be34e3c 100644
--- a/tests/cypress/e2e/projectV2setup.spec.ts
+++ b/tests/cypress/e2e/projectV2setup.spec.ts
@@ -207,7 +207,8 @@ describe("Set up data connectors", () => {
namespace: "user1-uuid/test-2-v2-project",
visibility: "public",
})
- .postDataConnectorProjectLink({ dataConnectorId: "ULID-5" });
+ .postDataConnectorProjectLink({ dataConnectorId: "ULID-5" })
+ .readProjectV2Namespace();
cy.visit("/p/user1-uuid/test-2-v2-project");
cy.wait("@readProjectV2WithoutDocumentation");
cy.wait("@listProjectDataConnectors");
diff --git a/tests/cypress/fixtures/projectV2/read-projectV2-namespace.json b/tests/cypress/fixtures/projectV2/read-projectV2-namespace.json
new file mode 100644
index 0000000000..7435ca9354
--- /dev/null
+++ b/tests/cypress/fixtures/projectV2/read-projectV2-namespace.json
@@ -0,0 +1,9 @@
+{
+ "id": "namespace-id",
+ "name": "test-2-v2-project",
+ "slug": "test-2-v2-project",
+ "path": "user1-uuid/test-2-v2-project",
+ "creation_date": "2023-11-15T09:55:59Z",
+ "created_by": "user-id",
+ "namespace_kind": "project"
+}
diff --git a/tests/cypress/support/renkulab-fixtures/namespaceV2.ts b/tests/cypress/support/renkulab-fixtures/namespaceV2.ts
index 2b6e2ab434..84962886fb 100644
--- a/tests/cypress/support/renkulab-fixtures/namespaceV2.ts
+++ b/tests/cypress/support/renkulab-fixtures/namespaceV2.ts
@@ -53,6 +53,11 @@ interface ListManyNamespacesArgs extends NameOnlyFixture {
numberOfNamespaces?: number;
}
+interface ProjectV2Args extends SimpleFixture {
+ projectNamespace?: string;
+ projectSlug?: string;
+}
+
interface UserNamespaceV2Args extends SimpleFixture {
username?: string;
}
@@ -308,6 +313,31 @@ export function NamespaceV2(Parent: T) {
return this;
}
+ readProjectV2Namespace(args?: ProjectV2Args) {
+ const {
+ fixture = "projectV2/read-projectV2-namespace.json",
+ name = "readProjectV2Namespace",
+ projectNamespace = "user1-uuid",
+ projectSlug = "test-2-v2-project",
+ } = args ?? {};
+ cy.fixture(fixture).then((namespace_) => {
+ const namespace = {
+ ...namespace_,
+ name: projectSlug,
+ slug: projectSlug,
+ path: `${projectNamespace}/${projectSlug}`,
+ };
+ cy.intercept(
+ "GET",
+ `/api/data/namespaces/${projectNamespace}/${projectSlug}`,
+ {
+ body: namespace,
+ }
+ ).as(name);
+ });
+ return this;
+ }
+
readUserV2Namespace(args?: UserNamespaceV2Args) {
const {
fixture = "namespaceV2/namespaceV2-user1.json",