diff --git a/frontend/src/lib/components/SharedBadge.svelte b/frontend/src/lib/components/SharedBadge.svelte index 46a60173e9..ade18faeb2 100644 --- a/frontend/src/lib/components/SharedBadge.svelte +++ b/frontend/src/lib/components/SharedBadge.svelte @@ -1,5 +1,7 @@ {#if kind == 'read' || kind == 'write'} - + {#if kind == 'read'} - shared to you (read-only) + + + read {:else if kind == 'write'} - shared to you + {/if} {/if} diff --git a/frontend/src/routes/flows.svelte b/frontend/src/routes/flows.svelte index 78d8640125..4c24e54b16 100644 --- a/frontend/src/routes/flows.svelte +++ b/frontend/src/routes/flows.svelte @@ -183,22 +183,21 @@ {#each tab == 'all' ? ['personal', 'groups', 'shared', 'hub'] : [tab] as sectionTab}
{#if sectionTab == 'personal'} -

- Personal ({`u/${$userStore?.username}`}) +

+ Personal ({`u/${$userStore?.username}`}) + All flows owned by you (and visible only to you if you do not explicitly share them) +

-

- All flows owned by you (and visible only to you if you do not explicitly share them) -

{:else if sectionTab == 'groups'} -

Groups

-

- All flows being owned by groups that you are member of -

+

+ Groups All flows being owned by groups that you are member of +

{:else if sectionTab == 'shared'} -

Shared

-

- All flows visible to you because they have been shared to you -

+

+ Shared All flows visible to you because they have been shared to you +

{:else if sectionTab == 'hub'}

Approved flows from the WindmillHub @@ -219,7 +218,11 @@ {#each filteredHubFlows ?? [] as { summary, apps, flow_id }} {apps.join(', ')} - + No flows yet

{:else} -
+
{#each flows as { summary, path, extra_perms, canWrite }}
{#if sectionTab == 'personal'} -

- Personal ({`u/${$userStore?.username}`}) +

+ Personal ({`u/${$userStore?.username}`}) + All scripts owned by you (and visible only to you if you do not explicitly share + them) +

-

- All scripts owned by you (and visible only to you if you do not explicitly share them) -

{:else if sectionTab == 'groups'} -

Groups

-

- All scripts being owned by groups that you are member of -

+

+ Groups All scripts being owned by groups that you are member of +

{:else if sectionTab == 'shared'} -

Shared

-

- All scripts visible to you because they have been shared to you -

+

+ Shared All scripts visible to you because they have been shared to you +

{:else if sectionTab == 'examples'} -

Public

-

- Template and examples shared across all workspaces of this instance. They are managed - from a special workspace called 'starter' that only superadmin can change. -

+

+ Public + Template and examples shared across all workspaces of this instance. They are managed + from a special workspace called 'starter' that only superadmin can change. + +

{:else if sectionTab == 'hub'}

Approved scripts from the WindmillHub @@ -295,7 +297,7 @@ {#if scripts.length == 0 && sectionTab == 'personal'}

No scripts yet

{:else} -
+
{#each scripts as { summary, path, hash, language, extra_perms, canWrite, lock_error_logs, is_trigger }}