From d8a339ab04e1c3b7f2567f1873e73c91b75f1b16 Mon Sep 17 00:00:00 2001 From: Jae Min Lee Date: Sat, 23 Mar 2024 18:39:54 -0400 Subject: [PATCH 1/2] Enhance ux for verification code in the email --- src/routes/app/[id]/+page.server.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/routes/app/[id]/+page.server.ts b/src/routes/app/[id]/+page.server.ts index 2d57f58..fd0a93e 100644 --- a/src/routes/app/[id]/+page.server.ts +++ b/src/routes/app/[id]/+page.server.ts @@ -65,9 +65,13 @@ export const actions = {

Hello ${email},

- Thanks for typing in your email! -
Your verification code is: ${confirmationCode} + Thanks for typing in your email!

+
+ Your verification code is: +
+ ${confirmationCode} +

This verification code will expire in 1 hour. -From Team SIL From 1463e5ea92faa8f6a125d320bffbc4205cd1447d Mon Sep 17 00:00:00 2001 From: Jae Min Lee Date: Tue, 26 Mar 2024 10:01:45 -0400 Subject: [PATCH 2/2] Adjust confirmation code --- src/routes/app/[id]/+page.server.ts | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/src/routes/app/[id]/+page.server.ts b/src/routes/app/[id]/+page.server.ts index fd0a93e..3629dd7 100644 --- a/src/routes/app/[id]/+page.server.ts +++ b/src/routes/app/[id]/+page.server.ts @@ -60,21 +60,15 @@ export const actions = {

-

Verification

+

${confirmationCode}

Hello ${email},

- Thanks for typing in your email! -

-
- Your verification code is: -
- ${confirmationCode} -
- + Thanks for typing in your email! This verification code will expire in 1 hour. +

- This verification code will expire in 1 hour. -From Team SIL + -From Team SIL