mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Wizard steps simplification experiment
This commit is contained in:
1 parent
12abde796c
commit
be08aabdfa
12 files changed
+32
-32
No files matched your search
@@ -61,7 +61,7 @@
|
||||
|
||||
const stepsComponents: WizardStepsType = new Map();
|
||||
stepsComponents.set(1, {
|
||||
label: 'Template configuration',
|
||||
label: 'Configuration',
|
||||
component: TemplateConfiguration
|
||||
});
|
||||
stepsComponents.set(2, {
|
||||
@@ -69,15 +69,15 @@
|
||||
component: TemplateVariables
|
||||
});
|
||||
stepsComponents.set(3, {
|
||||
label: 'Repository behaviour',
|
||||
label: 'Connect',
|
||||
component: RepositoryBehaviour
|
||||
});
|
||||
stepsComponents.set(4, {
|
||||
label: 'Select repository',
|
||||
label: 'Repository',
|
||||
component: CreateRepository
|
||||
});
|
||||
stepsComponents.set(5, {
|
||||
label: 'Git configuration',
|
||||
label: 'Branch',
|
||||
component: GitConfiguration
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
</script>
|
||||
|
||||
<WizardStep>
|
||||
<svelte:fragment slot="title">Execute access</svelte:fragment>
|
||||
<svelte:fragment slot="title">Execution permissions</svelte:fragment>
|
||||
<svelte:fragment slot="subtitle">
|
||||
Choose who can execute this function using the client API. For more information, check out
|
||||
the <a
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
</script>
|
||||
|
||||
<WizardStep {beforeSubmit}>
|
||||
<svelte:fragment slot="title">Repository Behaviour</svelte:fragment>
|
||||
<svelte:fragment slot="title">Repository behaviour</svelte:fragment>
|
||||
<svelte:fragment slot="subtitle">
|
||||
Connect function to a new repository or to an existing one within a selected Git
|
||||
organization.
|
||||
|
||||
@@ -37,11 +37,11 @@
|
||||
|
||||
const steps: WizardStepsType = new Map();
|
||||
steps.set(1, {
|
||||
label: 'Select project',
|
||||
label: 'Project',
|
||||
component: Step1
|
||||
});
|
||||
steps.set(2, {
|
||||
label: 'Select data',
|
||||
label: 'Resources',
|
||||
component: Step2
|
||||
});
|
||||
</script>
|
||||
|
||||
+2
-2
@@ -70,11 +70,11 @@
|
||||
|
||||
const stepsComponents: WizardStepsType = new Map();
|
||||
stepsComponents.set(1, {
|
||||
label: 'Create data',
|
||||
label: 'Data',
|
||||
component: Step1
|
||||
});
|
||||
stepsComponents.set(2, {
|
||||
label: 'Set permissions',
|
||||
label: 'Permissions',
|
||||
component: Step2,
|
||||
optional: true
|
||||
});
|
||||
|
||||
@@ -76,11 +76,11 @@
|
||||
|
||||
const stepsComponents: WizardStepsType = new Map();
|
||||
stepsComponents.set(1, {
|
||||
label: 'Details',
|
||||
label: 'Configuration',
|
||||
component: Step1
|
||||
});
|
||||
stepsComponents.set(2, {
|
||||
label: 'Execute access',
|
||||
label: 'Permissions',
|
||||
component: Step2,
|
||||
optional: true
|
||||
});
|
||||
|
||||
@@ -22,21 +22,21 @@
|
||||
|
||||
const stepsComponents: WizardStepsType = new Map();
|
||||
stepsComponents.set(1, {
|
||||
label: 'Register your platform',
|
||||
label: 'Settings',
|
||||
component: Step1
|
||||
});
|
||||
stepsComponents.set(2, {
|
||||
label: 'Get the SDK',
|
||||
label: 'Install',
|
||||
component: Step2,
|
||||
optional: true
|
||||
});
|
||||
stepsComponents.set(3, {
|
||||
label: "Let's get coding",
|
||||
label: "Import",
|
||||
component: Step3,
|
||||
optional: true
|
||||
});
|
||||
stepsComponents.set(4, {
|
||||
label: 'All set',
|
||||
label: 'Build',
|
||||
component: Step4,
|
||||
optional: true
|
||||
});
|
||||
|
||||
@@ -22,21 +22,21 @@
|
||||
|
||||
const stepsComponents: WizardStepsType = new Map();
|
||||
stepsComponents.set(1, {
|
||||
label: 'Register your platform',
|
||||
label: 'Settings',
|
||||
component: Step1
|
||||
});
|
||||
stepsComponents.set(2, {
|
||||
label: 'Get the SDK',
|
||||
label: 'Install',
|
||||
component: Step2,
|
||||
optional: true
|
||||
});
|
||||
stepsComponents.set(3, {
|
||||
label: "Let's get coding",
|
||||
label: "Import",
|
||||
component: Step3,
|
||||
optional: true
|
||||
});
|
||||
stepsComponents.set(4, {
|
||||
label: 'All set',
|
||||
label: 'Build',
|
||||
component: Step4,
|
||||
optional: true
|
||||
});
|
||||
|
||||
@@ -22,21 +22,21 @@
|
||||
|
||||
const stepsComponents: WizardStepsType = new Map();
|
||||
stepsComponents.set(1, {
|
||||
label: 'Register your platform',
|
||||
label: 'Settings',
|
||||
component: Step1
|
||||
});
|
||||
stepsComponents.set(2, {
|
||||
label: 'Get the SDK',
|
||||
label: 'Install',
|
||||
component: Step2,
|
||||
optional: true
|
||||
});
|
||||
stepsComponents.set(3, {
|
||||
label: "Let's get coding",
|
||||
label: "Import",
|
||||
component: Step3,
|
||||
optional: true
|
||||
});
|
||||
stepsComponents.set(4, {
|
||||
label: 'All set',
|
||||
label: 'Build',
|
||||
component: Step4,
|
||||
optional: true
|
||||
});
|
||||
|
||||
@@ -22,21 +22,21 @@
|
||||
|
||||
const stepsComponents: WizardStepsType = new Map();
|
||||
stepsComponents.set(1, {
|
||||
label: 'Register your platform',
|
||||
label: 'Settings',
|
||||
component: Step1
|
||||
});
|
||||
stepsComponents.set(2, {
|
||||
label: 'Get the SDK',
|
||||
label: 'Install',
|
||||
component: Step2,
|
||||
optional: true
|
||||
});
|
||||
stepsComponents.set(3, {
|
||||
label: 'Initialize SDK',
|
||||
label: 'Import',
|
||||
component: Step3,
|
||||
optional: true
|
||||
});
|
||||
stepsComponents.set(4, {
|
||||
label: 'All set',
|
||||
label: 'Build',
|
||||
component: Step4,
|
||||
optional: true
|
||||
});
|
||||
|
||||
@@ -98,11 +98,11 @@
|
||||
|
||||
const steps: WizardStepsType = new Map();
|
||||
steps.set(1, {
|
||||
label: 'Choose provider',
|
||||
label: 'Source',
|
||||
component: Step1
|
||||
});
|
||||
steps.set(2, {
|
||||
label: 'Select data',
|
||||
label: 'Resources',
|
||||
component: Step2
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -57,11 +57,11 @@
|
||||
|
||||
const stepsComponents: WizardStepsType = new Map();
|
||||
stepsComponents.set(1, {
|
||||
label: 'Add your webhook',
|
||||
label: 'Configure',
|
||||
component: Step1
|
||||
});
|
||||
stepsComponents.set(2, {
|
||||
label: 'Webhook events',
|
||||
label: 'Events',
|
||||
component: Step2
|
||||
});
|
||||
stepsComponents.set(3, {
|
||||
|
||||
Reference in new issue
Block a user