From ac05c0410905d3fdd8c9ff2b9c035d223b2149c1 Mon Sep 17 00:00:00 2001 From: wess Date: Mon, 23 Oct 2023 11:20:03 -0400 Subject: [PATCH 1/2] Fixes missing li tag for links and buttons --- .../organization-[organization]/+page.svelte | 54 ++++++++++--------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/src/routes/console/organization-[organization]/+page.svelte b/src/routes/console/organization-[organization]/+page.svelte index adc97fc5d2..f0c5998798 100644 --- a/src/routes/console/organization-[organization]/+page.svelte +++ b/src/routes/console/organization-[organization]/+page.svelte @@ -135,35 +135,37 @@ event="project" on:click={() => (showCreate = true)}> {#each data.projects.projects as project} - - - {project?.platforms?.length ? project?.platforms?.length : 'No'} apps - - - {project.name} - - {#if allServiceDisabled(project)} -

-

- {/if} - {@const platforms = filterPlatforms( - project.platforms.map((platform) => getPlatformInfo(platform.type)) - )} - {#each platforms as platform, i} - {#if i < 3} +
  • + + + {project?.platforms?.length ? project?.platforms?.length : 'No'} apps + + + {project.name} + + {#if allServiceDisabled(project)} +

    +

    + {/if} + {@const platforms = filterPlatforms( + project.platforms.map((platform) => getPlatformInfo(platform.type)) + )} + {#each platforms as platform, i} + {#if i < 3} + + + {/if} + {/each} + {#if platforms?.length > 3} - {/if} - {/each} - {#if platforms?.length > 3} - - +{project.platforms.length - 3} - - {/if} -
    + +
  • {/each}

    Create a new project

    From c638e1ede8fd0af3de5811e96c99120abe685f5b Mon Sep 17 00:00:00 2001 From: wess Date: Mon, 23 Oct 2023 11:24:48 -0400 Subject: [PATCH 2/2] Updates copy for "create attribute" --- .../collection-[collection]/attributes/boolean.svelte | 3 ++- .../collection-[collection]/attributes/datetime.svelte | 3 ++- .../collection-[collection]/attributes/email.svelte | 3 ++- .../collection-[collection]/attributes/enum.svelte | 3 ++- .../collection-[collection]/attributes/float.svelte | 3 ++- .../collection-[collection]/attributes/integer.svelte | 3 ++- .../collection-[collection]/attributes/ip.svelte | 3 ++- .../collection-[collection]/attributes/string.svelte | 3 ++- .../collection-[collection]/attributes/url.svelte | 3 ++- 9 files changed, 18 insertions(+), 9 deletions(-) diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/boolean.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/boolean.svelte index 997a198d3c..0c007dd292 100644 --- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/boolean.svelte +++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/boolean.svelte @@ -84,5 +84,6 @@ Indicate whether this is a required attribute - Indicate whether this attribute should act as an array + Indicate whether this attribute should act as an array, with the default value set as an empty + array. diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/datetime.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/datetime.svelte index 318ae84de9..b65ec28e12 100644 --- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/datetime.svelte +++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/datetime.svelte @@ -74,5 +74,6 @@ Indicate whether this is a required attribute - Indicate whether this attribute should act as an array + Indicate whether this attribute should act as an array, with the default value set as an empty + array. diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/email.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/email.svelte index 25a914d82e..81af5f61b8 100644 --- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/email.svelte +++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/email.svelte @@ -77,5 +77,6 @@ Indicate whether this is a required attribute - Indicate whether this attribute should act as an array + Indicate whether this attribute should act as an array, with the default value set as an empty + array. diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/enum.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/enum.svelte index cf47f3e5ec..c95c9ace2f 100644 --- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/enum.svelte +++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/enum.svelte @@ -98,5 +98,6 @@ Indicate whether this is a required attribute - Indicate whether this attribute should act as an array + Indicate whether this attribute should act as an array, with the default value set as an empty + array. diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/float.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/float.svelte index d0e0f834c3..d92ce2d69c 100644 --- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/float.svelte +++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/float.svelte @@ -103,5 +103,6 @@ Indicate whether this is a required attribute - Indicate whether this attribute should act as an array + Indicate whether this attribute should act as an array, with the default value set as an empty + array. diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/integer.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/integer.svelte index f4118db786..bc4231dc4a 100644 --- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/integer.svelte +++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/integer.svelte @@ -100,5 +100,6 @@ Indicate whether this is a required attribute - Indicate whether this attribute should act as an array + Indicate whether this attribute should act as an array, with the default value set as an empty + array. diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/ip.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/ip.svelte index 33db46c84d..3af418ebfa 100644 --- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/ip.svelte +++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/ip.svelte @@ -75,5 +75,6 @@ Indicate whether this is a required attribute - Indicate whether this attribute should act as an array + Indicate whether this attribute should act as an array, with the default value set as an empty + array. diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/string.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/string.svelte index a1bb2f953f..37d1e2e2f7 100644 --- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/string.svelte +++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/string.svelte @@ -99,5 +99,6 @@ Indicate whether this is a required attribute - Indicate whether this attribute should act as an array + Indicate whether this attribute should act as an array, with the default value set as an empty + array. diff --git a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/url.svelte b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/url.svelte index 120730b4fd..e2c6755c62 100644 --- a/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/url.svelte +++ b/src/routes/console/project-[project]/databases/database-[database]/collection-[collection]/attributes/url.svelte @@ -76,5 +76,6 @@ Indicate whether this is a required attribute - Indicate whether this attribute should act as an array + Indicate whether this attribute should act as an array, with the default value set as an empty + array.