Skip to content

Commit

Permalink
Workspace settings clarifications, delete workspace message (#5052)
Browse files Browse the repository at this point in the history
  • Loading branch information
hcourdent authored Jan 13, 2025
1 parent 427aae6 commit 06d1337
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</script>

<div>
<p class="font-semibold text-sm">Workspace Color</p>
<p class="font-semibold text-sm">Workspace color</p>
<div class="flex flex-row gap-0.5 items-center">
{#if savedWorkspaceColor}
<div
Expand All @@ -76,6 +76,9 @@
}}
/>
</div>
<p class="italic text-xs">
Color to identify the current workspace in the list of workspaces
</p>
</div>

<Modal bind:open title="Change Workspace Color">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
/>
{/if}
</div>
<p class="italic text-xs">Slug to uniquely identify your workspace</p>
</div>

<Modal bind:open title="Change workspace ID">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
}}
/>
</div>

<p class="italic text-xs">
Displayable name
</p>
</div>

<Modal bind:open title="Change workspace name">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
</label>
<label class="block pb-4">
<span class="text-secondary text-sm">Workspace color</span>
<span class="ml-5 text-tertiary text-xs">Color to identify the current workspace</span>
<span class="ml-5 text-tertiary text-xs">Color to identify the current workspace in the list of workspaces</span>
<div class="flex items-center gap-2">
<Toggle bind:checked={colorEnabled} options={{ right: 'Enable' }} />
{#if colorEnabled}<input class="w-10" type="color" bind:value={workspaceColor} disabled={!colorEnabled} />{/if}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,12 @@
</div>
{:else if tab == 'general'}
<div class="flex flex-col gap-4 my-8">
<div class=" text-primary text-lg font-semibold">General</div>
<div class="flex flex-col gap-1">
<div class=" text-primary text-lg font-semibold">General</div>
<Description link="https://www.windmill.dev/docs/core_concepts/workspace_settings">
Configure general workspace settings.
</Description>
</div>
</div>

<div class="flex flex-col gap-10">
Expand All @@ -835,9 +840,15 @@

<div class="mt-20" />
<PageHeader title="Delete workspace" primary={false} />
<p class="italic text-xs">
The workspace will be archived for a short period of time and then permanently deleted
</p>
{#if $superadmin}
<p class="italic text-xs">
When deleting the workspace, it will be archived for a short period of time and then permanently deleted.
</p>
{:else}
<p class="italic text-xs">
Only instance superadmins can delete a workspace.
</p>
{/if}
{#if $workspaceStore === 'admins' || $workspaceStore === 'starter'}
<p class="italic text-xs">
This workspace cannot be deleted as it has a special function. Consult the documentation
Expand Down

0 comments on commit 06d1337

Please sign in to comment.