diff --git a/src/routes/console/project-[project]/messaging/wizard/smsFormList.svelte b/src/routes/console/project-[project]/messaging/wizard/smsFormList.svelte new file mode 100644 index 0000000000..ae47fbb43b --- /dev/null +++ b/src/routes/console/project-[project]/messaging/wizard/smsFormList.svelte @@ -0,0 +1,131 @@ + + + + +
+ +
+ + + + + + + + + + Enter the phone number to which the test message will be +
(selected = 'other')} + on:keyup|self={clickOnEnter} + role="button" + tabindex="0"> + +
+
+
+ + + + + +
+
+ {#if !showCustomId} +
+ (showCustomId = !showCustomId)} + > +
+ {:else} + + {/if} +
+ + +
diff --git a/src/routes/console/project-[project]/messaging/wizard/step1.svelte b/src/routes/console/project-[project]/messaging/wizard/step1.svelte index 01c7048733..dcdc4ed00b 100644 --- a/src/routes/console/project-[project]/messaging/wizard/step1.svelte +++ b/src/routes/console/project-[project]/messaging/wizard/step1.svelte @@ -2,7 +2,9 @@ import { WizardStep } from '$lib/layout'; import { messageParams, providerType } from './store'; import { providers } from '../providers/store'; + import { ProviderTypes } from '../providerType.svelte'; import EmailFormList from './emailFormList.svelte'; + import SmsFormList from './smsFormList.svelte'; async function beforeSubmit() { console.log($messageParams[$providerType]); @@ -16,5 +18,9 @@ Create an {providers[$providerType].text} that will be displayed to your subscribers. Learn more in our documentation. - + {#if $providerType === ProviderTypes.Email} + + {:else if $providerType === ProviderTypes.Sms} + + {/if} diff --git a/src/routes/console/project-[project]/messaging/wizard/step2.svelte b/src/routes/console/project-[project]/messaging/wizard/step2.svelte index 60f734edff..3b1c0433fa 100644 --- a/src/routes/console/project-[project]/messaging/wizard/step2.svelte +++ b/src/routes/console/project-[project]/messaging/wizard/step2.svelte @@ -1,7 +1,6 @@