diff --git a/src/lib/wizards/functions/createTemplate.svelte b/src/lib/wizards/functions/createTemplate.svelte index 9ccb39c55..b56d77852 100644 --- a/src/lib/wizards/functions/createTemplate.svelte +++ b/src/lib/wizards/functions/createTemplate.svelte @@ -19,7 +19,7 @@ import { scopes } from '$lib/constants'; import { isValueOfStringEnum } from '$lib/helpers/types'; import TemplateConfiguration from './steps/templateConfiguration.svelte'; - import TemplateScopes from './steps/templateScopes.svelte'; + import TemplatePermissions from './steps/templatePermissions.svelte'; import TemplateVariables from './steps/templateVariables.svelte'; import TemplateDeployment from './steps/templateDeployment.svelte'; import CreateRepository from './steps/createRepository.svelte'; @@ -120,8 +120,8 @@ component: TemplateConfiguration }); $templateStepsComponents.set(2, { - label: 'Scopes', - component: TemplateScopes, + label: 'Permissions', + component: TemplatePermissions, disabled: !$template?.scopes?.length }); $templateStepsComponents.set(3, { diff --git a/src/lib/wizards/functions/steps/templateDeployment.svelte b/src/lib/wizards/functions/steps/templateDeployment.svelte index e55b47015..5e38e4513 100644 --- a/src/lib/wizards/functions/steps/templateDeployment.svelte +++ b/src/lib/wizards/functions/steps/templateDeployment.svelte @@ -32,14 +32,14 @@ Create a new repository - Clone the template and create a new repository in your selected organization. + Clone the template to a newly created repository in your organization. Add to existing repository - Clone the template to an existing repository in your selected organization. + Clone the template to an existing repository in your organization. @@ -47,7 +47,7 @@ diff --git a/src/lib/wizards/functions/steps/templateScopes.svelte b/src/lib/wizards/functions/steps/templatePermissions.svelte similarity index 83% rename from src/lib/wizards/functions/steps/templateScopes.svelte rename to src/lib/wizards/functions/steps/templatePermissions.svelte index c179c77fa..7c32f8ec5 100644 --- a/src/lib/wizards/functions/steps/templateScopes.svelte +++ b/src/lib/wizards/functions/steps/templatePermissions.svelte @@ -4,6 +4,7 @@ import { WizardStep } from '$lib/layout'; import { onMount } from 'svelte'; import { template, templateConfig } from '../store'; + import { tooltip } from '$lib/actions/tooltip'; let templateScopes = []; onMount(() => { @@ -26,7 +27,7 @@ Enable recommended scopes and execute access for when your function is deployed. -

Execute permissions

+

Execute permissions

@@ -34,7 +35,14 @@