🔥🔥🔥 Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
[WEB-4488] feat: brand revamp (#7544)
Anmol Singh Bhatia51e146f8caa5
diff --git a/apps/admin/app/(all)/(dashboard)/sidebar-dropdown.tsx b/apps/admin/app/(all)/(dashboard)/sidebar-dropdown.tsxindex 5554947be3..656d0531dd 100644--- a/apps/admin/app/(all)/(dashboard)/sidebar-dropdown.tsx+++ b/apps/admin/app/(all)/(dashboard)/sidebar-dropdown.tsx@@ -42,7 +42,7 @@ export const AdminSidebarDropdown = observer(() => {)}><div className="flex flex-col gap-2.5 pb-2">- <span className="px-2 text-custom-sidebar-text-200">{currentUser?.email}</span>+ <span className="px-2 text-custom-sidebar-text-200 truncate">{currentUser?.email}</span></div><div className="py-2"><Menu.Itemdiff --git a/apps/admin/public/favicon/android-chrome-192x192.png b/apps/admin/public/favicon/android-chrome-192x192.pngindex 62e95acfc5..4a005e5423 100644Binary files a/apps/admin/public/favicon/android-chrome-192x192.png and b/apps/admin/public/favicon/android-chrome-192x192.png differdiff --git a/apps/admin/public/favicon/android-chrome-512x512.png b/apps/admin/public/favicon/android-chrome-512x512.pngindex 41400832b3..27fafe822d 100644Binary files a/apps/admin/public/favicon/android-chrome-512x512.png and b/apps/admin/public/favicon/android-chrome-512x512.png differdiff --git a/apps/admin/public/favicon/apple-touch-icon.png b/apps/admin/public/favicon/apple-touch-icon.pngindex 5273d4951d..a631267832 100644Binary files a/apps/admin/public/favicon/apple-touch-icon.png and b/apps/admin/public/favicon/apple-touch-icon.png differdiff --git a/apps/admin/public/favicon/favicon-16x16.png b/apps/admin/public/favicon/favicon-16x16.pngindex 8ddbd49c04..af59ef0108 100644Binary files a/apps/admin/public/favicon/favicon-16x16.png and b/apps/admin/public/favicon/favicon-16x16.png differdiff --git a/apps/admin/public/favicon/favicon-32x32.png b/apps/admin/public/favicon/favicon-32x32.pngindex 80cbe7a68f..16a1271ad8 100644Binary files a/apps/admin/public/favicon/favicon-32x32.png and b/apps/admin/public/favicon/favicon-32x32.png differdiff --git a/apps/admin/public/favicon/favicon.ico b/apps/admin/public/favicon/favicon.icoindex 9094a07c78..613b1a3136 100644Binary files a/apps/admin/public/favicon/favicon.ico and b/apps/admin/public/favicon/favicon.ico differdiff --git a/apps/admin/public/favicon/site.webmanifest b/apps/admin/public/favicon/site.webmanifestindex 0b08af126b..1d41057813 100644--- a/apps/admin/public/favicon/site.webmanifest+++ b/apps/admin/public/favicon/site.webmanifest@@ -2,8 +2,8 @@"name": "","short_name": "","icons": [- { "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },- { "src": "/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }+ { "src": "/favicon/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },+ { "src": "/favicon/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }],"theme_color": "#ffffff","background_color": "#ffffff",diff --git a/apps/admin/styles/globals.css b/apps/admin/styles/globals.cssindex d5554ce2f2..258fa2d856 100644--- a/apps/admin/styles/globals.css+++ b/apps/admin/styles/globals.css@@ -24,24 +24,24 @@:root {color-scheme: light !important;- --color-primary-10: 236, 241, 255;- --color-primary-20: 217, 228, 255;- --color-primary-30: 197, 214, 255;- --color-primary-40: 178, 200, 255;- --color-primary-50: 159, 187, 255;- --color-primary-60: 140, 173, 255;- --color-primary-70: 121, 159, 255;- --color-primary-80: 101, 145, 255;- --color-primary-90: 82, 132, 255;- --color-primary-100: 63, 118, 255;- --color-primary-200: 57, 106, 230;- --color-primary-300: 50, 94, 204;- --color-primary-400: 44, 83, 179;- --color-primary-500: 38, 71, 153;- --color-primary-600: 32, 59, 128;- --color-primary-700: 25, 47, 102;- --color-primary-800: 19, 35, 76;- --color-primary-900: 13, 24, 51;+ --color-primary-10: 229, 243, 250;+ --color-primary-20: 216, 237, 248;+ --color-primary-30: 199, 229, 244;+ --color-primary-40: 169, 214, 239;+ --color-primary-50: 144, 202, 234;+ --color-primary-60: 109, 186, 227;+ --color-primary-70: 75, 170, 221;+ --color-primary-80: 41, 154, 214;+ --color-primary-90: 34, 129, 180;+ --color-primary-100: 0, 99, 153;+ --color-primary-200: 0, 92, 143;+ --color-primary-300: 0, 86, 133;+ --color-primary-400: 0, 77, 117;+ --color-primary-500: 0, 66, 102;+ --color-primary-600: 0, 53, 82;+ --color-primary-700: 0, 43, 66;+ --color-primary-800: 0, 33, 51;+ --color-primary-900: 0, 23, 36;--color-background-100: 255, 255, 255; /* primary bg */--color-background-90: 247, 247, 247; /* secondary bg */@@ -197,6 +197,25 @@[data-theme="dark-contrast"] {color-scheme: dark !important;+ --color-primary-10: 8, 31, 43;+ --color-primary-20: 10, 37, 51;+ --color-primary-30: 13, 49, 69;+ --color-primary-40: 16, 58, 81;+ --color-primary-50: 18, 68, 94;+ --color-primary-60: 23, 86, 120;+ --color-primary-70: 28, 104, 146;+ --color-primary-80: 31, 116, 163;+ --color-primary-90: 34, 129, 180;+ --color-primary-100: 40, 146, 204;+ --color-primary-200: 41, 154, 214;+ --color-primary-300: 75, 170, 221;+ --color-primary-400: 109, 186, 227;+ --color-primary-500: 144, 202, 234;+ --color-primary-600: 169, 214, 239;+ --color-primary-700: 199, 229, 244;+ --color-primary-800: 216, 237, 248;+ --color-primary-900: 229, 243, 250;+--color-background-100: 25, 25, 25; /* primary bg */--color-background-90: 32, 32, 32; /* secondary bg */--color-background-80: 44, 44, 44; /* tertiary bg */@@ -286,25 +305,6 @@[data-theme="dark"],[data-theme="light-contrast"],[data-theme="dark-contrast"] {- --color-primary-10: 236, 241, 255;- --color-primary-20: 217, 228, 255;- --color-primary-30: 197, 214, 255;- --color-primary-40: 178, 200, 255;- --color-primary-50: 159, 187, 255;- --color-primary-60: 140, 173, 255;- --color-primary-70: 121, 159, 255;- --color-primary-80: 101, 145, 255;- --color-primary-90: 82, 132, 255;- --color-primary-100: 63, 118, 255;- --color-primary-200: 57, 106, 230;- --color-primary-300: 50, 94, 204;- --color-primary-400: 44, 83, 179;- --color-primary-500: 38, 71, 153;- --color-primary-600: 32, 59, 128;- --color-primary-700: 25, 47, 102;- --color-primary-800: 19, 35, 76;- --color-primary-900: 13, 24, 51;---color-sidebar-background-100: var(--color-background-100); /* primary sidebar bg */--color-sidebar-background-90: var(--color-background-90); /* secondary sidebar bg */--color-sidebar-background-80: var(--color-background-80); /* tertiary sidebar bg */diff --git a/apps/api/templates/emails/auth/forgot_password.html b/apps/api/templates/emails/auth/forgot_password.htmlindex 9df90724f6..f673c1e634 100644--- a/apps/api/templates/emails/auth/forgot_password.html+++ b/apps/api/templates/emails/auth/forgot_password.html@@ -8,8 +8,8 @@<title>Set a new password to your Plane account</title><style type="text/css" emogrify="no"> #outlook a { padding: 0; } .ExternalClass { width: 100%; } .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div { line-height: 100%; } table td { border-collapse: collapse; mso-line-height-rule: exactly; } .editable.image { font-size: 0 !important; line-height: 0 !important; } .nl2go_preheader { display: none !important; mso-hide: all !important; mso-line-height-rule: exactly; visibility: hidden !important; line-height: 0px !important; font-size: 0px !important; } body { width: 100% !important; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; margin: 0; padding: 0; } img { outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; } a img { border: none; } table { border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; } th { font-weight: normal; text-align: left; } *[class="gmail-fix"] { display: none !important; } </style><style type="text/css" emogrify="no"> @media (max-width: 600px) { .gmx-killpill { content: " \03D1"; } } </style>- <style type="text/css" emogrify="no"> @media (max-width: 600px) { .gmx-killpill { content: " \03D1"; } .r0-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 320px !important; } .r1-i { background-color: #ffffff !important; } .r2-c { box-sizing: border-box !important; text-align: center !important; valign: top !important; width: 100% !important; } .r3-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 100% !important; } .r4-i { padding-bottom: 20px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 20px !important; } .r5-c { box-sizing: border-box !important; display: block !important; valign: top !important; width: 100% !important; } .r6-o { border-style: solid !important; width: 100% !important; } .r7-i { padding-left: 0px !important; padding-right: 0px !important; } .r8-c { box-sizing: border-box !important; text-align: left !important; valign: top !important; width: 100% !important; } .r9-o { border-style: solid !important; margin: 0 auto 0 0 !important; width: 100% !important; } .r10-i { padding-bottom: 10px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 10px !important; } .r11-i { padding-bottom: 15px !important; padding-top: 15px !important; text-align: left !important; } .r12-i { background-color: #ffffff !important; padding-bottom: 15px !important; padding-top: 15px !important; text-align: left !important; } .r13-c { box-sizing: border-box !important; padding: 0 !important; text-align: center !important; valign: top !important; width: 100% !important; } .r14-o { border-style: solid !important; margin: 0 auto 0 auto !important; margin-bottom: 15px !important; margin-top: 15px !important; width: 100% !important; } .r15-i { padding: 0 !important; text-align: center !important; } .r16-r { background-color: #3f76ff !important; border-radius: 4px !important; border-width: 0px !important; box-sizing: border-box; height: initial !important; padding: 0 !important; padding-bottom: 12px !important; padding-top: 12px !important; text-align: center !important; width: 100% !important; } .r17-i { padding-bottom: 0px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 0px !important; } .r18-c { box-sizing: border-box !important; text-align: center !important; width: 100% !important; } .r19-i { padding-bottom: 5px !important; padding-top: 5px !important; } .r20-i { padding-bottom: 15px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 15px !important; } .r21-o { border-bottom-color: #efefef !important; border-bottom-width: 2px !important; border-left-color: #efefef !important; border-left-width: 2px !important; border-right-color: #efefef !important; border-right-width: 2px !important; border-style: solid !important; border-top-color: #efefef !important; border-top-width: 2px !important; margin: 0 auto 0 0 !important; width: 100% !important; } .r22-i { padding-bottom: 5px !important; padding-left: 5px !important; padding-right: 5px !important; padding-top: 5px !important; text-align: left !important; } .r23-i { padding-bottom: 5px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 5px !important; } .r24-c { box-sizing: border-box !important; width: 100% !important; } .r25-i { font-size: 0px !important; padding-bottom: 10px !important; padding-left: 65px !important; padding-right: 65px !important; padding-top: 10px !important; } .r26-c { box-sizing: border-box !important; width: 32px !important; } .r27-o { border-style: solid !important; margin-right: 8px !important; width: 32px !important; } .r28-o { border-style: solid !important; margin-right: 0px !important; width: 32px !important; } .r29-i { padding-bottom: 0px !important; padding-top: 5px !important; text-align: center !important; } body { -webkit-text-size-adjust: none; } .nl2go-responsive-hide { display: none; } .nl2go-body-table { min-width: unset !important; } .mobshow { height: auto !important; overflow: visible !important; max-height: unset !important; visibility: visible !important; border: none !important; } .resp-table { display: inline-table !important; } .magic-resp { display: table-cell !important; } } </style>- <style type="text/css"> p, h1, h2, h3, h4, ol, ul { margin: 0; } a, a:link { color: #3f76ff; text-decoration: underline; } .nl2go-default-textstyle { color: #3b3f44; font-family: georgia, serif; font-size: 16px; line-height: 1.5; word-break: break-word; } .default-button { color: #ffffff; font-family: georgia, serif; font-size: 16px; font-style: normal; font-weight: normal; line-height: 1.15; text-decoration: none; word-break: break-word; } .default-heading1 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 36px; word-break: break-word; } .default-heading2 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 32px; word-break: break-word; } .default-heading3 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 24px; word-break: break-word; } .default-heading4 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 18px; word-break: break-word; } a[x-apple-data-detectors] { color: inherit !important; text-decoration: inherit !important; font-size: inherit !important; font-family: inherit !important; font-weight: inherit !important; line-height: inherit !important; } .no-show-for-you { border: none; display: none; float: none; font-size: 0; height: 0; line-height: 0; max-height: 0; mso-hide: all; overflow: hidden; table-layout: fixed; visibility: hidden; width: 0; } </style>+ <style type="text/css" emogrify="no"> @media (max-width: 600px) { .gmx-killpill { content: " \03D1"; } .r0-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 320px !important; } .r1-i { background-color: #ffffff !important; } .r2-c { box-sizing: border-box !important; text-align: center !important; valign: top !important; width: 100% !important; } .r3-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 100% !important; } .r4-i { padding-bottom: 20px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 20px !important; } .r5-c { box-sizing: border-box !important; display: block !important; valign: top !important; width: 100% !important; } .r6-o { border-style: solid !important; width: 100% !important; } .r7-i { padding-left: 0px !important; padding-right: 0px !important; } .r8-c { box-sizing: border-box !important; text-align: left !important; valign: top !important; width: 100% !important; } .r9-o { border-style: solid !important; margin: 0 auto 0 0 !important; width: 100% !important; } .r10-i { padding-bottom: 10px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 10px !important; } .r11-i { padding-bottom: 15px !important; padding-top: 15px !important; text-align: left !important; } .r12-i { background-color: #ffffff !important; padding-bottom: 15px !important; padding-top: 15px !important; text-align: left !important; } .r13-c { box-sizing: border-box !important; padding: 0 !important; text-align: center !important; valign: top !important; width: 100% !important; } .r14-o { border-style: solid !important; margin: 0 auto 0 auto !important; margin-bottom: 15px !important; margin-top: 15px !important; width: 100% !important; } .r15-i { padding: 0 !important; text-align: center !important; } .r16-r { background-color: #006399 !important; border-radius: 4px !important; border-width: 0px !important; box-sizing: border-box; height: initial !important; padding: 0 !important; padding-bottom: 12px !important; padding-top: 12px !important; text-align: center !important; width: 100% !important; } .r17-i { padding-bottom: 0px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 0px !important; } .r18-c { box-sizing: border-box !important; text-align: center !important; width: 100% !important; } .r19-i { padding-bottom: 5px !important; padding-top: 5px !important; } .r20-i { padding-bottom: 15px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 15px !important; } .r21-o { border-bottom-color: #efefef !important; border-bottom-width: 2px !important; border-left-color: #efefef !important; border-left-width: 2px !important; border-right-color: #efefef !important; border-right-width: 2px !important; border-style: solid !important; border-top-color: #efefef !important; border-top-width: 2px !important; margin: 0 auto 0 0 !important; width: 100% !important; } .r22-i { padding-bottom: 5px !important; padding-left: 5px !important; padding-right: 5px !important; padding-top: 5px !important; text-align: left !important; } .r23-i { padding-bottom: 5px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 5px !important; } .r24-c { box-sizing: border-box !important; width: 100% !important; } .r25-i { font-size: 0px !important; padding-bottom: 10px !important; padding-left: 65px !important; padding-right: 65px !important; padding-top: 10px !important; } .r26-c { box-sizing: border-box !important; width: 32px !important; } .r27-o { border-style: solid !important; margin-right: 8px !important; width: 32px !important; } .r28-o { border-style: solid !important; margin-right: 0px !important; width: 32px !important; } .r29-i { padding-bottom: 0px !important; padding-top: 5px !important; text-align: center !important; } body { -webkit-text-size-adjust: none; } .nl2go-responsive-hide { display: none; } .nl2go-body-table { min-width: unset !important; } .mobshow { height: auto !important; overflow: visible !important; max-height: unset !important; visibility: visible !important; border: none !important; } .resp-table { display: inline-table !important; } .magic-resp { display: table-cell !important; } } </style>+ <style type="text/css"> p, h1, h2, h3, h4, ol, ul { margin: 0; } a, a:link { color: #006399; text-decoration: underline; } .nl2go-default-textstyle { color: #3b3f44; font-family: georgia, serif; font-size: 16px; line-height: 1.5; word-break: break-word; } .default-button { color: #ffffff; font-family: georgia, serif; font-size: 16px; font-style: normal; font-weight: normal; line-height: 1.15; text-decoration: none; word-break: break-word; } .default-heading1 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 36px; word-break: break-word; } .default-heading2 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 32px; word-break: break-word; } .default-heading3 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 24px; word-break: break-word; } .default-heading4 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 18px; word-break: break-word; } a[x-apple-data-detectors] { color: inherit !important; text-decoration: inherit !important; font-size: inherit !important; font-family: inherit !important; font-weight: inherit !important; line-height: inherit !important; } .no-show-for-you { border: none; display: none; float: none; font-size: 0; height: 0; line-height: 0; max-height: 0; mso-hide: all; overflow: hidden; table-layout: fixed; visibility: hidden; width: 0; } </style><!--[if mso ]><xml><o:OfficeDocumentSettings>@@ -18,9 +18,9 @@</o:OfficeDocumentSettings></xml><! [endif]-->- <style type="text/css"> a:link { color: #3f76ff; text-decoration: underline; } </style>+ <style type="text/css"> a:link { color: #006399; text-decoration: underline; } </style></head>- <body bgcolor="#ffffff" text="#3b3f44" link="#3f76ff" yahoo="fix" style="background-color: #ffffff" >+ <body bgcolor="#ffffff" text="#3b3f44" link="#006399" yahoo="fix" style="background-color: #ffffff" ><table cellspacing="0" cellpadding="0" border="0" role="presentation" class="nl2go-body-table" width="100%" style="background-color: #ffffff; width: 100%" ><tr><td>@@ -41,7 +41,7 @@<td class="r8-c" align="left"><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="150" class="r9-o" style=" table-layout: fixed; width: 150px; " ><tr>- <td style=" font-size: 0px; line-height: 0px; " > <img src="https://img.mailinblue.com/5942152/images/content_library/original/64708f00b503b149db7ff135.png" width="150" border="0" style=" display: block; width: 100%; " /> </td>+ <td style=" font-size: 0px; line-height: 0px; " > <img src="https://media.docs.plane.so/logo/new-logo-white.png" width="150" border="0" style=" display: block; width: 100%; " /> </td></tr></table></td>@@ -94,9 +94,9 @@</tr><tr><td class="r13-c" align="center" style=" align: center; padding-bottom: 15px; padding-top: 15px; valign: top; " >- <table cellspacing="0" cellpadding="0" border="0" role="presentation" width="285" class="r14-o" style=" background-color: #3f76ff; border-collapse: separate; border-color: #3f76ff; border-radius: 4px; border-style: solid; border-width: 0px; table-layout: fixed; width: 285px; " >+ <table cellspacing="0" cellpadding="0" border="0" role="presentation" width="285" class="r14-o" style=" background-color: #006399; border-collapse: separate; border-color: #006399; border-radius: 4px; border-style: solid; border-width: 0px; table-layout: fixed; width: 285px; " ><tr>- <td height="18" align="center" valign="top" class="r15-i nl2go-default-textstyle" style=" word-break: break-word; background-color: #3f76ff; border-radius: 4px; color: #ffffff; font-family: georgia, serif; font-size: 16px; font-style: normal; line-height: 1.15; padding-bottom: 12px; padding-top: 12px; text-align: center; " > <a href="{{forgot_password_url}}" class="r16-r default-button" target="_blank" data-btn="1" style=" font-style: normal; font-weight: normal; line-height: 1.15; text-decoration: none; word-break: break-word; word-wrap: break-word; display: block; -webkit-text-size-adjust: none; color: #ffffff; font-family: arial, helvetica, sans-serif; font-size: 16px; " > <span>Reset password</span></a > </td>+ <td height="18" align="center" valign="top" class="r15-i nl2go-default-textstyle" style=" word-break: break-word; background-color: #006399; border-radius: 4px; color: #ffffff; font-family: georgia, serif; font-size: 16px; font-style: normal; line-height: 1.15; padding-bottom: 12px; padding-top: 12px; text-align: center; " > <a href="{{forgot_password_url}}" class="r16-r default-button" target="_blank" data-btn="1" style=" font-style: normal; font-weight: normal; line-height: 1.15; text-decoration: none; word-break: break-word; word-wrap: break-word; display: block; -webkit-text-size-adjust: none; color: #ffffff; font-family: arial, helvetica, sans-serif; font-size: 16px; " > <span>Reset password</span></a > </td></tr></table></td>@@ -187,7 +187,7 @@<td class="nl2go-responsive-hide" width="2" style=" font-size: 0px; line-height: 1px; background-color: #efefef; " > </td><td align="left" valign="top" class="r22-i nl2go-default-textstyle" style=" color: #3b3f44; font-family: georgia, serif; font-size: 16px; word-break: break-word; line-height: 1.5; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; " ><div>- <p style="margin: 0"> <span style="font-size: 13px" >Despite our popularity, we are humbly early-stage. We are shipping fast, so please reach out to us with feature requests, major and minor nits, and anything else you find missing. We read every </span ><a href="https://discord.com/channels/1031547764020084846/1094927053867995176" title="Plane Support on Discod" target="_blank" style=" color: #3f76ff; text-decoration: underline; " ><span style="font-size: 13px" >message</span ></a ><span style="font-size: 13px" >, </span ><a href="http://twitter.com/planepowers" title="@planepowers" target="_blank" style=" color: #3f76ff; text-decoration: underline; " ><span style="font-size: 13px" >tweet</span ></a ><span style="font-size: 13px" >, and </span ><a href="https://github.com/makeplane/plane/issues" title="Plane's GitHub conversations" target="_blank" style=" color: #3f76ff; text-decoration: underline; " ><span style="font-size: 13px" >conversation</span ></a ><span style="font-size: 13px" > and update </span ><a href="https://plane.sh/plane/0b170a1c-0e55-47cb-9307-ea49a05672b5?board=kanban" title="Plane's roadmap" target="_blank" style=" color: #3f76ff; text-decoration: underline; " ><span style="font-size: 13px" >our public roadmap</span ></a ><span style="font-size: 13px" >.</span > </p>+ <p style="margin: 0"> <span style="font-size: 13px" >Despite our popularity, we are humbly early-stage. We are shipping fast, so please reach out to us with feature requests, major and minor nits, and anything else you find missing. We read every </span ><a href="https://discord.com/channels/1031547764020084846/1094927053867995176" title="Plane Support on Discod" target="_blank" style=" color: #006399; text-decoration: underline; " ><span style="font-size: 13px" >message</span ></a ><span style="font-size: 13px" >, </span ><a href="http://twitter.com/planepowers" title="@planepowers" target="_blank" style=" color: #006399; text-decoration: underline; " ><span style="font-size: 13px" >tweet</span ></a ><span style="font-size: 13px" >, and </span ><a href="https://github.com/makeplane/plane/issues" title="Plane's GitHub conversations" target="_blank" style=" color: #006399; text-decoration: underline; " ><span style="font-size: 13px" >conversation</span ></a ><span style="font-size: 13px" > and update </span ><a href="https://plane.sh/plane/0b170a1c-0e55-47cb-9307-ea49a05672b5?board=kanban" title="Plane's roadmap" target="_blank" style=" color: #006399; text-decoration: underline; " ><span style="font-size: 13px" >our public roadmap</span ></a ><span style="font-size: 13px" >.</span > </p></div></td><td class="nl2go-responsive-hide" width="2" style=" font-size: 0px; line-height: 1px; background-color: #efefef; " > </td>@@ -236,7 +236,7 @@<th width="40" class="r26-c mobshow resp-table" style=" font-weight: normal; " ><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r27-o" style=" table-layout: fixed; width: 100%; " ><tr>- <td class="r19-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://github.com/makeplane" target="_blank" style=" color: #3f76ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/github_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td>+ <td class="r19-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://github.com/makeplane" target="_blank" style=" color: #006399; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/github_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td><td class="nl2go-responsive-hide" width="8" style=" font-size: 0px; line-height: 1px; " > </td></tr></table>@@ -244,7 +244,7 @@<th width="40" class="r26-c mobshow resp-table" style=" font-weight: normal; " ><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r27-o" style=" table-layout: fixed; width: 100%; " ><tr>- <td class="r19-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://www.linkedin.com/company/planepowers/" target="_blank" style=" color: #3f76ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/linkedin_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td>+ <td class="r19-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://www.linkedin.com/company/planepowers/" target="_blank" style=" color: #006399; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/linkedin_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td><td class="nl2go-responsive-hide" width="8" style=" font-size: 0px; line-height: 1px; " > </td></tr></table>@@ -252,7 +252,7 @@<th width="40" class="r26-c mobshow resp-table" style=" font-weight: normal; " ><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r27-o" style=" table-layout: fixed; width: 100%; " ><tr>- <td class="r19-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://twitter.com/planepowers" target="_blank" style=" color: #3f76ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/twitter_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td>+ <td class="r19-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://twitter.com/planepowers" target="_blank" style=" color: #006399; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/twitter_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td><td class="nl2go-responsive-hide" width="8" style=" font-size: 0px; line-height: 1px; " > </td></tr></table>@@ -260,7 +260,7 @@<th width="32" class="r26-c mobshow resp-table" style=" font-weight: normal; " ><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r28-o" style=" table-layout: fixed; width: 100%; " ><tr>- <td class="r19-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://plane.so/" target="_blank" style=" color: #3f76ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/website_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td>+ <td class="r19-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://plane.so/" target="_blank" style=" color: #006399; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/website_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td></tr></table></th>diff --git a/apps/api/templates/emails/auth/magic_signin.html b/apps/api/templates/emails/auth/magic_signin.htmlindex a7a86a94c9..c32b399fbc 100644--- a/apps/api/templates/emails/auth/magic_signin.html+++ b/apps/api/templates/emails/auth/magic_signin.html@@ -9,7 +9,7 @@<style type="text/css" emogrify="no"> #outlook a { padding: 0; } .ExternalClass { width: 100%; } .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div { line-height: 100%; } table td { border-collapse: collapse; mso-line-height-rule: exactly; } .editable.image { font-size: 0 !important; line-height: 0 !important; } .nl2go_preheader { display: none !important; mso-hide: all !important; mso-line-height-rule: exactly; visibility: hidden !important; line-height: 0px !important; font-size: 0px !important; } body { width: 100% !important; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; margin: 0; padding: 0; } img { outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; } a img { border: none; } table { border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; } th { font-weight: normal; text-align: left; } *[class="gmail-fix"] { display: none !important; } </style><style type="text/css" emogrify="no"> @media (max-width: 600px) { .gmx-killpill { content: " \03D1"; } } </style><style type="text/css" emogrify="no"> @media (max-width: 600px) { .gmx-killpill { content: " \03D1"; } .r0-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 320px !important; } .r1-i { background-color: #ffffff !important; } .r2-c { box-sizing: border-box !important; text-align: center !important; valign: top !important; width: 100% !important; } .r3-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 100% !important; } .r4-i { padding-bottom: 20px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 20px !important; } .r5-c { box-sizing: border-box !important; display: block !important; valign: top !important; width: 100% !important; } .r6-o { border-style: solid !important; width: 100% !important; } .r7-i { padding-left: 0px !important; padding-right: 0px !important; } .r8-c { box-sizing: border-box !important; text-align: left !important; valign: top !important; width: 100% !important; } .r9-o { border-style: solid !important; margin: 0 auto 0 0 !important; width: 100% !important; } .r10-i { padding-bottom: 15px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 15px !important; } .r11-i { padding-bottom: 10px !important; padding-top: 10px !important; text-align: left !important; } .r12-i { padding-bottom: 10px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 10px !important; } .r13-o { border-bottom-color: #d9e4ff !important; border-bottom-width: 1px !important; border-left-color: #d9e4ff !important; border-left-width: 1px !important; border-right-color: #d9e4ff !important; border-right-width: 1px !important; border-style: solid !important; border-top-color: #d9e4ff !important; border-top-width: 1px !important; margin: 0 auto 0 0 !important; width: 100% !important; } .r14-i { background-color: #ecf1ff !important; padding-bottom: 10px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 10px !important; text-align: left !important; } .r15-o { border-bottom-color: #efefef !important; border-bottom-width: 2px !important; border-left-color: #efefef !important; border-left-width: 2px !important; border-right-color: #efefef !important; border-right-width: 2px !important; border-style: solid !important; border-top-color: #efefef !important; border-top-width: 2px !important; margin: 0 auto 0 0 !important; width: 100% !important; } .r16-i { padding-bottom: 5px !important; padding-left: 5px !important; padding-right: 5px !important; padding-top: 5px !important; text-align: left !important; } .r17-i { padding-bottom: 5px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 5px !important; } .r18-c { box-sizing: border-box !important; text-align: center !important; width: 100% !important; } .r19-c { box-sizing: border-box !important; width: 100% !important; } .r20-i { font-size: 0px !important; padding-bottom: 10px !important; padding-left: 65px !important; padding-right: 65px !important; padding-top: 10px !important; } .r21-c { box-sizing: border-box !important; width: 32px !important; } .r22-o { border-style: solid !important; margin-right: 8px !important; width: 32px !important; } .r23-i { padding-bottom: 5px !important; padding-top: 5px !important; } .r24-o { border-style: solid !important; margin-right: 0px !important; width: 32px !important; } .r25-i { padding-bottom: 0px !important; padding-top: 5px !important; text-align: center !important; } body { -webkit-text-size-adjust: none; } .nl2go-responsive-hide { display: none; } .nl2go-body-table { min-width: unset !important; } .mobshow { height: auto !important; overflow: visible !important; max-height: unset !important; visibility: visible !important; border: none !important; } .resp-table { display: inline-table !important; } .magic-resp { display: table-cell !important; } } </style>- <style type="text/css"> p, h1, h2, h3, h4, ol, ul { margin: 0; } a, a:link { color: #3f76ff; text-decoration: underline; } .nl2go-default-textstyle { color: #3b3f44; font-family: georgia, serif; font-size: 16px; line-height: 1.5; word-break: break-word; } .default-button { color: #ffffff; font-family: georgia, serif; font-size: 16px; font-style: normal; font-weight: normal; line-height: 1.15; text-decoration: none; word-break: break-word; } .default-heading1 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 36px; word-break: break-word; } .default-heading2 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 32px; word-break: break-word; } .default-heading3 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 24px; word-break: break-word; } .default-heading4 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 18px; word-break: break-word; } a[x-apple-data-detectors] { color: inherit !important; text-decoration: inherit !important; font-size: inherit !important; font-family: inherit !important; font-weight: inherit !important; line-height: inherit !important; } .no-show-for-you { border: none; display: none; float: none; font-size: 0; height: 0; line-height: 0; max-height: 0; mso-hide: all; overflow: hidden; table-layout: fixed; visibility: hidden; width: 0; } </style>+ <style type="text/css"> p, h1, h2, h3, h4, ol, ul { margin: 0; } a, a:link { color: #006399; text-decoration: underline; } .nl2go-default-textstyle { color: #3b3f44; font-family: georgia, serif; font-size: 16px; line-height: 1.5; word-break: break-word; } .default-button { color: #ffffff; font-family: georgia, serif; font-size: 16px; font-style: normal; font-weight: normal; line-height: 1.15; text-decoration: none; word-break: break-word; } .default-heading1 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 36px; word-break: break-word; } .default-heading2 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 32px; word-break: break-word; } .default-heading3 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 24px; word-break: break-word; } .default-heading4 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 18px; word-break: break-word; } a[x-apple-data-detectors] { color: inherit !important; text-decoration: inherit !important; font-size: inherit !important; font-family: inherit !important; font-weight: inherit !important; line-height: inherit !important; } .no-show-for-you { border: none; display: none; float: none; font-size: 0; height: 0; line-height: 0; max-height: 0; mso-hide: all; overflow: hidden; table-layout: fixed; visibility: hidden; width: 0; } </style><!--[if mso ]><xml><o:OfficeDocumentSettings>@@ -18,9 +18,9 @@</o:OfficeDocumentSettings></xml><! [endif]-->- <style type="text/css"> a:link { color: #3f76ff; text-decoration: underline; } </style>+ <style type="text/css"> a:link { color: #006399; text-decoration: underline; } </style></head>- <body bgcolor="#ffffff" text="#3b3f44" link="#3f76ff" yahoo="fix" style="background-color: #ffffff" >+ <body bgcolor="#ffffff" text="#3b3f44" link="#006399" yahoo="fix" style="background-color: #ffffff" ><table cellspacing="0" cellpadding="0" border="0" role="presentation" class="nl2go-body-table" width="100%" style="background-color: #ffffff; width: 100%" ><tr><td>@@ -41,7 +41,7 @@<td class="r8-c" align="left"><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="150" class="r9-o" style=" table-layout: fixed; width: 150px; " ><tr>- <td style=" font-size: 0px; line-height: 0px; " > <img src="https://img.mailinblue.com/5942152/images/content_library/original/64708f00b503b149db7ff135.png" width="150" border="0" style=" display: block; width: 100%; " /> </td>+ <td style=" font-size: 0px; line-height: 0px; " > <img src="https://media.docs.plane.so/logo/new-logo-white.png" width="150" border="0" style=" display: block; width: 100%; " /> </td></tr></table></td>@@ -80,7 +80,7 @@</td></tr></table>- </td>+ </td></tr></table></th>@@ -145,7 +145,7 @@<td class="nl2go-responsive-hide" width="2" style=" font-size: 0px; line-height: 1px; background-color: #efefef; " > </td><td align="left" valign="top" class="r16-i nl2go-default-textstyle" style=" color: #3b3f44; font-family: georgia, serif; font-size: 16px; word-break: break-word; line-height: 1.5; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; " ><div>- <p style="margin: 0"> <span style="font-size: 13px" >Despite our popularity, we are humbly early-stage. We are shipping fast, so please reach out to us with feature requests, major and minor nits, and anything else you find missing. We read every </span ><a href="https://discord.com/channels/1031547764020084846/1094927053867995176" title="Plane Support on Discod" target="_blank" style=" color: #3f76ff; text-decoration: underline; " ><span style="font-size: 13px" >message</span ></a ><span style="font-size: 13px" >, </span ><a href="http://twitter.com/planepowers" title="@planepowers" target="_blank" style=" color: #3f76ff; text-decoration: underline; " ><span style="font-size: 13px" >tweet</span ></a ><span style="font-size: 13px" >, and </span ><a href="https://github.com/makeplane/plane/issues" title="Plane's GitHub conversations" target="_blank" style=" color: #3f76ff; text-decoration: underline; " ><span style="font-size: 13px" >conversation</span ></a ><span style="font-size: 13px" > and update </span ><a href="https://plane.sh/plane/0b170a1c-0e55-47cb-9307-ea49a05672b5?board=kanban" title="Plane's roadmap" target="_blank" style=" color: #3f76ff; text-decoration: underline; " ><span style="font-size: 13px" >our public roadmap</span ></a ><span style="font-size: 13px" >.</span > </p>+ <p style="margin: 0"> <span style="font-size: 13px" >Despite our popularity, we are humbly early-stage. We are shipping fast, so please reach out to us with feature requests, major and minor nits, and anything else you find missing. We read every </span ><a href="https://discord.com/channels/1031547764020084846/1094927053867995176" title="Plane Support on Discod" target="_blank" style=" color: #006399; text-decoration: underline; " ><span style="font-size: 13px" >message</span ></a ><span style="font-size: 13px" >, </span ><a href="http://twitter.com/planepowers" title="@planepowers" target="_blank" style=" color: #006399; text-decoration: underline; " ><span style="font-size: 13px" >tweet</span ></a ><span style="font-size: 13px" >, and </span ><a href="https://github.com/makeplane/plane/issues" title="Plane's GitHub conversations" target="_blank" style=" color: #006399; text-decoration: underline; " ><span style="font-size: 13px" >conversation</span ></a ><span style="font-size: 13px" > and update </span ><a href="https://plane.sh/plane/0b170a1c-0e55-47cb-9307-ea49a05672b5?board=kanban" title="Plane's roadmap" target="_blank" style=" color: #006399; text-decoration: underline; " ><span style="font-size: 13px" >our public roadmap</span ></a ><span style="font-size: 13px" >.</span > </p></div></td><td class="nl2go-responsive-hide" width="2" style=" font-size: 0px; line-height: 1px; background-color: #efefef; " > </td>@@ -194,7 +194,7 @@<th width="40" class="r21-c mobshow resp-table" style=" font-weight: normal; " ><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r22-o" style=" table-layout: fixed; width: 100%; " ><tr>- <td class="r23-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://github.com/makeplane" target="_blank" style=" color: #3f76ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/github_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td>+ <td class="r23-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://github.com/makeplane" target="_blank" style=" color: #006399; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/github_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td><td class="nl2go-responsive-hide" width="8" style=" font-size: 0px; line-height: 1px; " > </td></tr></table>@@ -202,7 +202,7 @@<th width="40" class="r21-c mobshow resp-table" style=" font-weight: normal; " ><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r22-o" style=" table-layout: fixed; width: 100%; " ><tr>- <td class="r23-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://www.linkedin.com/company/planepowers/" target="_blank" style=" color: #3f76ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/linkedin_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td>+ <td class="r23-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://www.linkedin.com/company/planepowers/" target="_blank" style=" color: #006399; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/linkedin_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td><td class="nl2go-responsive-hide" width="8" style=" font-size: 0px; line-height: 1px; " > </td></tr></table>@@ -210,7 +210,7 @@<th width="40" class="r21-c mobshow resp-table" style=" font-weight: normal; " ><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r22-o" style=" table-layout: fixed; width: 100%; " ><tr>- <td class="r23-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://twitter.com/planepowers" target="_blank" style=" color: #3f76ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/twitter_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td>+ <td class="r23-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://twitter.com/planepowers" target="_blank" style=" color: #006399; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/twitter_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td><td class="nl2go-responsive-hide" width="8" style=" font-size: 0px; line-height: 1px; " > </td></tr></table>@@ -218,7 +218,7 @@<th width="32" class="r21-c mobshow resp-table" style=" font-weight: normal; " ><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r24-o" style=" table-layout: fixed; width: 100%; " ><tr>- <td class="r23-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://plane.so/" target="_blank" style=" color: #3f76ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/website_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td>+ <td class="r23-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://plane.so/" target="_blank" style=" color: #006399; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/website_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td></tr></table></th>diff --git a/apps/api/templates/emails/invitations/project_invitation.html b/apps/api/templates/emails/invitations/project_invitation.htmlindex 0a40d42bf8..254408ac57 100644--- a/apps/api/templates/emails/invitations/project_invitation.html+++ b/apps/api/templates/emails/invitations/project_invitation.html@@ -8,7 +8,7 @@<title> {{ first_name }} invited you to join {{ project_name }} on Plane </title><style type="text/css" emogrify="no"> #outlook a { padding: 0; } .ExternalClass { width: 100%; } .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div { line-height: 100%; } table td { border-collapse: collapse; mso-line-height-rule: exactly; } .editable.image { font-size: 0 !important; line-height: 0 !important; } .nl2go_preheader { display: none !important; mso-hide: all !important; mso-line-height-rule: exactly; visibility: hidden !important; line-height: 0px !important; font-size: 0px !important; } body { width: 100% !important; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; margin: 0; padding: 0; } img { outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; } a img { border: none; } table { border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; } th { font-weight: normal; text-align: left; } *[class="gmail-fix"] { display: none !important; } </style><style type="text/css" emogrify="no"> @media (max-width: 600px) { .gmx-killpill { content: " \03D1"; } } </style>- <style type="text/css" emogrify="no"> @media (max-width: 600px) { .gmx-killpill { content: " \03D1"; } .r0-c { box-sizing: border-box !important; text-align: center !important; valign: top !important; width: 320px !important; } .r1-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 320px !important; } .r2-i { background-color: #ffffff !important; } .r3-c { box-sizing: border-box !important; text-align: center !important; valign: top !important; width: 100% !important; } .r4-o { border-style: solid !important; margin: 0 auto 0 auto !important; margin-top: 20px !important; width: 100% !important; } .r5-i { background-color: #f8f9fa !important; padding-bottom: 20px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 20px !important; } .r6-c { box-sizing: border-box !important; display: block !important; valign: top !important; width: 100% !important; } .r7-o { border-style: solid !important; width: 100% !important; } .r8-i { padding-left: 0px !important; padding-right: 0px !important; } .r9-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 100% !important; } .r10-i { padding-bottom: 35px !important; padding-top: 15px !important; } .r11-c { box-sizing: border-box !important; text-align: left !important; valign: top !important; width: 100% !important; } .r12-o { border-style: solid !important; margin: 0 auto 0 0 !important; width: 100% !important; } .r13-i { padding-left: 20px !important; padding-right: 20px !important; padding-top: 0px !important; text-align: center !important; } .r14-o { border-style: solid !important; margin: 0 auto 0 auto !important; margin-bottom: 20px !important; margin-top: 20px !important; width: 100% !important; } .r15-i { text-align: center !important; } .r16-r { background-color: #ffffff !important; border-color: #3f76ff !important; border-radius: 4px !important; border-width: 1px !important; box-sizing: border-box; height: initial !important; padding-bottom: 7px !important; padding-left: 20px !important; padding-right: 20px !important; padding-top: 7px !important; text-align: center !important; width: 100% !important; } .r17-i { padding-bottom: 15px !important; padding-left: 20px !important; padding-right: 20px !important; padding-top: 15px !important; text-align: left !important; } .r18-i { background-color: #eff2f7 !important; padding-bottom: 20px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 20px !important; } .r19-i { padding-bottom: 15px !important; padding-top: 15px !important; } .r20-i { color: #3b3f44 !important; padding-bottom: 0px !important; padding-top: 0px !important; text-align: center !important; } .r21-c { box-sizing: border-box !important; text-align: center !important; width: 100% !important; } .r22-c { box-sizing: border-box !important; width: 100% !important; } .r23-i { font-size: 0px !important; padding-bottom: 15px !important; padding-left: 65px !important; padding-right: 65px !important; padding-top: 15px !important; } .r24-c { box-sizing: border-box !important; width: 32px !important; } .r25-o { border-style: solid !important; margin-right: 8px !important; width: 32px !important; } .r26-i { padding-bottom: 5px !important; padding-top: 5px !important; } .r27-o { border-style: solid !important; margin-right: 0px !important; width: 32px !important; } .r28-i { color: #3b3f44 !important; padding-bottom: 15px !important; padding-top: 15px !important; text-align: center !important; } .r29-i { padding-bottom: 15px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; } .r30-c { box-sizing: border-box !important; text-align: center !important; valign: top !important; width: 129px !important; } .r31-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 129px !important; } body { -webkit-text-size-adjust: none; } .nl2go-responsive-hide { display: none; } .nl2go-body-table { min-width: unset !important; } .mobshow { height: auto !important; overflow: visible !important; max-height: unset !important; visibility: visible !important; border: none !important; } .resp-table { display: inline-table !important; } .magic-resp { display: table-cell !important; } } </style>+ <style type="text/css" emogrify="no"> @media (max-width: 600px) { .gmx-killpill { content: " \03D1"; } .r0-c { box-sizing: border-box !important; text-align: center !important; valign: top !important; width: 320px !important; } .r1-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 320px !important; } .r2-i { background-color: #ffffff !important; } .r3-c { box-sizing: border-box !important; text-align: center !important; valign: top !important; width: 100% !important; } .r4-o { border-style: solid !important; margin: 0 auto 0 auto !important; margin-top: 20px !important; width: 100% !important; } .r5-i { background-color: #f8f9fa !important; padding-bottom: 20px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 20px !important; } .r6-c { box-sizing: border-box !important; display: block !important; valign: top !important; width: 100% !important; } .r7-o { border-style: solid !important; width: 100% !important; } .r8-i { padding-left: 0px !important; padding-right: 0px !important; } .r9-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 100% !important; } .r10-i { padding-bottom: 35px !important; padding-top: 15px !important; } .r11-c { box-sizing: border-box !important; text-align: left !important; valign: top !important; width: 100% !important; } .r12-o { border-style: solid !important; margin: 0 auto 0 0 !important; width: 100% !important; } .r13-i { padding-left: 20px !important; padding-right: 20px !important; padding-top: 0px !important; text-align: center !important; } .r14-o { border-style: solid !important; margin: 0 auto 0 auto !important; margin-bottom: 20px !important; margin-top: 20px !important; width: 100% !important; } .r15-i { text-align: center !important; } .r16-r { background-color: #ffffff !important; border-color: #006399 !important; border-radius: 4px !important; border-width: 1px !important; box-sizing: border-box; height: initial !important; padding-bottom: 7px !important; padding-left: 20px !important; padding-right: 20px !important; padding-top: 7px !important; text-align: center !important; width: 100% !important; } .r17-i { padding-bottom: 15px !important; padding-left: 20px !important; padding-right: 20px !important; padding-top: 15px !important; text-align: left !important; } .r18-i { background-color: #eff2f7 !important; padding-bottom: 20px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 20px !important; } .r19-i { padding-bottom: 15px !important; padding-top: 15px !important; } .r20-i { color: #3b3f44 !important; padding-bottom: 0px !important; padding-top: 0px !important; text-align: center !important; } .r21-c { box-sizing: border-box !important; text-align: center !important; width: 100% !important; } .r22-c { box-sizing: border-box !important; width: 100% !important; } .r23-i { font-size: 0px !important; padding-bottom: 15px !important; padding-left: 65px !important; padding-right: 65px !important; padding-top: 15px !important; } .r24-c { box-sizing: border-box !important; width: 32px !important; } .r25-o { border-style: solid !important; margin-right: 8px !important; width: 32px !important; } .r26-i { padding-bottom: 5px !important; padding-top: 5px !important; } .r27-o { border-style: solid !important; margin-right: 0px !important; width: 32px !important; } .r28-i { color: #3b3f44 !important; padding-bottom: 15px !important; padding-top: 15px !important; text-align: center !important; } .r29-i { padding-bottom: 15px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 0px !important; } .r30-c { box-sizing: border-box !important; text-align: center !important; valign: top !important; width: 129px !important; } .r31-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 129px !important; } body { -webkit-text-size-adjust: none; } .nl2go-responsive-hide { display: none; } .nl2go-body-table { min-width: unset !important; } .mobshow { height: auto !important; overflow: visible !important; max-height: unset !important; visibility: visible !important; border: none !important; } .resp-table { display: inline-table !important; } .magic-resp { display: table-cell !important; } } </style><!--[if !mso]><!--><style type="text/css" emogrify="no"> @import url("https://fonts.googleapis.com/css2?family=Bitter&family=Roboto"); </style><!--<![endif]-->@@ -58,7 +58,7 @@<td height="15" style=" font-size: 15px; line-height: 15px; " > </td></tr><tr>- <td class="r10-i" style=" font-size: 0px; line-height: 0px; " > <img src="https://ik.imagekit.io/w2okwbtu2/Plane_Logo_pIhtbyIoa.png?ik-sdk-version=javascript-1.4.3&updatedAt=1670873447444" width="120" border="0" class="" style=" display: block; width: 100%; " /> </td>+ <td class="r10-i" style=" font-size: 0px; line-height: 0px; " > <img src="https://media.docs.plane.so/logo/new-logo-white.png" width="120" border="0" class="" style=" display: block; width: 100%; " /> </td></tr><tr class="nl2go-responsive-hide" ><td height="35" style=" font-size: 35px; line-height: 35px; " > </td>@@ -91,17 +91,17 @@<tr><td height="18" align="center" valign="top" class="r15-i nl2go-default-textstyle" style=" color: #3b3f44; font-family: arial, helvetica, sans-serif; font-size: 16px; line-height: 1.5; " ><!--[if mso]>- <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{invitation_url}}" style=" v-text-anchor: middle; height: 33px; width: 301px; " arcsize="12%" fillcolor="#ffffff" strokecolor="#3f76ff" strokeweight="1px" data-btn="1" >+ <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{invitation_url}}" style=" v-text-anchor: middle; height: 33px; width: 301px; " arcsize="12%" fillcolor="#ffffff" strokecolor="#006399" strokeweight="1px" data-btn="1" ><w:anchorlock /><div style="display: none" ><center class="default-button" >- <p> <span style=" color: #3f76ff; " >Accept the invite</span > </p>+ <p> <span style=" color: #006399; " >Accept the invite</span > </p></center></div></v:roundrect><![endif]--> <!--[if !mso]><!-- -->- <a href="{{invitation_url}}" class="r16-r default-button" target="_blank" rel="noopener noreferrer" data-btn="1" style=" font-style: normal; font-weight: bold; line-height: 1.15; text-decoration: none; border-style: solid; word-wrap: break-word; display: inline-block; -webkit-text-size-adjust: none; mso-hide: all; background-color: #ffffff; border-color: #3f76ff; border-radius: 4px; border-width: 1px; color: #ffffff; font-family: arial, helvetica, sans-serif; font-size: 16px; height: 18px; padding-bottom: 7px; padding-left: 20px; padding-right: 20px; padding-top: 7px; width: 258px; " >- <p style="margin: 0"> <span style="color: #3f76ff" >Accept the invite</span > </p>+ <a href="{{invitation_url}}" class="r16-r default-button" target="_blank" rel="noopener noreferrer" data-btn="1" style=" font-style: normal; font-weight: bold; line-height: 1.15; text-decoration: none; border-style: solid; word-wrap: break-word; display: inline-block; -webkit-text-size-adjust: none; mso-hide: all; background-color: #ffffff; border-color: #006399; border-radius: 4px; border-width: 1px; color: #ffffff; font-family: arial, helvetica, sans-serif; font-size: 16px; height: 18px; padding-bottom: 7px; padding-left: 20px; padding-right: 20px; padding-top: 7px; width: 258px; " >+ <p style="margin: 0"> <span style="color: #006399" >Accept the invite</span > </p></a><!--<![endif]--></td>diff --git a/apps/api/templates/emails/invitations/workspace_invitation.html b/apps/api/templates/emails/invitations/workspace_invitation.htmlindex a947453831..619f03992a 100644--- a/apps/api/templates/emails/invitations/workspace_invitation.html+++ b/apps/api/templates/emails/invitations/workspace_invitation.html@@ -8,8 +8,8 @@<title>{{first_name}} has invited you to join them in {{workspace_name}} on Plane.</title><style type="text/css" emogrify="no">#outlook a { padding:0; } .ExternalClass { width:100%; } .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div { line-height: 100%; } table td { border-collapse: collapse; mso-line-height-rule: exactly; } .editable.image { font-size: 0 !important; line-height: 0 !important; } .nl2go_preheader { display: none !important; mso-hide:all !important; mso-line-height-rule: exactly; visibility: hidden !important; line-height: 0px !important; font-size: 0px !important; } body { width:100% !important; -webkit-text-size-adjust:100%; -ms-text-size-adjust:100%; margin:0; padding:0; } img { outline:none; text-decoration:none; -ms-interpolation-mode: bicubic; } a img { border:none; } table { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; } th { font-weight: normal; text-align: left; } *[class="gmail-fix"] { display: none !important; } </style><style type="text/css" emogrify="no"> @media (max-width: 600px) { .gmx-killpill { content: ' \03D1';} } </style>- <style type="text/css" emogrify="no">@media (max-width: 600px) { .gmx-killpill { content: ' \03D1';} .r0-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 320px !important } .r1-i { background-color: #ffffff !important } .r2-c { box-sizing: border-box !important; text-align: center !important; valign: top !important; width: 100% !important } .r3-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 100% !important } .r4-i { padding-bottom: 20px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 20px !important } .r5-c { box-sizing: border-box !important; display: block !important; valign: top !important; width: 100% !important } .r6-o { border-style: solid !important; width: 100% !important } .r7-i { padding-left: 0px !important; padding-right: 0px !important } .r8-i { padding-bottom: 20px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 20px !important } .r9-c { box-sizing: border-box !important; text-align: left !important; valign: top !important; width: 100% !important } .r10-o { border-style: solid !important; margin: 0 auto 0 0 !important; width: 100% !important } .r11-i { padding-top: 15px !important; text-align: center !important } .r12-c { box-sizing: border-box !important; padding-bottom: 15px !important; padding-top: 15px !important; text-align: left !important; valign: top !important; width: 100% !important } .r13-c { box-sizing: border-box !important; padding: 0 !important; text-align: center !important; valign: top !important; width: 100% !important } .r14-o { border-style: solid !important; margin: 0 auto 0 auto !important; margin-bottom: 15px !important; margin-top: 15px !important; width: 100% !important } .r15-i { padding: 0 !important; text-align: center !important } .r16-r { background-color: #3f76ff !important; border-radius: 4px !important; border-width: 0px !important; box-sizing: border-box; height: initial !important; padding: 0 !important; padding-bottom: 12px !important; padding-left: 5px !important; padding-right: 5px !important; padding-top: 12px !important; text-align: center !important; width: 100% !important } .r17-c { box-sizing: border-box !important; text-align: center !important; width: 100% !important } .r18-c { box-sizing: border-box !important; width: 100% !important } .r19-i { font-size: 0px !important; padding-bottom: 15px !important; padding-left: 65px !important; padding-right: 65px !important; padding-top: 15px !important } .r20-c { box-sizing: border-box !important; width: 32px !important } .r21-o { border-style: solid !important; margin-right: 8px !important; width: 32px !important } .r22-i { padding-bottom: 5px !important; padding-top: 5px !important } .r23-o { border-style: solid !important; margin-right: 0px !important; width: 32px !important } body { -webkit-text-size-adjust: none } .nl2go-responsive-hide { display: none } .nl2go-body-table { min-width: unset !important } .mobshow { height: auto !important; overflow: visible !important; max-height: unset !important; visibility: visible !important; border: none !important } .resp-table { display: inline-table !important } .magic-resp { display: table-cell !important } } </style>- <style type="text/css">p, h1, h2, h3, h4, ol, ul, li { margin: 0; } a, a:link { color: #3f76ff; text-decoration: underline } .nl2go-default-textstyle { color: #3b3f44; font-family: georgia, serif; font-size: 18px; line-height: 1.5; word-break: break-word } .default-button { color: #ffffff; font-family: georgia, serif; font-size: 16px; font-style: normal; font-weight: bold; line-height: 1.15; text-decoration: none; word-break: break-word } .default-heading1 { color: #1F2D3D; font-family: arial,helvetica,sans-serif; font-size: 36px; word-break: break-word } .default-heading2 { color: #1F2D3D; font-family: arial,helvetica,sans-serif; font-size: 32px; word-break: break-word } .default-heading3 { color: #1F2D3D; font-family: arial,helvetica,sans-serif; font-size: 24px; word-break: break-word } .default-heading4 { color: #1F2D3D; font-family: arial,helvetica,sans-serif; font-size: 18px; word-break: break-word } a[x-apple-data-detectors] { color: inherit !important; text-decoration: inherit !important; font-size: inherit !important; font-family: inherit !important; font-weight: inherit !important; line-height: inherit !important; } .no-show-for-you { border: none; display: none; float: none; font-size: 0; height: 0; line-height: 0; max-height: 0; mso-hide: all; overflow: hidden; table-layout: fixed; visibility: hidden; width: 0; } </style>+ <style type="text/css" emogrify="no">@media (max-width: 600px) { .gmx-killpill { content: ' \03D1';} .r0-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 320px !important } .r1-i { background-color: #ffffff !important } .r2-c { box-sizing: border-box !important; text-align: center !important; valign: top !important; width: 100% !important } .r3-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 100% !important } .r4-i { padding-bottom: 20px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 20px !important } .r5-c { box-sizing: border-box !important; display: block !important; valign: top !important; width: 100% !important } .r6-o { border-style: solid !important; width: 100% !important } .r7-i { padding-left: 0px !important; padding-right: 0px !important } .r8-i { padding-bottom: 20px !important; padding-left: 10px !important; padding-right: 10px !important; padding-top: 20px !important } .r9-c { box-sizing: border-box !important; text-align: left !important; valign: top !important; width: 100% !important } .r10-o { border-style: solid !important; margin: 0 auto 0 0 !important; width: 100% !important } .r11-i { padding-top: 15px !important; text-align: center !important } .r12-c { box-sizing: border-box !important; padding-bottom: 15px !important; padding-top: 15px !important; text-align: left !important; valign: top !important; width: 100% !important } .r13-c { box-sizing: border-box !important; padding: 0 !important; text-align: center !important; valign: top !important; width: 100% !important } .r14-o { border-style: solid !important; margin: 0 auto 0 auto !important; margin-bottom: 15px !important; margin-top: 15px !important; width: 100% !important } .r15-i { padding: 0 !important; text-align: center !important } .r16-r { background-color: #006399 !important; border-radius: 4px !important; border-width: 0px !important; box-sizing: border-box; height: initial !important; padding: 0 !important; padding-bottom: 12px !important; padding-left: 5px !important; padding-right: 5px !important; padding-top: 12px !important; text-align: center !important; width: 100% !important } .r17-c { box-sizing: border-box !important; text-align: center !important; width: 100% !important } .r18-c { box-sizing: border-box !important; width: 100% !important } .r19-i { font-size: 0px !important; padding-bottom: 15px !important; padding-left: 65px !important; padding-right: 65px !important; padding-top: 15px !important } .r20-c { box-sizing: border-box !important; width: 32px !important } .r21-o { border-style: solid !important; margin-right: 8px !important; width: 32px !important } .r22-i { padding-bottom: 5px !important; padding-top: 5px !important } .r23-o { border-style: solid !important; margin-right: 0px !important; width: 32px !important } body { -webkit-text-size-adjust: none } .nl2go-responsive-hide { display: none } .nl2go-body-table { min-width: unset !important } .mobshow { height: auto !important; overflow: visible !important; max-height: unset !important; visibility: visible !important; border: none !important } .resp-table { display: inline-table !important } .magic-resp { display: table-cell !important } } </style>+ <style type="text/css">p, h1, h2, h3, h4, ol, ul, li { margin: 0; } a, a:link { color: #006399; text-decoration: underline } .nl2go-default-textstyle { color: #3b3f44; font-family: georgia, serif; font-size: 18px; line-height: 1.5; word-break: break-word } .default-button { color: #ffffff; font-family: georgia, serif; font-size: 16px; font-style: normal; font-weight: bold; line-height: 1.15; text-decoration: none; word-break: break-word } .default-heading1 { color: #1F2D3D; font-family: arial,helvetica,sans-serif; font-size: 36px; word-break: break-word } .default-heading2 { color: #1F2D3D; font-family: arial,helvetica,sans-serif; font-size: 32px; word-break: break-word } .default-heading3 { color: #1F2D3D; font-family: arial,helvetica,sans-serif; font-size: 24px; word-break: break-word } .default-heading4 { color: #1F2D3D; font-family: arial,helvetica,sans-serif; font-size: 18px; word-break: break-word } a[x-apple-data-detectors] { color: inherit !important; text-decoration: inherit !important; font-size: inherit !important; font-family: inherit !important; font-weight: inherit !important; line-height: inherit !important; } .no-show-for-you { border: none; display: none; float: none; font-size: 0; height: 0; line-height: 0; max-height: 0; mso-hide: all; overflow: hidden; table-layout: fixed; visibility: hidden; width: 0; } </style><!--[if mso]><xml><o:OfficeDocumentSettings>@@ -18,9 +18,9 @@</o:OfficeDocumentSettings></xml><![endif]-->- <style type="text/css">a:link{color: #3f76ff; text-decoration: underline;}</style>+ <style type="text/css">a:link{color: #006399; text-decoration: underline;}</style></head>- <body bgcolor="#ffffff" text="#3b3f44" link="#3f76ff" yahoo="fix" style="background-color: #ffffff;">+ <body bgcolor="#ffffff" text="#3b3f44" link="#006399" yahoo="fix" style="background-color: #ffffff;"><table cellspacing="0" cellpadding="0" border="0" role="presentation" class="nl2go-body-table" width="100%" style="background-color: #ffffff; width: 100%;"><tr><td>@@ -41,7 +41,7 @@<td class="r2-c" align="center"><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="200" class="r3-o" style="table-layout: fixed; width: 200px;"><tr>- <td style="font-size: 0px; line-height: 0px;"> <img src="https://img.mailinblue.com/5942152/images/content_library/original/64708f00b503b149db7ff135.png" width="200" border="0" style="display: block; width: 100%;"></td>+ <td style="font-size: 0px; line-height: 0px;"> <img src="https://media.docs.plane.so/logo/new-logo-white.png" width="200" border="0" style="display: block; width: 100%;"></td></tr></table></td>@@ -88,9 +88,9 @@</tr><tr><td class="r13-c" align="center" style="align: center; padding-bottom: 15px; padding-top: 15px; valign: top;">- <table cellspacing="0" cellpadding="0" border="0" role="presentation" width="300" class="r14-o" style="background-color: #3f76ff; border-collapse: separate; border-color: #3f76ff; border-radius: 4px; border-style: solid; border-width: 0px; table-layout: fixed; width: 300px;">+ <table cellspacing="0" cellpadding="0" border="0" role="presentation" width="300" class="r14-o" style="background-color: #006399; border-collapse: separate; border-color: #006399; border-radius: 4px; border-style: solid; border-width: 0px; table-layout: fixed; width: 300px;"><tr>- <td height="18" align="center" valign="top" class="r15-i nl2go-default-textstyle" style="word-break: break-word; background-color: #3f76ff; border-radius: 4px; color: #ffffff; font-family: georgia, serif; font-size: 16px; font-style: normal; line-height: 1.15; padding-bottom: 12px; padding-left: 5px; padding-right: 5px; padding-top: 12px; text-align: center;"> <a href="{{abs_url}}" class="r16-r default-button" target="_blank" data-btn="1" style="font-style: normal; font-weight: bold; line-height: 1.15; text-decoration: none; word-break: break-word; word-wrap: break-word; display: block; -webkit-text-size-adjust: none; color: #ffffff; font-family: georgia, serif; font-size: 16px;"> <span><span style="font-family: Arial, helvetica, sans-serif;">Join them on Plane</span></span></a> </td>+ <td height="18" align="center" valign="top" class="r15-i nl2go-default-textstyle" style="word-break: break-word; background-color: #006399; border-radius: 4px; color: #ffffff; font-family: georgia, serif; font-size: 16px; font-style: normal; line-height: 1.15; padding-bottom: 12px; padding-left: 5px; padding-right: 5px; padding-top: 12px; text-align: center;"> <a href="{{abs_url}}" class="r16-r default-button" target="_blank" data-btn="1" style="font-style: normal; font-weight: bold; line-height: 1.15; text-decoration: none; word-break: break-word; word-wrap: break-word; display: block; -webkit-text-size-adjust: none; color: #ffffff; font-family: georgia, serif; font-size: 16px;"> <span><span style="font-family: Arial, helvetica, sans-serif;">Join them on Plane</span></span></a> </td></tr></table></td>@@ -131,7 +131,7 @@<th width="40" class="r20-c mobshow resp-table" style="font-weight: normal;"><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r21-o" style="table-layout: fixed; width: 100%;"><tr>- <td class="r22-i" style="font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px;"> <a href="https://github.com/makeplane" target="_blank" style="color: #3f76ff; text-decoration: underline;"> <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/github_32px.png" width="32" border="0" style="display: block; width: 100%;"></a> </td>+ <td class="r22-i" style="font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px;"> <a href="https://github.com/makeplane" target="_blank" style="color: #006399; text-decoration: underline;"> <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/github_32px.png" width="32" border="0" style="display: block; width: 100%;"></a> </td><td class="nl2go-responsive-hide" width="8" style="font-size: 0px; line-height: 1px;"> </td></tr></table>@@ -139,7 +139,7 @@<th width="40" class="r20-c mobshow resp-table" style="font-weight: normal;"><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r21-o" style="table-layout: fixed; width: 100%;"><tr>- <td class="r22-i" style="font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px;"> <a href="https://www.linkedin.com/company/planepowers/" target="_blank" style="color: #3f76ff; text-decoration: underline;"> <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/linkedin_32px.png" width="32" border="0" style="display: block; width: 100%;"></a> </td>+ <td class="r22-i" style="font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px;"> <a href="https://www.linkedin.com/company/planepowers/" target="_blank" style="color: #006399; text-decoration: underline;"> <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/linkedin_32px.png" width="32" border="0" style="display: block; width: 100%;"></a> </td><td class="nl2go-responsive-hide" width="8" style="font-size: 0px; line-height: 1px;"> </td></tr></table>@@ -147,7 +147,7 @@<th width="40" class="r20-c mobshow resp-table" style="font-weight: normal;"><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r21-o" style="table-layout: fixed; width: 100%;"><tr>- <td class="r22-i" style="font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px;"> <a href="https://twitter.com/planepowers" target="_blank" style="color: #3f76ff; text-decoration: underline;"> <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/twitter_32px.png" width="32" border="0" style="display: block; width: 100%;"></a> </td>+ <td class="r22-i" style="font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px;"> <a href="https://twitter.com/planepowers" target="_blank" style="color: #006399; text-decoration: underline;"> <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/twitter_32px.png" width="32" border="0" style="display: block; width: 100%;"></a> </td><td class="nl2go-responsive-hide" width="8" style="font-size: 0px; line-height: 1px;"> </td></tr></table>@@ -155,7 +155,7 @@<th width="32" class="r20-c mobshow resp-table" style="font-weight: normal;"><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r23-o" style="table-layout: fixed; width: 100%;"><tr>- <td class="r22-i" style="font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px;"> <a href="https://plane.so/" target="_blank" style="color: #3f76ff; text-decoration: underline;"> <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/website_32px.png" width="32" border="0" style="display: block; width: 100%;"></a> </td>+ <td class="r22-i" style="font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px;"> <a href="https://plane.so/" target="_blank" style="color: #006399; text-decoration: underline;"> <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/website_32px.png" width="32" border="0" style="display: block; width: 100%;"></a> </td></tr></table></th>diff --git a/apps/api/templates/emails/notifications/issue-updates.html b/apps/api/templates/emails/notifications/issue-updates.htmlindex 8ba91c6fea..c6fe3b2786 100644--- a/apps/api/templates/emails/notifications/issue-updates.html+++ b/apps/api/templates/emails/notifications/issue-updates.html@@ -8,14 +8,14 @@<style> *[class="gmail-fix"] { display: none !important; } </style><style type="text/css" emogrify="no"> @media (max-width: 600px) { .gmx-killpill { content: " \03D1"; } } </style></head>- <body bgcolor="#ffffff" text="#3b3f44" link="#3f76ff" yahoo="fix" style="background-color: #f7f9ff; margin: 20px" >+ <body bgcolor="#ffffff" text="#3b3f44" link="#006399" yahoo="fix" style="background-color: #f7f9ff; margin: 20px" ><div style=" width: 600px; table-layout: fixed; height: 100%; margin-left: auto; margin-right: auto; " ><!-- Header --><div><table style="width: 600px" cellspacing="0"><tr><td>- <div style="margin-left: 30px; margin-bottom: 20px; margin-top: 20px" > <img src="https://plane-marketing.s3.ap-south-1.amazonaws.com/plane-assets/emails/plane-logo.png" width="130" height="40" border="0" /> </div>+ <div style="margin-left: 30px; margin-bottom: 20px; margin-top: 20px" > <img src="https://media.docs.plane.so/logo/new-logo-white.png" width="150" border="0" /> </div></td></tr></table>diff --git a/apps/api/templates/emails/notifications/project_addition.html b/apps/api/templates/emails/notifications/project_addition.htmlindex ccf0f7a953..59c7e0e4dd 100644--- a/apps/api/templates/emails/notifications/project_addition.html+++ b/apps/api/templates/emails/notifications/project_addition.html@@ -164,7 +164,7 @@text-align: center !important;}.r15-r {- background-color: #3f76ff !important;+ background-color: #006399 !important;border-radius: 4px !important;border-width: 0px !important;box-sizing: border-box;@@ -296,7 +296,7 @@}a,a:link {- color: #3f76ff;+ color: #006399;text-decoration: underline;}.nl2go-default-textstyle {@@ -372,7 +372,7 @@[endif]--><style type="text/css">a:link {- color: #3f76ff;+ color: #006399;text-decoration: underline;}</style>@@ -380,7 +380,7 @@<bodybgcolor="#ffffff"text="#3b3f44"- link="#3f76ff"+ link="#006399"yahoo="fix"style="background-color: #ffffff">@@ -483,7 +483,7 @@"><img- src="https://img.mailinblue.com/5942152/images/content_library/original/64708f00b503b149db7ff135.png"+ src="https://media.docs.plane.so/logo/new-logo-white.png"width="150"border="0"style="@@ -672,9 +672,9 @@width="285"class="r13-o"style="- background-color: #3f76ff;+ background-color: #006399;border-collapse: separate;- border-color: #3f76ff;+ border-color: #006399;border-radius: 4px;border-style: solid;border-width: 0px;@@ -690,7 +690,7 @@class="r14-i nl2go-default-textstyle"style="word-break: break-word;- background-color: #3f76ff;+ background-color: #006399;border-radius: 4px;color: #ffffff;font-family: georgia, serif;@@ -984,7 +984,7 @@title="Plane Support on Discod"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;"><span@@ -998,7 +998,7 @@title="@planepowers"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;"><span@@ -1012,7 +1012,7 @@title="Plane's GitHub conversations"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;"><span@@ -1028,7 +1028,7 @@title="Plane's roadmap"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;"><span@@ -1248,7 +1248,7 @@href="https://github.com/makeplane"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;">@@ -1308,7 +1308,7 @@href="https://www.linkedin.com/company/planepowers/"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;">@@ -1368,7 +1368,7 @@href="https://twitter.com/planepowers"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;">@@ -1428,7 +1428,7 @@href="https://plane.so/"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;">diff --git a/apps/api/templates/emails/notifications/webhook-deactivate.html b/apps/api/templates/emails/notifications/webhook-deactivate.htmlindex 0755eb4983..272271f960 100644--- a/apps/api/templates/emails/notifications/webhook-deactivate.html+++ b/apps/api/templates/emails/notifications/webhook-deactivate.html@@ -8,8 +8,8 @@<title>{{ message }}</title><style type="text/css" emogrify="no"> #outlook a { padding: 0; } .ExternalClass { width: 100%; } .ExternalClass, .ExternalClass p, .ExternalClass span, .ExternalClass font, .ExternalClass td, .ExternalClass div { line-height: 100%; } table td { border-collapse: collapse; mso-line-height-rule: exactly; } .editable.image { font-size: 0 !important; line-height: 0 !important; } .nl2go_preheader { display: none !important; mso-hide: all !important; mso-line-height-rule: exactly; visibility: hidden !important; line-height: 0px !important; font-size: 0px !important; } body { width: 100% !important; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; margin: 0; padding: 0; } img { outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; } a img { border: none; } table { border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt; } th { font-weight: normal; text-align: left; } *[class="gmail-fix"] { display: none !important; } </style><style type="text/css" emogrify="no"> @media (max-width: 600px) { .gmx-killpill { content: " \03D1"; } } </style>- <style type="text/css" emogrify="no"> @media (max-width: 600px) { .gmx-killpill { content: " \03D1"; } .r0-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 320px !important; } .r1-i { background-color: #ffffff !important; } .r2-c { box-sizing: border-box !important; text-align: center !important; valign: top !important; width: 100% !important; } .r3-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 100% !important; } .r4-i { padding-bottom: 20px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 20px !important; } .r5-c { box-sizing: border-box !important; display: block !important; valign: top !important; width: 100% !important; } .r6-o { border-style: solid !important; width: 100% !important; } .r7-i { padding-left: 0px !important; padding-right: 0px !important; } .r8-c { box-sizing: border-box !important; text-align: left !important; valign: top !important; width: 100% !important; } .r9-o { border-style: solid !important; margin: 0 auto 0 0 !important; width: 100% !important; } .r10-i { padding-bottom: 10px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 10px !important; } .r11-i { padding-bottom: 15px !important; padding-top: 15px !important; text-align: left !important; } .r12-c { box-sizing: border-box !important; padding: 0 !important; text-align: center !important; valign: top !important; width: 100% !important; } .r13-o { border-style: solid !important; margin: 0 auto 0 auto !important; margin-bottom: 15px !important; margin-top: 15px !important; width: 100% !important; } .r14-i { padding: 0 !important; text-align: center !important; } .r15-r { background-color: #3f76ff !important; border-radius: 4px !important; border-width: 0px !important; box-sizing: border-box; height: initial !important; padding: 0 !important; padding-bottom: 12px !important; padding-top: 12px !important; text-align: center !important; width: 100% !important; } .r16-i { padding-bottom: 0px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 0px !important; } .r17-c { box-sizing: border-box !important; text-align: center !important; width: 100% !important; } .r18-i { padding-bottom: 5px !important; padding-top: 5px !important; } .r19-i { padding-bottom: 15px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 15px !important; } .r20-o { border-bottom-color: #efefef !important; border-bottom-width: 2px !important; border-left-color: #efefef !important; border-left-width: 2px !important; border-right-color: #efefef !important; border-right-width: 2px !important; border-style: solid !important; border-top-color: #efefef !important; border-top-width: 2px !important; margin: 0 auto 0 0 !important; width: 100% !important; } .r21-i { padding-bottom: 5px !important; padding-left: 5px !important; padding-right: 5px !important; padding-top: 5px !important; text-align: left !important; } .r22-i { padding-bottom: 5px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 5px !important; } .r23-c { box-sizing: border-box !important; width: 100% !important; } .r24-i { font-size: 0px !important; padding-bottom: 10px !important; padding-left: 65px !important; padding-right: 65px !important; padding-top: 10px !important; } .r25-c { box-sizing: border-box !important; width: 32px !important; } .r26-o { border-style: solid !important; margin-right: 8px !important; width: 32px !important; } .r27-o { border-style: solid !important; margin-right: 0px !important; width: 32px !important; } .r28-i { padding-bottom: 0px !important; padding-top: 5px !important; text-align: center !important; } body { -webkit-text-size-adjust: none; } .nl2go-responsive-hide { display: none; } .nl2go-body-table { min-width: unset !important; } .mobshow { height: auto !important; overflow: visible !important; max-height: unset !important; visibility: visible !important; border: none !important; } .resp-table { display: inline-table !important; } .magic-resp { display: table-cell !important; } } </style>- <style type="text/css"> p, h1, h2, h3, h4, ol, ul { margin: 0; } a, a:link { color: #3f76ff; text-decoration: underline; } .nl2go-default-textstyle { color: #3b3f44; font-family: georgia, serif; font-size: 16px; line-height: 1.5; word-break: break-word; } .default-button { color: #ffffff; font-family: georgia, serif; font-size: 16px; font-style: normal; font-weight: normal; line-height: 1.15; text-decoration: none; word-break: break-word; } .default-heading1 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 36px; word-break: break-word; } .default-heading2 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 32px; word-break: break-word; } .default-heading3 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 24px; word-break: break-word; } .default-heading4 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 18px; word-break: break-word; } a[x-apple-data-detectors] { color: inherit !important; text-decoration: inherit !important; font-size: inherit !important; font-family: inherit !important; font-weight: inherit !important; line-height: inherit !important; } .no-show-for-you { border: none; display: none; float: none; font-size: 0; height: 0; line-height: 0; max-height: 0; mso-hide: all; overflow: hidden; table-layout: fixed; visibility: hidden; width: 0; } </style>+ <style type="text/css" emogrify="no"> @media (max-width: 600px) { .gmx-killpill { content: " \03D1"; } .r0-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 320px !important; } .r1-i { background-color: #ffffff !important; } .r2-c { box-sizing: border-box !important; text-align: center !important; valign: top !important; width: 100% !important; } .r3-o { border-style: solid !important; margin: 0 auto 0 auto !important; width: 100% !important; } .r4-i { padding-bottom: 20px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 20px !important; } .r5-c { box-sizing: border-box !important; display: block !important; valign: top !important; width: 100% !important; } .r6-o { border-style: solid !important; width: 100% !important; } .r7-i { padding-left: 0px !important; padding-right: 0px !important; } .r8-c { box-sizing: border-box !important; text-align: left !important; valign: top !important; width: 100% !important; } .r9-o { border-style: solid !important; margin: 0 auto 0 0 !important; width: 100% !important; } .r10-i { padding-bottom: 10px !important; padding-left: 0px !important; padding-right: 0px !important; padding-top: 10px !important; } .r11-i { padding-bottom: 15px !important; padding-top: 15px !important; text-align: left !important; } .r12-c { box-sizing: border-box !important; padding: 0 !important; text-align: center !important; valign: top !important; width: 100% !important; } .r13-o { border-style: solid !important; margin: 0 auto 0 auto !important; margin-bottom: 15px !important; margin-top: 15px !important; width: 100% !important; } .r14-i { padding: 0 !important; text-align: center !important; } .r15-r { background-color: #006399 !important; border-radius: 4px !important; border-width: 0px !important; box-sizing: border-box; height: initial !important; padding: 0 !important; padding-bottom: 12px !important; padding-top: 12px !important; text-align: center !important; width: 100% !important; } .r16-i { padding-bottom: 0px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 0px !important; } .r17-c { box-sizing: border-box !important; text-align: center !important; width: 100% !important; } .r18-i { padding-bottom: 5px !important; padding-top: 5px !important; } .r19-i { padding-bottom: 15px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 15px !important; } .r20-o { border-bottom-color: #efefef !important; border-bottom-width: 2px !important; border-left-color: #efefef !important; border-left-width: 2px !important; border-right-color: #efefef !important; border-right-width: 2px !important; border-style: solid !important; border-top-color: #efefef !important; border-top-width: 2px !important; margin: 0 auto 0 0 !important; width: 100% !important; } .r21-i { padding-bottom: 5px !important; padding-left: 5px !important; padding-right: 5px !important; padding-top: 5px !important; text-align: left !important; } .r22-i { padding-bottom: 5px !important; padding-left: 15px !important; padding-right: 15px !important; padding-top: 5px !important; } .r23-c { box-sizing: border-box !important; width: 100% !important; } .r24-i { font-size: 0px !important; padding-bottom: 10px !important; padding-left: 65px !important; padding-right: 65px !important; padding-top: 10px !important; } .r25-c { box-sizing: border-box !important; width: 32px !important; } .r26-o { border-style: solid !important; margin-right: 8px !important; width: 32px !important; } .r27-o { border-style: solid !important; margin-right: 0px !important; width: 32px !important; } .r28-i { padding-bottom: 0px !important; padding-top: 5px !important; text-align: center !important; } body { -webkit-text-size-adjust: none; } .nl2go-responsive-hide { display: none; } .nl2go-body-table { min-width: unset !important; } .mobshow { height: auto !important; overflow: visible !important; max-height: unset !important; visibility: visible !important; border: none !important; } .resp-table { display: inline-table !important; } .magic-resp { display: table-cell !important; } } </style>+ <style type="text/css"> p, h1, h2, h3, h4, ol, ul { margin: 0; } a, a:link { color: #006399; text-decoration: underline; } .nl2go-default-textstyle { color: #3b3f44; font-family: georgia, serif; font-size: 16px; line-height: 1.5; word-break: break-word; } .default-button { color: #ffffff; font-family: georgia, serif; font-size: 16px; font-style: normal; font-weight: normal; line-height: 1.15; text-decoration: none; word-break: break-word; } .default-heading1 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 36px; word-break: break-word; } .default-heading2 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 32px; word-break: break-word; } .default-heading3 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 24px; word-break: break-word; } .default-heading4 { color: #1f2d3d; font-family: arial, helvetica, sans-serif; font-size: 18px; word-break: break-word; } a[x-apple-data-detectors] { color: inherit !important; text-decoration: inherit !important; font-size: inherit !important; font-family: inherit !important; font-weight: inherit !important; line-height: inherit !important; } .no-show-for-you { border: none; display: none; float: none; font-size: 0; height: 0; line-height: 0; max-height: 0; mso-hide: all; overflow: hidden; table-layout: fixed; visibility: hidden; width: 0; } </style><!--[if mso ]><xml><o:OfficeDocumentSettings>@@ -18,9 +18,9 @@</o:OfficeDocumentSettings></xml><! [endif]-->- <style type="text/css"> a:link { color: #3f76ff; text-decoration: underline; } </style>+ <style type="text/css"> a:link { color: #006399; text-decoration: underline; } </style></head>- <body bgcolor="#ffffff" text="#3b3f44" link="#3f76ff" yahoo="fix" style="background-color: #ffffff" >+ <body bgcolor="#ffffff" text="#3b3f44" link="#006399" yahoo="fix" style="background-color: #ffffff" ><table cellspacing="0" cellpadding="0" border="0" role="presentation" class="nl2go-body-table" width="100%" style="background-color: #ffffff; width: 100%" ><tr><td>@@ -41,7 +41,7 @@<td class="r8-c" align="left"><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="150" class="r9-o" style=" table-layout: fixed; width: 150px; " ><tr>- <td style=" font-size: 0px; line-height: 0px; " > <img src="https://img.mailinblue.com/5942152/images/content_library/original/64708f00b503b149db7ff135.png" width="150" border="0" style=" display: block; width: 100%; " /> </td>+ <td style=" font-size: 0px; line-height: 0px; " > <img src="https://media.docs.plane.so/logo/new-logo-white.png" width="150" border="0" style=" display: block; width: 100%; " /> </td></tr></table></td>@@ -80,7 +80,7 @@</td></tr><tr style=" display: flex; align-items: center; width: 100%; justify-content: center; " >- <td style=" display: flex; align-items: center; width: 100%; justify-content: center; " > <a href="{{ webhook_url }}" style=" text-decoration: none; display: flex; align-items: center; width: 100%; justify-content: center; " > <span style=" max-width: min-content; white-space: nowrap; background-color: #3f76ff; padding: 10px 15px; border: 1px solid #2f4ba8; border-radius: 4px; margin-top: 15px; cursor: pointer; font-size: 0.8rem; color: #ffffff; display: flex; align-items: center; justify-content: center; " > View webhook </span> </a> </td>+ <td style=" display: flex; align-items: center; width: 100%; justify-content: center; " > <a href="{{ webhook_url }}" style=" text-decoration: none; display: flex; align-items: center; width: 100%; justify-content: center; " > <span style=" max-width: min-content; white-space: nowrap; background-color: #006399; padding: 10px 15px; border: 1px solid #2f4ba8; border-radius: 4px; margin-top: 15px; cursor: pointer; font-size: 0.8rem; color: #ffffff; display: flex; align-items: center; justify-content: center; " > View webhook </span> </a> </td></tr></table></td>@@ -155,7 +155,7 @@<td class="nl2go-responsive-hide" width="2" style=" font-size: 0px; line-height: 1px; background-color: #efefef; " > </td><td align="left" valign="top" class="r21-i nl2go-default-textstyle" style=" color: #3b3f44; font-family: georgia, serif; font-size: 16px; word-break: break-word; line-height: 1.5; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; text-align: left; " ><div>- <p style="margin: 0"> <span style="font-size: 13px" >Despite our popularity, we are humbly early-stage. We are shipping fast, so please reach out to us with feature requests, major and minor nits, and anything else you find missing. We read every </span ><a href="https://discord.com/channels/1031547764020084846/1094927053867995176" title="Plane Support on Discod" target="_blank" style=" color: #3f76ff; text-decoration: underline; " ><span style="font-size: 13px" >message</span ></a ><span style="font-size: 13px" >, </span ><a href="http://twitter.com/planepowers" title="@planepowers" target="_blank" style=" color: #3f76ff; text-decoration: underline; " ><span style="font-size: 13px" >tweet</span ></a ><span style="font-size: 13px" >, and </span ><a href="https://github.com/makeplane/plane/issues" title="Plane's GitHub conversations" target="_blank" style=" color: #3f76ff; text-decoration: underline; " ><span style="font-size: 13px" >conversation</span ></a ><span style="font-size: 13px" > and update </span ><a href="https://plane.sh/plane/0b170a1c-0e55-47cb-9307-ea49a05672b5?board=kanban" title="Plane's roadmap" target="_blank" style=" color: #3f76ff; text-decoration: underline; " ><span style="font-size: 13px" >our public roadmap</span ></a ><span style="font-size: 13px" >.</span > </p>+ <p style="margin: 0"> <span style="font-size: 13px" >Despite our popularity, we are humbly early-stage. We are shipping fast, so please reach out to us with feature requests, major and minor nits, and anything else you find missing. We read every </span ><a href="https://discord.com/channels/1031547764020084846/1094927053867995176" title="Plane Support on Discod" target="_blank" style=" color: #006399; text-decoration: underline; " ><span style="font-size: 13px" >message</span ></a ><span style="font-size: 13px" >, </span ><a href="http://twitter.com/planepowers" title="@planepowers" target="_blank" style=" color: #006399; text-decoration: underline; " ><span style="font-size: 13px" >tweet</span ></a ><span style="font-size: 13px" >, and </span ><a href="https://github.com/makeplane/plane/issues" title="Plane's GitHub conversations" target="_blank" style=" color: #006399; text-decoration: underline; " ><span style="font-size: 13px" >conversation</span ></a ><span style="font-size: 13px" > and update </span ><a href="https://plane.sh/plane/0b170a1c-0e55-47cb-9307-ea49a05672b5?board=kanban" title="Plane's roadmap" target="_blank" style=" color: #006399; text-decoration: underline; " ><span style="font-size: 13px" >our public roadmap</span ></a ><span style="font-size: 13px" >.</span > </p></div></td><td class="nl2go-responsive-hide" width="2" style=" font-size: 0px; line-height: 1px; background-color: #efefef; " > </td>@@ -204,7 +204,7 @@<th width="40" class="r25-c mobshow resp-table" style=" font-weight: normal; " ><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r26-o" style=" table-layout: fixed; width: 100%; " ><tr>- <td class="r18-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://github.com/makeplane" target="_blank" style=" color: #3f76ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/github_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td>+ <td class="r18-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://github.com/makeplane" target="_blank" style=" color: #006399; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/github_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td><td class="nl2go-responsive-hide" width="8" style=" font-size: 0px; line-height: 1px; " > </td></tr></table>@@ -212,7 +212,7 @@<th width="40" class="r25-c mobshow resp-table" style=" font-weight: normal; " ><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r26-o" style=" table-layout: fixed; width: 100%; " ><tr>- <td class="r18-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://www.linkedin.com/company/planepowers/" target="_blank" style=" color: #3f76ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/linkedin_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td>+ <td class="r18-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://www.linkedin.com/company/planepowers/" target="_blank" style=" color: #006399; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/linkedin_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td><td class="nl2go-responsive-hide" width="8" style=" font-size: 0px; line-height: 1px; " > </td></tr></table>@@ -220,7 +220,7 @@<th width="40" class="r25-c mobshow resp-table" style=" font-weight: normal; " ><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r26-o" style=" table-layout: fixed; width: 100%; " ><tr>- <td class="r18-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://twitter.com/planepowers" target="_blank" style=" color: #3f76ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/twitter_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td>+ <td class="r18-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://twitter.com/planepowers" target="_blank" style=" color: #006399; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/twitter_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td><td class="nl2go-responsive-hide" width="8" style=" font-size: 0px; line-height: 1px; " > </td></tr></table>@@ -228,7 +228,7 @@<th width="32" class="r25-c mobshow resp-table" style=" font-weight: normal; " ><table cellspacing="0" cellpadding="0" border="0" role="presentation" width="100%" class="r27-o" style=" table-layout: fixed; width: 100%; " ><tr>- <td class="r18-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://plane.so/" target="_blank" style=" color: #3f76ff; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/website_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td>+ <td class="r18-i" style=" font-size: 0px; line-height: 0px; padding-bottom: 5px; padding-top: 5px; " > <a href="https://plane.so/" target="_blank" style=" color: #006399; text-decoration: underline; " > <img src="https://creative-assets.mailinblue.com/editor/social-icons/rounded_colored/website_32px.png" width="32" border="0" style=" display: block; width: 100%; " /></a> </td></tr></table></th>diff --git a/apps/api/templates/emails/user/user_activation.html b/apps/api/templates/emails/user/user_activation.htmlindex 1ec60e9555..a454d0a3c1 100644--- a/apps/api/templates/emails/user/user_activation.html+++ b/apps/api/templates/emails/user/user_activation.html@@ -173,7 +173,7 @@text-align: center !important;}.r16-r {- background-color: #3f76ff !important;+ background-color: #006399 !important;border-radius: 4px !important;border-width: 0px !important;box-sizing: border-box;@@ -305,7 +305,7 @@}a,a:link {- color: #3f76ff;+ color: #006399;text-decoration: underline;}.nl2go-default-textstyle {@@ -382,7 +382,7 @@<![endif]--><style type="text/css">a:link {- color: #3f76ff;+ color: #006399;text-decoration: underline;}</style>@@ -390,7 +390,7 @@<bodybgcolor="#ffffff"text="#3b3f44"- link="#3f76ff"+ link="#006399"yahoo="fix"style="background-color: #ffffff">@@ -493,7 +493,7 @@"><img- src="https://img.mailinblue.com/5942152/images/content_library/original/64708f00b503b149db7ff135.png"+ src="https://media.docs.plane.so/logo/new-logo-white.png"width="150"border="0"style="@@ -651,9 +651,9 @@width="285"class="r14-o"style="- background-color: #3f76ff;+ background-color: #006399;border-collapse: separate;- border-color: #3f76ff;+ border-color: #006399;border-radius: 4px;border-style: solid;border-width: 0px;@@ -669,7 +669,7 @@class="r15-i nl2go-default-textstyle"style="word-break: break-word;- background-color: #3f76ff;+ background-color: #006399;border-radius: 4px;color: #ffffff;font-family: georgia, serif;@@ -963,7 +963,7 @@title="Plane Support on Discod"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;"><span@@ -977,7 +977,7 @@title="@planepowers"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;"><span@@ -991,7 +991,7 @@title="Plane's GitHub conversations"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;"><span@@ -1007,7 +1007,7 @@title="Plane's roadmap"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;"><span@@ -1227,7 +1227,7 @@href="https://github.com/makeplane"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;">@@ -1287,7 +1287,7 @@href="https://www.linkedin.com/company/planepowers/"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;">@@ -1347,7 +1347,7 @@href="https://twitter.com/planepowers"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;">@@ -1407,7 +1407,7 @@href="https://plane.so/"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;">diff --git a/apps/api/templates/emails/user/user_deactivation.html b/apps/api/templates/emails/user/user_deactivation.htmlindex b6bc7b7682..8a0c097a7a 100644--- a/apps/api/templates/emails/user/user_deactivation.html+++ b/apps/api/templates/emails/user/user_deactivation.html@@ -173,7 +173,7 @@text-align: center !important;}.r16-r {- background-color: #3f76ff !important;+ background-color: #006399 !important;border-radius: 4px !important;border-width: 0px !important;box-sizing: border-box;@@ -305,7 +305,7 @@}a,a:link {- color: #3f76ff;+ color: #006399;text-decoration: underline;}.nl2go-default-textstyle {@@ -382,7 +382,7 @@<![endif]--><style type="text/css">a:link {- color: #3f76ff;+ color: #006399;text-decoration: underline;}</style>@@ -390,7 +390,7 @@<bodybgcolor="#ffffff"text="#3b3f44"- link="#3f76ff"+ link="#006399"yahoo="fix"style="background-color: #ffffff">@@ -493,7 +493,7 @@"><img- src="https://img.mailinblue.com/5942152/images/content_library/original/64708f00b503b149db7ff135.png"+ src="https://media.docs.plane.so/logo/new-logo-white.png"width="150"border="0"style="@@ -650,9 +650,9 @@width="285"class="r14-o"style="- background-color: #3f76ff;+ background-color: #006399;border-collapse: separate;- border-color: #3f76ff;+ border-color: #006399;border-radius: 4px;border-style: solid;border-width: 0px;@@ -668,7 +668,7 @@class="r15-i nl2go-default-textstyle"style="word-break: break-word;- background-color: #3f76ff;+ background-color: #006399;border-radius: 4px;color: #ffffff;font-family: georgia, serif;@@ -964,7 +964,7 @@title="Plane Support on Discod"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;"><span@@ -978,7 +978,7 @@title="@planepowers"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;"><span@@ -992,7 +992,7 @@title="Plane's GitHub conversations"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;"><span@@ -1008,7 +1008,7 @@title="Plane's roadmap"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;"><span@@ -1228,7 +1228,7 @@href="https://github.com/makeplane"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;">@@ -1288,7 +1288,7 @@href="https://www.linkedin.com/company/planepowers/"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;">@@ -1348,7 +1348,7 @@href="https://twitter.com/planepowers"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;">@@ -1408,7 +1408,7 @@href="https://plane.so/"target="_blank"style="- color: #3f76ff;+ color: #006399;text-decoration: underline;">diff --git a/apps/space/app/issues/[anchor]/client-layout.tsx b/apps/space/app/issues/[anchor]/client-layout.tsxindex 0e24ab5516..3fc4902ff9 100644--- a/apps/space/app/issues/[anchor]/client-layout.tsx+++ b/apps/space/app/issues/[anchor]/client-layout.tsx@@ -39,7 +39,13 @@ export const IssuesClientLayout = observer((props: Props) => {: null);- if (!publishSettings && !error) return <LogoSpinner />;+ if (!publishSettings && !error) {+ return (+ <div className="flex items-center justify-center h-screen w-full">+ <LogoSpinner />+ </div>+ );+ }if (error) return <SomethingWentWrongError />;diff --git a/apps/space/app/page.tsx b/apps/space/app/page.tsxindex a905f71b73..7ffff361f0 100644--- a/apps/space/app/page.tsx+++ b/apps/space/app/page.tsx@@ -11,7 +11,13 @@ import { useUser } from "@/hooks/store";const HomePage = observer(() => {const { data: currentUser, isAuthenticated, isLoading } = useUser();- if (isLoading) return <LogoSpinner />;++ if (isLoading)+ return (+ <div className="flex items-center justify-center h-screen w-full">+ <LogoSpinner />+ </div>+ );if (currentUser && isAuthenticated) return <UserLoggedIn />;diff --git a/apps/space/app/views/[anchor]/layout.tsx b/apps/space/app/views/[anchor]/layout.tsxindex 57b2971c4c..05e113a08d 100644--- a/apps/space/app/views/[anchor]/layout.tsx+++ b/apps/space/app/views/[anchor]/layout.tsx@@ -42,7 +42,13 @@ const IssuesLayout = observer((props: Props) => {if (error) return <SomethingWentWrongError />;- if (!publishSettings || !viewData) return <LogoSpinner />;+ if (!publishSettings || !viewData) {+ return (+ <div className="flex items-center justify-center h-screen w-full">+ <LogoSpinner />+ </div>+ );+ }return (<div className="relative flex h-screen min-h-[500px] w-screen flex-col overflow-hidden">diff --git a/apps/space/core/components/account/auth-forms/auth-header.tsx b/apps/space/core/components/account/auth-forms/auth-header.tsxindex 95a539ddfc..f75dccecf5 100644--- a/apps/space/core/components/account/auth-forms/auth-header.tsx+++ b/apps/space/core/components/account/auth-forms/auth-header.tsx@@ -1,12 +1,11 @@"use client";-import { FC, ReactNode } from "react";+import { FC } from "react";// helpersimport { EAuthModes } from "@/types/auth";type TAuthHeader = {authMode: EAuthModes;- children: ReactNode;};type TAuthHeaderContent = {@@ -30,7 +29,7 @@ const Titles: TAuthHeaderDetails = {};export const AuthHeader: FC<TAuthHeader> = (props) => {- const { authMode, children } = props;+ const { authMode } = props;const getHeaderSubHeader = (mode: EAuthModes | null): TAuthHeaderContent => {if (mode) {@@ -38,7 +37,7 @@ export const AuthHeader: FC<TAuthHeader> = (props) => {}return {- header: "Comment or react to work itemss",+ header: "Comment or react to work items",subHeader: "Use plane to add your valuable inputs to features.",};};@@ -47,11 +46,10 @@ export const AuthHeader: FC<TAuthHeader> = (props) => {return (<>- <div className="space-y-1 text-center">- <h3 className="text-xl sm:text-2xl md:text-3xl font-bold text-onboarding-text-100">{header}</h3>- <p className="text-xs sm:text-sm md:text-base font-medium text-onboarding-text-400">{subHeader}</p>+ <div className="flex flex-col gap-1">+ <span className="text-2xl font-semibold text-custom-text-100 leading-7">{header}</span>+ <span className="text-2xl font-semibold text-custom-text-400 leading-7">{subHeader}</span></div>- {children}</>);};diff --git a/apps/space/core/components/account/auth-forms/auth-root.tsx b/apps/space/core/components/account/auth-forms/auth-root.tsxindex 2ce944a258..653c97cc73 100644--- a/apps/space/core/components/account/auth-forms/auth-root.tsx+++ b/apps/space/core/components/account/auth-forms/auth-root.tsx@@ -2,10 +2,14 @@import React, { FC, useEffect, useState } from "react";import { observer } from "mobx-react";+import Image from "next/image";import { useSearchParams } from "next/navigation";+import { useTheme } from "next-themes";// plane imports+import { API_BASE_URL } from "@plane/constants";import { SitesAuthService } from "@plane/services";import { IEmailCheckData } from "@plane/types";+import { OAuthOptions } from "@plane/ui";// componentsimport {AuthHeader,@@ -13,7 +17,6 @@ import {AuthEmailForm,AuthUniqueCodeForm,AuthPasswordForm,- OAuthOptions,TermsAndConditions,} from "@/components/account";// helpers@@ -27,6 +30,11 @@ import {import { useInstance } from "@/hooks/store";// typesimport { EAuthModes, EAuthSteps } from "@/types/auth";+// assets+import GithubLightLogo from "/public/logos/github-black.png";+import GithubDarkLogo from "/public/logos/github-dark.svg";+import GitlabLogo from "/public/logos/gitlab-logo.svg";+import GoogleLogo from "/public/logos/google-logo.svg";const authService = new SitesAuthService();@@ -36,6 +44,7 @@ export const AuthRoot: FC = observer(() => {const emailParam = searchParams.get("email") || undefined;const error_code = searchParams.get("error_code") || undefined;const nextPath = searchParams.get("next_path") || undefined;+ const next_path = searchParams.get("next_path");// statesconst [authMode, setAuthMode] = useState<EAuthModes>(EAuthModes.SIGN_UP);const [authStep, setAuthStep] = useState<EAuthSteps>(EAuthSteps.EMAIL);@@ -43,6 +52,7 @@ export const AuthRoot: FC = observer(() => {const [errorInfo, setErrorInfo] = useState<TAuthErrorInfo | undefined>(undefined);const [isPasswordAutoset, setIsPasswordAutoset] = useState(true);// hooks+ const { resolvedTheme } = useTheme();const { config } = useInstance();useEffect(() => {@@ -146,12 +156,54 @@ export const AuthRoot: FC = observer(() => {});};+ const content = authMode === EAuthModes.SIGN_UP ? "Sign up" : "Sign in";++ const OAuthConfig = [+ {+ id: "google",+ text: `${content} with Google`,+ icon: <Image src={GoogleLogo} height={18} width={18} alt="Google Logo" />,+ onClick: () => {+ window.location.assign(`${API_BASE_URL}/auth/google/${next_path ? `?next_path=${next_path}` : ``}`);+ },+ enabled: config?.is_google_enabled,+ },+ {+ id: "github",+ text: `${content} with GitHub`,+ icon: (+ <Image+ src={resolvedTheme === "dark" ? GithubDarkLogo : GithubLightLogo}+ height={18}+ width={18}+ alt="GitHub Logo"+ />+ ),+ onClick: () => {+ window.location.assign(`${API_BASE_URL}/auth/github/${next_path ? `?next_path=${next_path}` : ``}`);+ },+ enabled: config?.is_github_enabled,+ },+ {+ id: "gitlab",+ text: `${content} with GitLab`,+ icon: <Image src={GitlabLogo} height={18} width={18} alt="GitLab Logo" />,+ onClick: () => {+ window.location.assign(`${API_BASE_URL}/auth/gitlab/${next_path ? `?next_path=${next_path}` : ``}`);+ },+ enabled: config?.is_gitlab_enabled,+ },+ ];+return (- <div className="relative flex flex-col space-y-6">- <AuthHeader authMode={authMode}>+ <div className="flex flex-col justify-center items-center flex-grow w-full py-6 mt-10">+ <div className="relative flex flex-col gap-6 max-w-[22.5rem] w-full">{errorInfo && errorInfo?.type === EErrorAlertType.BANNER_ALERT && (<AuthBanner bannerData={errorInfo} handleBannerData={(value) => setErrorInfo(value)} />)}+ <AuthHeader authMode={authMode} />+ {isOAuthEnabled && <OAuthOptions options={OAuthConfig} compact={authStep === EAuthSteps.PASSWORD} />}+{authStep === EAuthSteps.EMAIL && <AuthEmailForm defaultEmail={email} onSubmit={handleEmailVerification} />}{authStep === EAuthSteps.UNIQUE_CODE && (<AuthUniqueCodeForm@@ -182,9 +234,8 @@ export const AuthRoot: FC = observer(() => {}}/>)}- {isOAuthEnabled && <OAuthOptions />}<TermsAndConditions isSignUp={authMode === EAuthModes.SIGN_UP ? true : false} />- </AuthHeader>+ </div></div>);});diff --git a/apps/space/core/components/account/auth-forms/email.tsx b/apps/space/core/components/account/auth-forms/email.tsxindex 4815fef6ae..6fb08ff7a6 100644--- a/apps/space/core/components/account/auth-forms/email.tsx+++ b/apps/space/core/components/account/auth-forms/email.tsx@@ -46,13 +46,13 @@ export const AuthEmailForm: FC<TAuthEmailForm> = observer((props) => {return (<form onSubmit={handleFormSubmit} className="mt-5 space-y-4"><div className="space-y-1">- <label className="text-sm text-onboarding-text-300 font-medium" htmlFor="email">+ <label className="text-sm text-custom-text-300 font-medium" htmlFor="email"></label><divclassName={cn(- `relative flex items-center rounded-md bg-onboarding-background-200 border`,- !isFocused && Boolean(emailError?.email) ? `border-red-500` : `border-onboarding-border-100`+ `relative flex items-center rounded-md bg-custom-background-100 border`,+ !isFocused && Boolean(emailError?.email) ? `border-red-500` : `border-custom-border-100`)}onFocus={() => {setIsFocused(true);@@ -68,7 +68,7 @@ export const AuthEmailForm: FC<TAuthEmailForm> = observer((props) => {value={email}onChange={(e) => setEmail(e.target.value)}placeholder="[email protected]"- className={`disable-autofill-style h-[46px] w-full placeholder:text-onboarding-text-400 autofill:bg-red-500 border-0 focus:bg-none active:bg-transparent`}+ className={`disable-autofill-style h-10 w-full placeholder:text-custom-text-400 autofill:bg-red-500 border-0 focus:bg-none active:bg-transparent`}autoComplete="on"autoFocusref={inputRef}@@ -83,7 +83,7 @@ export const AuthEmailForm: FC<TAuthEmailForm> = observer((props) => {}}tabIndex={-1}>- <XCircle className="h-[46px] w-11 px-3 stroke-custom-text-400 hover:cursor-pointer text-xs" />+ <XCircle className="h-10 w-11 px-3 stroke-custom-text-400 hover:cursor-pointer text-xs" /></button>)}</div>diff --git a/apps/space/core/components/account/auth-forms/password.tsx b/apps/space/core/components/account/auth-forms/password.tsxindex 1dbae80a3f..9b3397cd5b 100644--- a/apps/space/core/components/account/auth-forms/password.tsx+++ b/apps/space/core/components/account/auth-forms/password.tsx@@ -117,11 +117,11 @@ export const AuthPasswordForm: React.FC<Props> = observer((props: Props) => {<input type="hidden" value={passwordFormData.email} name="email" /><input type="hidden" value={nextPath} name="next_path" /><div className="space-y-1">- <label className="text-sm font-medium text-onboarding-text-300" htmlFor="email">+ <label className="text-sm font-medium text-custom-text-300" htmlFor="email"></label><div- className={`relative flex items-center rounded-md bg-onboarding-background-200 border border-onboarding-border-100`}+ className={`relative flex items-center rounded-md bg-custom-background-100 border border-custom-border-100`}><Inputid="email"@@ -130,7 +130,7 @@ export const AuthPasswordForm: React.FC<Props> = observer((props: Props) => {value={passwordFormData.email}onChange={(e) => handleFormChange("email", e.target.value)}placeholder="[email protected]"- className={`disable-autofill-style h-[46px] w-full placeholder:text-onboarding-text-400 border-0`}+ className={`disable-autofill-style h-10 w-full placeholder:text-custom-text-400 border-0`}disabled/>{passwordFormData.email.length > 0 && (@@ -143,17 +143,17 @@ export const AuthPasswordForm: React.FC<Props> = observer((props: Props) => {</div><div className="space-y-1">- <label className="text-sm text-onboarding-text-300 font-medium" htmlFor="password">+ <label className="text-sm text-custom-text-300 font-medium" htmlFor="password">{mode === EAuthModes.SIGN_IN ? "Password" : "Set a password"}</label>- <div className="relative flex items-center rounded-md bg-onboarding-background-200">+ <div className="relative flex items-center rounded-md bg-custom-background-100"><Inputtype={showPassword?.password ? "text" : "password"}name="password"value={passwordFormData.password}onChange={(e) => handleFormChange("password", e.target.value)}placeholder="Enter password"- className="disable-autofill-style h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 placeholder:text-onboarding-text-400"+ className="disable-autofill-style h-10 w-full border border-custom-border-100 !bg-custom-background-100 pr-12 placeholder:text-custom-text-400"onFocus={() => setIsPasswordInputFocused(true)}onBlur={() => setIsPasswordInputFocused(false)}autoComplete="on"@@ -176,17 +176,17 @@ export const AuthPasswordForm: React.FC<Props> = observer((props: Props) => {{mode === EAuthModes.SIGN_UP && (<div className="space-y-1">- <label className="text-sm text-onboarding-text-300 font-medium" htmlFor="confirm_password">+ <label className="text-sm text-custom-text-300 font-medium" htmlFor="confirm_password">Confirm password</label>- <div className="relative flex items-center rounded-md bg-onboarding-background-200">+ <div className="relative flex items-center rounded-md bg-custom-background-100"><Inputtype={showPassword?.retypePassword ? "text" : "password"}name="confirm_password"value={passwordFormData.confirm_password}onChange={(e) => handleFormChange("confirm_password", e.target.value)}placeholder="Confirm password"- className="disable-autofill-style h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 placeholder:text-onboarding-text-400"+ className="disable-autofill-style h-10 w-full border border-custom-border-100 !bg-custom-background-100 pr-12 placeholder:text-custom-text-400"onFocus={() => setIsRetryPasswordInputFocused(true)}onBlur={() => setIsRetryPasswordInputFocused(false)}/>diff --git a/apps/space/core/components/account/auth-forms/unique-code.tsx b/apps/space/core/components/account/auth-forms/unique-code.tsxindex abf233a297..ef96fb2806 100644--- a/apps/space/core/components/account/auth-forms/unique-code.tsx+++ b/apps/space/core/components/account/auth-forms/unique-code.tsx@@ -81,11 +81,11 @@ export const AuthUniqueCodeForm: React.FC<TAuthUniqueCodeForm> = (props) => {<input type="hidden" value={uniqueCodeFormData.email} name="email" /><input type="hidden" value={nextPath} name="next_path" /><div className="space-y-1">- <label className="text-sm font-medium text-onboarding-text-300" htmlFor="email">+ <label className="text-sm font-medium text-custom-text-300" htmlFor="email"></label><div- className={`relative flex items-center rounded-md bg-onboarding-background-200 border border-onboarding-border-100`}+ className={`relative flex items-center rounded-md bg-custom-background-100 border border-custom-border-100`}><Inputid="email"@@ -94,7 +94,7 @@ export const AuthUniqueCodeForm: React.FC<TAuthUniqueCodeForm> = (props) => {value={uniqueCodeFormData.email}onChange={(e) => handleFormChange("email", e.target.value)}placeholder="[email protected]"- className={`disable-autofill-style h-[46px] w-full placeholder:text-onboarding-text-400 border-0`}+ className={`disable-autofill-style h-10 w-full placeholder:text-custom-text-400 border-0`}disabled/>{uniqueCodeFormData.email.length > 0 && (@@ -107,7 +107,7 @@ export const AuthUniqueCodeForm: React.FC<TAuthUniqueCodeForm> = (props) => {</div><div className="space-y-1">- <label className="text-sm font-medium text-onboarding-text-300" htmlFor="code">+ <label className="text-sm font-medium text-custom-text-300" htmlFor="code">Unique code</label><Input@@ -115,7 +115,7 @@ export const AuthUniqueCodeForm: React.FC<TAuthUniqueCodeForm> = (props) => {value={uniqueCodeFormData.code}onChange={(e) => handleFormChange("code", e.target.value)}placeholder="gets-sets-flys"- className="disable-autofill-style h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 placeholder:text-onboarding-text-400"+ className="disable-autofill-style h-10 w-full border border-custom-border-100 !bg-custom-background-100 pr-12 placeholder:text-custom-text-400"autoFocus/><div className="flex w-full items-center justify-between px-1 text-xs pt-1">@@ -128,7 +128,7 @@ export const AuthUniqueCodeForm: React.FC<TAuthUniqueCodeForm> = (props) => {onClick={() => generateNewCode(uniqueCodeFormData.email)}className={`${isRequestNewCodeDisabled- ? "text-onboarding-text-400"+ ? "text-custom-text-400": "font-medium text-custom-primary-300 hover:text-custom-primary-200"}`}disabled={isRequestNewCodeDisabled}diff --git a/apps/space/core/components/account/index.ts b/apps/space/core/components/account/index.tsindex bfa38e8958..ca043950d6 100644--- a/apps/space/core/components/account/index.ts+++ b/apps/space/core/components/account/index.ts@@ -1,4 +1,3 @@export * from "./auth-forms";-export * from "./oauth";export * from "./terms-and-conditions";export * from "./user-logged-in";diff --git a/apps/space/core/components/account/oauth/github-button.tsx b/apps/space/core/components/account/oauth/github-button.tsxdeleted file mode 100644index b37cea956f..0000000000--- a/apps/space/core/components/account/oauth/github-button.tsx+++ /dev/null@@ -1,41 +0,0 @@-import { FC } from "react";-import Image from "next/image";-import { useSearchParams } from "next/navigation";-import { useTheme } from "next-themes";-import { API_BASE_URL } from "@plane/constants";-// images-import githubLightModeImage from "/public/logos/github-black.png";-import githubDarkModeImage from "/public/logos/github-dark.svg";--export type GithubOAuthButtonProps = {- text: string;-};--export const GithubOAuthButton: FC<GithubOAuthButtonProps> = (props) => {- const searchParams = useSearchParams();- const nextPath = searchParams.get("next_path") || undefined;- const { text } = props;- // hooks- const { resolvedTheme } = useTheme();-- const handleSignIn = () => {- window.location.assign(`${API_BASE_URL}/auth/spaces/github/${nextPath ? `?next_path=${nextPath}` : ``}`);- };-- return (- <button- className={`flex h-[42px] w-full items-center justify-center gap-2 rounded border px-2 text-sm font-medium text-custom-text-100 duration-300 hover:bg-onboarding-background-300 ${- resolvedTheme === "dark" ? "border-[#43484F] bg-[#2F3135]" : "border-[#D9E4FF]"- }`}- onClick={handleSignIn}- >- <Image- src={resolvedTheme === "dark" ? githubDarkModeImage : githubLightModeImage}- height={20}- width={20}- alt="GitHub Logo"- />- {text}- </button>- );-};diff --git a/apps/space/core/components/account/oauth/gitlab-button.tsx b/apps/space/core/components/account/oauth/gitlab-button.tsxdeleted file mode 100644index 40834b3cfa..0000000000--- a/apps/space/core/components/account/oauth/gitlab-button.tsx+++ /dev/null@@ -1,35 +0,0 @@-import { FC } from "react";-import Image from "next/image";-import { useSearchParams } from "next/navigation";-import { useTheme } from "next-themes";-import { API_BASE_URL } from "@plane/constants";-// images-import GitlabLogo from "/public/logos/gitlab-logo.svg";--export type GitlabOAuthButtonProps = {- text: string;-};--export const GitlabOAuthButton: FC<GitlabOAuthButtonProps> = (props) => {- const searchParams = useSearchParams();- const nextPath = searchParams.get("next_path") || undefined;- const { text } = props;- // hooks- const { resolvedTheme } = useTheme();-- const handleSignIn = () => {- window.location.assign(`${API_BASE_URL}/auth/spaces/gitlab/${nextPath ? `?next_path=${nextPath}` : ``}`);- };-- return (- <button- className={`flex h-[42px] w-full items-center justify-center gap-2 rounded border px-2 text-sm font-medium text-custom-text-100 duration-300 hover:bg-onboarding-background-300 ${- resolvedTheme === "dark" ? "border-[#43484F] bg-[#2F3135]" : "border-[#D9E4FF]"- }`}- onClick={handleSignIn}- >- <Image src={GitlabLogo} height={20} width={20} alt="GitLab Logo" />- {text}- </button>- );-};diff --git a/apps/space/core/components/account/oauth/google-button.tsx b/apps/space/core/components/account/oauth/google-button.tsxdeleted file mode 100644index 1c699674f4..0000000000--- a/apps/space/core/components/account/oauth/google-button.tsx+++ /dev/null@@ -1,35 +0,0 @@-import { FC } from "react";-import Image from "next/image";-import { useSearchParams } from "next/navigation";-import { useTheme } from "next-themes";-import { API_BASE_URL } from "@plane/constants";-// images-import GoogleLogo from "/public/logos/google-logo.svg";--export type GoogleOAuthButtonProps = {- text: string;-};--export const GoogleOAuthButton: FC<GoogleOAuthButtonProps> = (props) => {- const searchParams = useSearchParams();- const nextPath = searchParams.get("next_path") || undefined;- const { text } = props;- // hooks- const { resolvedTheme } = useTheme();-- const handleSignIn = () => {- window.location.assign(`${API_BASE_URL}/auth/spaces/google/${nextPath ? `?next_path=${nextPath}` : ``}`);- };-- return (- <button- className={`flex h-[42px] w-full items-center justify-center gap-2 rounded border px-2 text-sm font-medium text-custom-text-100 duration-300 hover:bg-onboarding-background-300 ${- resolvedTheme === "dark" ? "border-[#43484F] bg-[#2F3135]" : "border-[#D9E4FF]"- }`}- onClick={handleSignIn}- >- <Image src={GoogleLogo} height={18} width={18} alt="Google Logo" />- {text}- </button>- );-};diff --git a/apps/space/core/components/account/oauth/index.ts b/apps/space/core/components/account/oauth/index.tsdeleted file mode 100644index 535e21b14d..0000000000--- a/apps/space/core/components/account/oauth/index.ts+++ /dev/null@@ -1,4 +0,0 @@-export * from "./oauth-options";-export * from "./google-button";-export * from "./github-button";-export * from "./gitlab-button";diff --git a/apps/space/core/components/account/oauth/oauth-options.tsx b/apps/space/core/components/account/oauth/oauth-options.tsxdeleted file mode 100644index 153516b347..0000000000--- a/apps/space/core/components/account/oauth/oauth-options.tsx+++ /dev/null@@ -1,29 +0,0 @@-import { observer } from "mobx-react";-// components-import { GithubOAuthButton, GitlabOAuthButton, GoogleOAuthButton } from "@/components/account";-// hooks-import { useInstance } from "@/hooks/store";--export const OAuthOptions: React.FC = observer(() => {- // hooks- const { config } = useInstance();-- return (- <>- <div className="mt-4 flex items-center">- <hr className="w-full border-onboarding-border-100" />- <p className="mx-3 flex-shrink-0 text-center text-sm text-onboarding-text-400">or</p>- <hr className="w-full border-onboarding-border-100" />- </div>- <div className={`mt-7 grid gap-4 overflow-hidden`}>- {config?.is_google_enabled && (- <div className="flex h-[42px] items-center !overflow-hidden">- <GoogleOAuthButton text="Sign in with Google" />- </div>- )}- {config?.is_github_enabled && <GithubOAuthButton text="Sign in with GitHub" />}- {config?.is_gitlab_enabled && <GitlabOAuthButton text="Sign in with GitLab" />}- </div>- </>- );-});diff --git a/apps/space/core/components/account/terms-and-conditions.tsx b/apps/space/core/components/account/terms-and-conditions.tsxindex ec4b5cfc1c..8725eb7b2a 100644--- a/apps/space/core/components/account/terms-and-conditions.tsx+++ b/apps/space/core/components/account/terms-and-conditions.tsx@@ -11,7 +11,7 @@ export const TermsAndConditions: FC<Props> = (props) => {const { isSignUp = false } = props;return (<span className="flex items-center justify-center py-6">- <p className="text-center text-sm text-onboarding-text-200 whitespace-pre-line">+ <p className="text-center text-sm text-custom-text-200 whitespace-pre-line">{isSignUp ? "By creating an account" : "By signing in"}, you agree to our{" \n"}<Link href="https://plane.so/legals/terms-and-conditions" target="_blank" rel="noopener noreferrer"><span className="text-sm font-medium underline hover:cursor-pointer">Terms of Service</span>diff --git a/apps/space/core/components/account/user-logged-in.tsx b/apps/space/core/components/account/user-logged-in.tsxindex 0993ade920..097a73a877 100644--- a/apps/space/core/components/account/user-logged-in.tsx+++ b/apps/space/core/components/account/user-logged-in.tsx@@ -2,33 +2,25 @@import { observer } from "mobx-react";import Image from "next/image";-import { useTheme } from "next-themes";+import { PlaneLockup } from "@plane/ui";// componentsimport { PoweredBy } from "@/components/common";import { UserAvatar } from "@/components/issues";// hooksimport { useUser } from "@/hooks/store";// assets-import PlaneBlackLogo from "@/public/plane-logos/black-horizontal-with-blue-logo.png";-import PlaneWhiteLogo from "@/public/plane-logos/white-horizontal-with-blue-logo.png";import UserLoggedInImage from "@/public/user-logged-in.svg";export const UserLoggedIn = observer(() => {// store hooksconst { data: user } = useUser();- // next-themes- const { resolvedTheme } = useTheme();-- const logo = resolvedTheme === "dark" ? PlaneWhiteLogo : PlaneBlackLogo;if (!user) return null;return (<div className="flex flex-col h-screen w-screen"><div className="relative flex w-full items-center justify-between gap-4 border-b border-custom-border-200 px-6 py-5">- <div className="h-[30px] w-[133px]">- <Image src={logo} alt="Plane logo" />- </div>+ <PlaneLockup className="h-6 w-auto text-custom-text-100" /><UserAvatar /></div>diff --git a/apps/space/core/components/common/logo-spinner.tsx b/apps/space/core/components/common/logo-spinner.tsxindex d3ec3cc2a1..bac5e414b9 100644--- a/apps/space/core/components/common/logo-spinner.tsx+++ b/apps/space/core/components/common/logo-spinner.tsx@@ -11,10 +11,8 @@ export const LogoSpinner = () => {const logoSrc = resolvedTheme === "dark" ? LogoSpinnerDark : LogoSpinnerLight;return (- <div className="h-screen w-full flex min-h-[600px] justify-center items-center">- <div className="flex items-center justify-center">- <Image src={logoSrc} alt="logo" className="w-[82px] h-[82px] mr-2" />- </div>+ <div className="flex items-center justify-center">+ <Image src={logoSrc} alt="logo" className="h-6 w-auto sm:h-11" /></div>);};diff --git a/apps/space/core/components/common/powered-by.tsx b/apps/space/core/components/common/powered-by.tsxindex 654089c55c..073937e83e 100644--- a/apps/space/core/components/common/powered-by.tsx+++ b/apps/space/core/components/common/powered-by.tsx@@ -1,10 +1,9 @@"use client";import { FC } from "react";-import Image from "next/image";import { WEBSITE_URL } from "@plane/constants";// assets-import planeLogo from "@/public/plane-logo.svg";+import { PlaneLogo } from "@plane/ui";type TPoweredBy = {disabled?: boolean;@@ -23,9 +22,7 @@ export const PoweredBy: FC<TPoweredBy> = (props) => {target="_blank"rel="noreferrer noopener">- <div className="relative grid h-6 w-6 place-items-center">- <Image src={planeLogo} alt="Plane logo" className="h-6 w-6" height="24" width="24" />- </div>+ <PlaneLogo className="h-3 w-auto text-custom-text-100" /><div className="text-xs">Powered by <span className="font-semibold">Plane Publish</span></div>diff --git a/apps/space/core/components/views/auth.tsx b/apps/space/core/components/views/auth.tsxindex 39d830a92a..3a2819de09 100644--- a/apps/space/core/components/views/auth.tsx+++ b/apps/space/core/components/views/auth.tsx@@ -1,47 +1,14 @@"use client";-import { observer } from "mobx-react";-import Image from "next/image";-import Link from "next/link";-import { useTheme } from "next-themes";-import { SPACE_BASE_PATH } from "@plane/constants";// componentsimport { AuthRoot } from "@/components/account";import { PoweredBy } from "@/components/common";-// images-import PlaneBackgroundPatternDark from "@/public/auth/background-pattern-dark.svg";-import PlaneBackgroundPattern from "@/public/auth/background-pattern.svg";-import BlackHorizontalLogo from "@/public/plane-logos/black-horizontal-with-blue-logo.png";-import WhiteHorizontalLogo from "@/public/plane-logos/white-horizontal-with-blue-logo.png";--export const AuthView = observer(() => {- // hooks- const { resolvedTheme } = useTheme();-- const logo = resolvedTheme === "light" ? BlackHorizontalLogo : WhiteHorizontalLogo;-- return (- <div className="relative w-screen h-screen overflow-hidden">- <div className="absolute inset-0 z-0">- <Image- src={resolvedTheme === "dark" ? PlaneBackgroundPatternDark : PlaneBackgroundPattern}- className="w-full h-full object-cover"- alt="Plane background pattern"- />- </div>- <div className="relative z-10 w-screen h-screen overflow-hidden overflow-y-auto flex flex-col">- <div className="container min-w-full px-10 lg:px-20 xl:px-36 flex-shrink-0 relative flex items-center justify-between pb-4 transition-all">- <div className="flex items-center gap-x-2 py-10">- <Link href={`${SPACE_BASE_PATH}/`} className="h-[30px] w-[133px]">- <Image src={logo} alt="Plane logo" />- </Link>- </div>- </div>- <div className="flex flex-col justify-center flex-grow container h-[100vh-60px] mx-auto max-w-lg px-10 lg:max-w-md lg:px-5 transition-all">- <AuthRoot />- </div>- </div>- <PoweredBy />- </div>- );-});+import { AuthHeader } from "./header";++export const AuthView = () => (+ <div className="relative z-10 flex flex-col items-center w-screen h-screen overflow-hidden overflow-y-auto pt-6 pb-10 px-8">+ <AuthHeader />+ <AuthRoot />+ <PoweredBy />+ </div>+);diff --git a/apps/space/core/components/views/header.tsx b/apps/space/core/components/views/header.tsxnew file mode 100644index 0000000000..13f037e5b2--- /dev/null+++ b/apps/space/core/components/views/header.tsx@@ -0,0 +1,13 @@+"use client";++import React from "react";+import Link from "next/link";+import { PlaneLockup } from "@plane/ui";++export const AuthHeader = () => (+ <div className="flex items-center justify-between gap-6 w-full flex-shrink-0 sticky top-0">+ <Link href="/">+ <PlaneLockup height={20} width={95} className="text-custom-text-100" />+ </Link>+ </div>+);diff --git a/apps/space/core/lib/instance-provider.tsx b/apps/space/core/lib/instance-provider.tsxindex d0e473dfe8..b38a2c6e7e 100644--- a/apps/space/core/lib/instance-provider.tsx+++ b/apps/space/core/lib/instance-provider.tsx@@ -38,7 +38,7 @@ export const InstanceProvider = observer(({ children }: { children: ReactNode })if (!instance && !error)return (- <div className="flex h-screen min-h-[500px] w-full justify-center items-center">+ <div className="flex items-center justify-center h-screen w-full"><LogoSpinner /></div>);diff --git a/apps/space/core/store/profile.store.ts b/apps/space/core/store/profile.store.tsindex 3754dbe4ff..6df4a7e9ff 100644--- a/apps/space/core/store/profile.store.ts+++ b/apps/space/core/store/profile.store.ts@@ -51,6 +51,7 @@ export class ProfileStore implements IProfileStore {billing_address_country: undefined,billing_address: undefined,has_billing_address: false,+ has_marketing_email_consent: false,created_at: "",updated_at: "",language: "",diff --git a/apps/space/public/favicon/android-chrome-192x192.png b/apps/space/public/favicon/android-chrome-192x192.pngindex 62e95acfc5..4a005e5423 100644Binary files a/apps/space/public/favicon/android-chrome-192x192.png and b/apps/space/public/favicon/android-chrome-192x192.png differdiff --git a/apps/space/public/favicon/android-chrome-512x512.png b/apps/space/public/favicon/android-chrome-512x512.pngindex 41400832b3..27fafe822d 100644Binary files a/apps/space/public/favicon/android-chrome-512x512.png and b/apps/space/public/favicon/android-chrome-512x512.png differdiff --git a/apps/space/public/favicon/apple-touch-icon.png b/apps/space/public/favicon/apple-touch-icon.pngindex 5273d4951d..a631267832 100644Binary files a/apps/space/public/favicon/apple-touch-icon.png and b/apps/space/public/favicon/apple-touch-icon.png differdiff --git a/apps/space/public/favicon/favicon-16x16.png b/apps/space/public/favicon/favicon-16x16.pngindex 8ddbd49c04..af59ef0108 100644Binary files a/apps/space/public/favicon/favicon-16x16.png and b/apps/space/public/favicon/favicon-16x16.png differdiff --git a/apps/space/public/favicon/favicon-32x32.png b/apps/space/public/favicon/favicon-32x32.pngindex 80cbe7a68f..16a1271ad8 100644Binary files a/apps/space/public/favicon/favicon-32x32.png and b/apps/space/public/favicon/favicon-32x32.png differdiff --git a/apps/space/public/favicon/favicon.ico b/apps/space/public/favicon/favicon.icoindex 9094a07c78..613b1a3136 100644Binary files a/apps/space/public/favicon/favicon.ico and b/apps/space/public/favicon/favicon.ico differdiff --git a/apps/space/public/favicon/site.webmanifest b/apps/space/public/favicon/site.webmanifestindex 45dc8a2065..1d41057813 100644--- a/apps/space/public/favicon/site.webmanifest+++ b/apps/space/public/favicon/site.webmanifest@@ -1 +1,11 @@-{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}\ No newline at end of file+{+ "name": "",+ "short_name": "",+ "icons": [+ { "src": "/favicon/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" },+ { "src": "/favicon/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }+ ],+ "theme_color": "#ffffff",+ "background_color": "#ffffff",+ "display": "standalone"+}diff --git a/apps/space/public/images/logo-spinner-dark.gif b/apps/space/public/images/logo-spinner-dark.gifindex 4e0a1deb7b..8bd0832556 100644Binary files a/apps/space/public/images/logo-spinner-dark.gif and b/apps/space/public/images/logo-spinner-dark.gif differdiff --git a/apps/space/public/images/logo-spinner-light.gif b/apps/space/public/images/logo-spinner-light.gifindex 7c9bfbe0ed..8b57103142 100644Binary files a/apps/space/public/images/logo-spinner-light.gif and b/apps/space/public/images/logo-spinner-light.gif differdiff --git a/apps/space/styles/globals.css b/apps/space/styles/globals.cssindex 60cfd7f06f..9541e20f56 100644--- a/apps/space/styles/globals.css+++ b/apps/space/styles/globals.css@@ -12,24 +12,24 @@:root {color-scheme: light !important;- --color-primary-10: 236, 241, 255;- --color-primary-20: 217, 228, 255;- --color-primary-30: 197, 214, 255;- --color-primary-40: 178, 200, 255;- --color-primary-50: 159, 187, 255;- --color-primary-60: 140, 173, 255;- --color-primary-70: 121, 159, 255;- --color-primary-80: 101, 145, 255;- --color-primary-90: 82, 132, 255;- --color-primary-100: 63, 118, 255;- --color-primary-200: 57, 106, 230;- --color-primary-300: 50, 94, 204;- --color-primary-400: 44, 83, 179;- --color-primary-500: 38, 71, 153;- --color-primary-600: 32, 59, 128;- --color-primary-700: 25, 47, 102;- --color-primary-800: 19, 35, 76;- --color-primary-900: 13, 24, 51;+ --color-primary-10: 229, 243, 250;+ --color-primary-20: 216, 237, 248;+ --color-primary-30: 199, 229, 244;+ --color-primary-40: 169, 214, 239;+ --color-primary-50: 144, 202, 234;+ --color-primary-60: 109, 186, 227;+ --color-primary-70: 75, 170, 221;+ --color-primary-80: 41, 154, 214;+ --color-primary-90: 34, 129, 180;+ --color-primary-100: 0, 99, 153;+ --color-primary-200: 0, 92, 143;+ --color-primary-300: 0, 86, 133;+ --color-primary-400: 0, 77, 117;+ --color-primary-500: 0, 66, 102;+ --color-primary-600: 0, 53, 82;+ --color-primary-700: 0, 43, 66;+ --color-primary-800: 0, 33, 51;+ --color-primary-900: 0, 23, 36;--color-background-100: 255, 255, 255; /* primary bg */--color-background-90: 247, 247, 247; /* secondary bg */@@ -185,6 +185,25 @@[data-theme="dark-contrast"] {color-scheme: dark !important;+ --color-primary-10: 8, 31, 43;+ --color-primary-20: 10, 37, 51;+ --color-primary-30: 13, 49, 69;+ --color-primary-40: 16, 58, 81;+ --color-primary-50: 18, 68, 94;+ --color-primary-60: 23, 86, 120;+ --color-primary-70: 28, 104, 146;+ --color-primary-80: 31, 116, 163;+ --color-primary-90: 34, 129, 180;+ --color-primary-100: 40, 146, 204;+ --color-primary-200: 41, 154, 214;+ --color-primary-300: 75, 170, 221;+ --color-primary-400: 109, 186, 227;+ --color-primary-500: 144, 202, 234;+ --color-primary-600: 169, 214, 239;+ --color-primary-700: 199, 229, 244;+ --color-primary-800: 216, 237, 248;+ --color-primary-900: 229, 243, 250;+--color-background-100: 25, 25, 25; /* primary bg */--color-background-90: 32, 32, 32; /* secondary bg */--color-background-80: 44, 44, 44; /* tertiary bg */@@ -274,25 +293,6 @@[data-theme="dark"],[data-theme="light-contrast"],[data-theme="dark-contrast"] {- --color-primary-10: 236, 241, 255;- --color-primary-20: 217, 228, 255;- --color-primary-30: 197, 214, 255;- --color-primary-40: 178, 200, 255;- --color-primary-50: 159, 187, 255;- --color-primary-60: 140, 173, 255;- --color-primary-70: 121, 159, 255;- --color-primary-80: 101, 145, 255;- --color-primary-90: 82, 132, 255;- --color-primary-100: 63, 118, 255;- --color-primary-200: 57, 106, 230;- --color-primary-300: 50, 94, 204;- --color-primary-400: 44, 83, 179;- --color-primary-500: 38, 71, 153;- --color-primary-600: 32, 59, 128;- --color-primary-700: 25, 47, 102;- --color-primary-800: 19, 35, 76;- --color-primary-900: 13, 24, 51;---color-sidebar-background-100: var(--color-background-100); /* primary sidebar bg */--color-sidebar-background-90: var(--color-background-90); /* secondary sidebar bg */--color-sidebar-background-80: var(--color-background-80); /* tertiary sidebar bg */diff --git a/apps/web/app/(all)/accounts/forgot-password/page.tsx b/apps/web/app/(all)/accounts/forgot-password/page.tsxindex fa9ff93585..11d646985e 100644--- a/apps/web/app/(all)/accounts/forgot-password/page.tsx+++ b/apps/web/app/(all)/accounts/forgot-password/page.tsx@@ -1,203 +1,24 @@"use client";import { observer } from "mobx-react";-import Image from "next/image";-import Link from "next/link";-import { useSearchParams } from "next/navigation";-import { useTheme } from "next-themes";-import { Controller, useForm } from "react-hook-form";-// icons-import { CircleCheck } from "lucide-react";-// plane imports-import { AUTH_TRACKER_ELEMENTS, AUTH_TRACKER_EVENTS } from "@plane/constants";-import { useTranslation } from "@plane/i18n";-import { Button, Input, TOAST_TYPE, getButtonStyling, setToast } from "@plane/ui";-import { cn, checkEmailValidity } from "@plane/utils";+// components+import { ForgotPasswordForm } from "@/components/account/auth-forms/forgot-password";+import { AuthHeader } from "@/components/auth-screens/header";// helpers-import { EPageTypes } from "@/helpers/authentication.helper";-// hooks-import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";-import { useInstance } from "@/hooks/store";-import useTimer from "@/hooks/use-timer";-// wrappers+import { EAuthModes, EPageTypes } from "@/helpers/authentication.helper";+// layouts+import DefaultLayout from "@/layouts/default-layout";import { AuthenticationWrapper } from "@/lib/wrappers";-// images-import PlaneBackgroundPatternDark from "@/public/auth/background-pattern-dark.svg";-import PlaneBackgroundPattern from "@/public/auth/background-pattern.svg";-import BlackHorizontalLogo from "@/public/plane-logos/black-horizontal-with-blue-logo.png";-import WhiteHorizontalLogo from "@/public/plane-logos/white-horizontal-with-blue-logo.png";-// services-import { AuthService } from "@/services/auth.service";-type TForgotPasswordFormValues = {- email: string;-};--const defaultValues: TForgotPasswordFormValues = {- email: "",-};--// services-const authService = new AuthService();--const ForgotPasswordPage = observer(() => {- // search params- const searchParams = useSearchParams();- const email = searchParams.get("email");- // plane hooks- const { t } = useTranslation();- const { config } = useInstance();- // hooks- const { resolvedTheme } = useTheme();- // timer- const { timer: resendTimerCode, setTimer: setResendCodeTimer } = useTimer(0);-- // form info- const {- control,- formState: { errors, isSubmitting, isValid },- handleSubmit,- } = useForm<TForgotPasswordFormValues>({- defaultValues: {- ...defaultValues,- email: email?.toString() ?? "",- },- });-- const handleForgotPassword = async (formData: TForgotPasswordFormValues) => {- await authService- .sendResetPasswordLink({- email: formData.email,- })- .then(() => {- captureSuccess({- eventName: AUTH_TRACKER_EVENTS.forgot_password,- payload: {- email: formData.email,- },- });- setToast({- type: TOAST_TYPE.SUCCESS,- title: t("auth.forgot_password.toast.success.title"),- message: t("auth.forgot_password.toast.success.message"),- });- setResendCodeTimer(30);- })- .catch((err) => {- captureError({- eventName: AUTH_TRACKER_EVENTS.forgot_password,- payload: {- email: formData.email,- },- });- setToast({- type: TOAST_TYPE.ERROR,- title: t("auth.forgot_password.toast.error.title"),- message: err?.error ?? t("auth.forgot_password.toast.error.message"),- });- });- };-- // derived values- const enableSignUpConfig = config?.enable_signup ?? false;-- const logo = resolvedTheme === "light" ? BlackHorizontalLogo : WhiteHorizontalLogo;-- return (+const ForgotPasswordPage = observer(() => (+ <DefaultLayout><AuthenticationWrapper pageType={EPageTypes.NON_AUTHENTICATED}>- <div className="relative w-screen h-screen overflow-hidden">- <div className="absolute inset-0 z-0">- <Image- src={resolvedTheme === "dark" ? PlaneBackgroundPatternDark : PlaneBackgroundPattern}- className="object-cover w-full h-full"- alt="Plane background pattern"- />- </div>- <div className="relative z-10 flex flex-col w-screen h-screen overflow-hidden overflow-y-auto">- <div className="container relative flex items-center justify-between flex-shrink-0 min-w-full px-10 pb-4 transition-all lg:px-20 xl:px-36">- <div className="flex items-center py-10 gap-x-2">- <Link href={`/`} className="h-[30px] w-[133px]">- <Image src={logo} alt="Plane logo" />- </Link>- </div>- {enableSignUpConfig && (- <div className="flex flex-col items-end text-sm font-medium text-center sm:items-center sm:gap-2 sm:flex-row text-onboarding-text-300">- {t("auth.common.new_to_plane")}- <Link- href="/"- data-ph-element={AUTH_TRACKER_ELEMENTS.SIGNUP_FROM_FORGOT_PASSWORD}- className="font-semibold text-custom-primary-100 hover:underline"- >- {t("auth.common.create_account")}- </Link>- </div>- )}- </div>- <div className="container flex-grow max-w-lg px-10 py-10 mx-auto transition-all lg:max-w-md lg:px-5 lg:pt-28">- <div className="relative flex flex-col space-y-6">- <div className="py-4 space-y-1 text-center">- <h3 className="flex justify-center gap-4 text-3xl font-bold text-onboarding-text-100">- {t("auth.forgot_password.title")}- </h3>- <p className="font-medium text-onboarding-text-400">{t("auth.forgot_password.description")}</p>- </div>- <form onSubmit={handleSubmit(handleForgotPassword)} className="mt-5 space-y-4">- <div className="space-y-1">- <label className="text-sm font-medium text-onboarding-text-300" htmlFor="email">- {t("auth.common.email.label")}- </label>- <Controller- control={control}- name="email"- rules={{- required: t("auth.common.email.errors.required"),- validate: (value) => checkEmailValidity(value) || t("auth.common.email.errors.invalid"),- }}- render={({ field: { value, onChange, ref } }) => (- <Input- id="email"- name="email"- type="email"- value={value}- onChange={onChange}- ref={ref}- hasError={Boolean(errors.email)}- placeholder={t("auth.common.email.placeholder")}- className="h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 placeholder:text-onboarding-text-400"- autoComplete="on"- disabled={resendTimerCode > 0}- />- )}- />- {resendTimerCode > 0 && (- <p className="flex items-start w-full gap-1 px-1 text-xs font-medium text-green-700">- <CircleCheck height={12} width={12} className="mt-0.5" />- {t("auth.forgot_password.email_sent")}- </p>- )}- </div>- <Button- type="submit"- variant="primary"- className="w-full"- size="lg"- disabled={!isValid}- loading={isSubmitting || resendTimerCode > 0}- >- {resendTimerCode > 0- ? t("auth.common.resend_in", { seconds: resendTimerCode })- : t("auth.forgot_password.send_reset_link")}- </Button>- <Link href="/" className={cn("w-full", getButtonStyling("link-neutral", "lg"))}>- {t("auth.common.back_to_sign_in")}- </Link>- </form>- </div>- </div>- </div>+ <div className="relative z-10 flex flex-col items-center w-screen h-screen overflow-hidden overflow-y-auto pt-6 pb-10 px-8">+ <AuthHeader type={EAuthModes.SIGN_IN} />+ <ForgotPasswordForm /></div></AuthenticationWrapper>- );-});+ </DefaultLayout>+));export default ForgotPasswordPage;diff --git a/apps/web/app/(all)/accounts/reset-password/page.tsx b/apps/web/app/(all)/accounts/reset-password/page.tsxindex bf6980e9b4..43468a0191 100644--- a/apps/web/app/(all)/accounts/reset-password/page.tsx+++ b/apps/web/app/(all)/accounts/reset-password/page.tsx@@ -1,242 +1,25 @@"use client";-import { useEffect, useMemo, useState } from "react";-import { observer } from "mobx-react";-import Image from "next/image";-import Link from "next/link";-import { useSearchParams } from "next/navigation";-// icons-import { useTheme } from "next-themes";-import { Eye, EyeOff } from "lucide-react";-// ui-import { API_BASE_URL, E_PASSWORD_STRENGTH } from "@plane/constants";-import { useTranslation } from "@plane/i18n";-import { Button, Input, PasswordStrengthIndicator } from "@plane/ui";+// plane imports+import { EAuthModes } from "@plane/constants";// components-import { getPasswordStrength } from "@plane/utils";-import { AuthBanner } from "@/components/account";+import { ResetPasswordForm } from "@/components/account";+import { AuthHeader } from "@/components/auth-screens/header";// helpers-import {- EAuthenticationErrorCodes,- EErrorAlertType,- EPageTypes,- TAuthErrorInfo,- authErrorHandler,-} from "@/helpers/authentication.helper";-// wrappers+import { EPageTypes } from "@/helpers/authentication.helper";+// layouts+import DefaultLayout from "@/layouts/default-layout";import { AuthenticationWrapper } from "@/lib/wrappers";-// services-// images-import PlaneBackgroundPatternDark from "@/public/auth/background-pattern-dark.svg";-import PlaneBackgroundPattern from "@/public/auth/background-pattern.svg";-import BlackHorizontalLogo from "@/public/plane-logos/black-horizontal-with-blue-logo.png";-import WhiteHorizontalLogo from "@/public/plane-logos/white-horizontal-with-blue-logo.png";-import { AuthService } from "@/services/auth.service";-type TResetPasswordFormValues = {- email: string;- password: string;- confirm_password?: string;-};--const defaultValues: TResetPasswordFormValues = {- email: "",- password: "",-};--// services-const authService = new AuthService();--const ResetPasswordPage = observer(() => {- // search params- const searchParams = useSearchParams();- const uidb64 = searchParams.get("uidb64");- const token = searchParams.get("token");- const email = searchParams.get("email");- const error_code = searchParams.get("error_code");- // states- const [showPassword, setShowPassword] = useState({- password: false,- retypePassword: false,- });- const [resetFormData, setResetFormData] = useState<TResetPasswordFormValues>({- ...defaultValues,- email: email ? email.toString() : "",- });- const [csrfToken, setCsrfToken] = useState<string | undefined>(undefined);- const [isPasswordInputFocused, setIsPasswordInputFocused] = useState(false);- const [isRetryPasswordInputFocused, setIsRetryPasswordInputFocused] = useState(false);- const [errorInfo, setErrorInfo] = useState<TAuthErrorInfo | undefined>(undefined);- // plane hooks- const { t } = useTranslation();- // hooks- const { resolvedTheme } = useTheme();-- const handleShowPassword = (key: keyof typeof showPassword) =>- setShowPassword((prev) => ({ ...prev, [key]: !prev[key] }));-- const handleFormChange = (key: keyof TResetPasswordFormValues, value: string) =>- setResetFormData((prev) => ({ ...prev, [key]: value }));-- useEffect(() => {- if (csrfToken === undefined)- authService.requestCSRFToken().then((data) => data?.csrf_token && setCsrfToken(data.csrf_token));- }, [csrfToken]);-- const isButtonDisabled = useMemo(- () =>- !!resetFormData.password &&- getPasswordStrength(resetFormData.password) === E_PASSWORD_STRENGTH.STRENGTH_VALID &&- resetFormData.password === resetFormData.confirm_password- ? false- : true,- [resetFormData]- );-- useEffect(() => {- if (error_code) {- const errorhandler = authErrorHandler(error_code?.toString() as EAuthenticationErrorCodes);- if (errorhandler) {- setErrorInfo(errorhandler);- }- }- }, [error_code]);-- const password = resetFormData?.password ?? "";- const confirmPassword = resetFormData?.confirm_password ?? "";- const renderPasswordMatchError = !isRetryPasswordInputFocused || confirmPassword.length >= password.length;-- const logo = resolvedTheme === "light" ? BlackHorizontalLogo : WhiteHorizontalLogo;-- return (+const ResetPasswordPage = () => (+ <DefaultLayout><AuthenticationWrapper pageType={EPageTypes.NON_AUTHENTICATED}>- <div className="relative w-screen h-screen overflow-hidden">- <div className="absolute inset-0 z-0">- <Image- src={resolvedTheme === "dark" ? PlaneBackgroundPatternDark : PlaneBackgroundPattern}- className="w-full h-full object-cover"- alt="Plane background pattern"- />- </div>- <div className="relative z-10 w-screen h-screen overflow-hidden overflow-y-auto flex flex-col">- <div className="container min-w-full px-10 lg:px-20 xl:px-36 flex-shrink-0 relative flex items-center justify-between pb-4 transition-all">- <div className="flex items-center gap-x-2 py-10">- <Link href={`/`} className="h-[30px] w-[133px]">- <Image src={logo} alt="Plane logo" />- </Link>- </div>- </div>- <div className="flex-grow container mx-auto max-w-lg px-10 lg:max-w-md lg:px-5 py-10 lg:pt-28 transition-all">- <div className="relative flex flex-col space-y-6">- <div className="text-center space-y-1 py-4">- <h3 className="flex gap-4 justify-center text-3xl font-bold text-onboarding-text-100">- {t("auth.reset_password.title")}- </h3>- <p className="font-medium text-onboarding-text-400">{t("auth.reset_password.description")}</p>- </div>- {errorInfo && errorInfo?.type === EErrorAlertType.BANNER_ALERT && (- <AuthBanner bannerData={errorInfo} handleBannerData={(value) => setErrorInfo(value)} />- )}- <form- className="mt-5 space-y-4"- method="POST"- action={`${API_BASE_URL}/auth/reset-password/${uidb64?.toString()}/${token?.toString()}/`}- >- <input type="hidden" name="csrfmiddlewaretoken" value={csrfToken} />- <div className="space-y-1">- <label className="text-sm text-onboarding-text-300 font-medium" htmlFor="email">- {t("auth.common.email.label")}- </label>- <div className="relative flex items-center rounded-md bg-onboarding-background-200">- <Input- id="email"- name="email"- type="email"- value={resetFormData.email}- //hasError={Boolean(errors.email)}- placeholder={t("auth.common.email.placeholder")}- className="h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 text-onboarding-text-400 cursor-not-allowed"- autoComplete="on"- disabled- />- </div>- </div>- <div className="space-y-1">- <label className="text-sm text-onboarding-text-300 font-medium" htmlFor="password">- {t("auth.common.password.label")}- </label>- <div className="relative flex items-center rounded-md bg-onboarding-background-200">- <Input- type={showPassword.password ? "text" : "password"}- name="password"- value={resetFormData.password}- onChange={(e) => handleFormChange("password", e.target.value)}- //hasError={Boolean(errors.password)}- placeholder={t("auth.common.password.placeholder")}- className="h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 placeholder:text-onboarding-text-400"- minLength={8}- onFocus={() => setIsPasswordInputFocused(true)}- onBlur={() => setIsPasswordInputFocused(false)}- autoComplete="on"- autoFocus- />- {showPassword.password ? (- <EyeOff- className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"- onClick={() => handleShowPassword("password")}- />- ) : (- <Eye- className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"- onClick={() => handleShowPassword("password")}- />- )}- </div>- <PasswordStrengthIndicator password={resetFormData.password} isFocused={isPasswordInputFocused} />- </div>- <div className="space-y-1">- <label className="text-sm text-onboarding-text-300 font-medium" htmlFor="confirm_password">- {t("auth.common.password.confirm_password.label")}- </label>- <div className="relative flex items-center rounded-md bg-onboarding-background-200">- <Input- type={showPassword.retypePassword ? "text" : "password"}- name="confirm_password"- value={resetFormData.confirm_password}- onChange={(e) => handleFormChange("confirm_password", e.target.value)}- placeholder={t("auth.common.password.confirm_password.placeholder")}- className="h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 placeholder:text-onboarding-text-400"- onFocus={() => setIsRetryPasswordInputFocused(true)}- onBlur={() => setIsRetryPasswordInputFocused(false)}- />- {showPassword.retypePassword ? (- <EyeOff- className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"- onClick={() => handleShowPassword("retypePassword")}- />- ) : (- <Eye- className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"- onClick={() => handleShowPassword("retypePassword")}- />- )}- </div>- {!!resetFormData.confirm_password &&- resetFormData.password !== resetFormData.confirm_password &&- renderPasswordMatchError && (- <span className="text-sm text-red-500">{t("auth.common.password.errors.match")}</span>- )}- </div>- <Button type="submit" variant="primary" className="w-full" size="lg" disabled={isButtonDisabled}>- {t("auth.common.password.submit")}- </Button>- </form>- </div>- </div>- </div>+ <div className="relative z-10 flex flex-col items-center w-screen h-screen overflow-hidden overflow-y-auto pt-6 pb-10 px-8">+ <AuthHeader type={EAuthModes.SIGN_IN} />+ <ResetPasswordForm /></div></AuthenticationWrapper>- );-});+ </DefaultLayout>+);export default ResetPasswordPage;diff --git a/apps/web/app/(all)/accounts/set-password/page.tsx b/apps/web/app/(all)/accounts/set-password/page.tsxindex f50a8d987c..f09218e27c 100644--- a/apps/web/app/(all)/accounts/set-password/page.tsx+++ b/apps/web/app/(all)/accounts/set-password/page.tsx@@ -1,253 +1,25 @@"use client";-import { FormEvent, useEffect, useMemo, useState } from "react";-import { observer } from "mobx-react";-import Image from "next/image";-import Link from "next/link";-import { useSearchParams } from "next/navigation";-// icons-import { useTheme } from "next-themes";-import { Eye, EyeOff } from "lucide-react";// plane imports-import { AUTH_TRACKER_ELEMENTS, AUTH_TRACKER_EVENTS, E_PASSWORD_STRENGTH } from "@plane/constants";-import { useTranslation } from "@plane/i18n";-import { Button, Input, PasswordStrengthIndicator, TOAST_TYPE, setToast } from "@plane/ui";+import { EAuthModes } from "@plane/constants";// components-import { getPasswordStrength } from "@plane/utils";+import { ResetPasswordForm } from "@/components/account";+import { AuthHeader } from "@/components/auth-screens/header";// helpersimport { EPageTypes } from "@/helpers/authentication.helper";-// hooks-import { captureError, captureSuccess, captureView } from "@/helpers/event-tracker.helper";-import { useUser } from "@/hooks/store";-import { useAppRouter } from "@/hooks/use-app-router";-// wrappers+// layouts+import DefaultLayout from "@/layouts/default-layout";import { AuthenticationWrapper } from "@/lib/wrappers";-// services-// images-import PlaneBackgroundPatternDark from "@/public/auth/background-pattern-dark.svg";-import PlaneBackgroundPattern from "@/public/auth/background-pattern.svg";-import BlackHorizontalLogo from "@/public/plane-logos/black-horizontal-with-blue-logo.png";-import WhiteHorizontalLogo from "@/public/plane-logos/white-horizontal-with-blue-logo.png";-import { AuthService } from "@/services/auth.service";-type TResetPasswordFormValues = {- email: string;- password: string;- confirm_password?: string;-};--const defaultValues: TResetPasswordFormValues = {- email: "",- password: "",-};--// services-const authService = new AuthService();--const SetPasswordPage = observer(() => {- // router- const router = useAppRouter();- // search params- const searchParams = useSearchParams();- const email = searchParams.get("email");- // states- const [showPassword, setShowPassword] = useState({- password: false,- retypePassword: false,- });- const [passwordFormData, setPasswordFormData] = useState<TResetPasswordFormValues>({- ...defaultValues,- email: email ? email.toString() : "",- });- const [csrfToken, setCsrfToken] = useState<string | undefined>(undefined);- const [isPasswordInputFocused, setIsPasswordInputFocused] = useState(false);- const [isRetryPasswordInputFocused, setIsRetryPasswordInputFocused] = useState(false);- // plane hooks- const { t } = useTranslation();- // hooks- const { resolvedTheme } = useTheme();- const { data: user, handleSetPassword } = useUser();-- useEffect(() => {- captureView({- elementName: AUTH_TRACKER_ELEMENTS.SET_PASSWORD_FORM,- });- }, []);-- useEffect(() => {- if (csrfToken === undefined)- authService.requestCSRFToken().then((data) => data?.csrf_token && setCsrfToken(data.csrf_token));- }, [csrfToken]);-- const handleShowPassword = (key: keyof typeof showPassword) =>- setShowPassword((prev) => ({ ...prev, [key]: !prev[key] }));-- const handleFormChange = (key: keyof TResetPasswordFormValues, value: string) =>- setPasswordFormData((prev) => ({ ...prev, [key]: value }));-- const isButtonDisabled = useMemo(- () =>- !!passwordFormData.password &&- getPasswordStrength(passwordFormData.password) === E_PASSWORD_STRENGTH.STRENGTH_VALID &&- passwordFormData.password === passwordFormData.confirm_password- ? false- : true,- [passwordFormData]- );-- const handleSubmit = async (e: FormEvent<HTMLFormElement>) => {- try {- e.preventDefault();- if (!csrfToken) throw new Error("csrf token not found");- await handleSetPassword(csrfToken, { password: passwordFormData.password });- captureSuccess({- eventName: AUTH_TRACKER_EVENTS.password_created,- });- router.push("/");- } catch (error: unknown) {- let message = undefined;- if (error instanceof Error) {- const err = error as Error & { error?: string };- message = err.error;- }- captureError({- eventName: AUTH_TRACKER_EVENTS.password_created,- });- setToast({- type: TOAST_TYPE.ERROR,- title: t("common.errors.default.title"),- message: message ?? t("common.errors.default.message"),- });- }- };-- const password = passwordFormData?.password ?? "";- const confirmPassword = passwordFormData?.confirm_password ?? "";- const renderPasswordMatchError = !isRetryPasswordInputFocused || confirmPassword.length >= password.length;-- const logo = resolvedTheme === "light" ? BlackHorizontalLogo : WhiteHorizontalLogo;-- return (+const SetPasswordPage = () => (+ <DefaultLayout><AuthenticationWrapper pageType={EPageTypes.SET_PASSWORD}>- <div className="relative w-screen h-screen overflow-hidden">- <div className="absolute inset-0 z-0">- <Image- src={resolvedTheme === "dark" ? PlaneBackgroundPatternDark : PlaneBackgroundPattern}- className="w-full h-full object-cover"- alt="Plane background pattern"- />- </div>- <div className="relative z-10 w-screen h-screen overflow-hidden overflow-y-auto flex flex-col">- <div className="container min-w-full px-10 lg:px-20 xl:px-36 flex-shrink-0 relative flex items-center justify-between pb-4 transition-all">- <div className="flex items-center gap-x-2 py-10">- <Link href={`/`} className="h-[30px] w-[133px]">- <Image src={logo} alt="Plane logo" />- </Link>- </div>- </div>- <div className="flex-grow container mx-auto max-w-lg px-10 lg:max-w-md lg:px-5 py-10 lg:pt-28 transition-all">- <div className="relative flex flex-col space-y-6">- <div className="text-center space-y-1 py-4">- <h3 className="flex gap-4 justify-center text-3xl font-bold text-onboarding-text-100">- {t("auth.set_password.title")}- </h3>- <p className="font-medium text-onboarding-text-400">{t("auth.set_password.description")}</p>- </div>- <form className="mt-5 space-y-4" onSubmit={(e) => handleSubmit(e)}>- <div className="space-y-1">- <label className="text-sm text-onboarding-text-300 font-medium" htmlFor="email">- {t("auth.common.email.label")}- </label>- <div className="relative flex items-center rounded-md bg-onboarding-background-200">- <Input- id="email"- name="email"- type="email"- value={user?.email}- //hasError={Boolean(errors.email)}- placeholder={t("auth.common.email.placeholder")}- className="h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 text-onboarding-text-400 cursor-not-allowed"- autoComplete="on"- disabled- />- </div>- </div>- <div className="space-y-1">- <label className="text-sm text-onboarding-text-300 font-medium" htmlFor="password">- {t("auth.common.password.label")}- </label>- <div className="relative flex items-center rounded-md bg-onboarding-background-200">- <Input- type={showPassword.password ? "text" : "password"}- name="password"- value={passwordFormData.password}- onChange={(e) => handleFormChange("password", e.target.value)}- //hasError={Boolean(errors.password)}- placeholder={t("auth.common.password.placeholder")}- className="h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 placeholder:text-onboarding-text-400"- minLength={8}- onFocus={() => setIsPasswordInputFocused(true)}- onBlur={() => setIsPasswordInputFocused(false)}- autoComplete="on"- autoFocus- />- {showPassword.password ? (- <EyeOff- className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"- onClick={() => handleShowPassword("password")}- />- ) : (- <Eye- className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"- onClick={() => handleShowPassword("password")}- />- )}- </div>- <PasswordStrengthIndicator password={passwordFormData.password} isFocused={isPasswordInputFocused} />- </div>- <div className="space-y-1">- <label className="text-sm text-onboarding-text-300 font-medium" htmlFor="confirm_password">- {t("auth.common.password.confirm_password.label")}- </label>- <div className="relative flex items-center rounded-md bg-onboarding-background-200">- <Input- type={showPassword.retypePassword ? "text" : "password"}- name="confirm_password"- value={passwordFormData.confirm_password}- onChange={(e) => handleFormChange("confirm_password", e.target.value)}- placeholder={t("auth.common.password.confirm_password.placeholder")}- className="h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 placeholder:text-onboarding-text-400"- onFocus={() => setIsRetryPasswordInputFocused(true)}- onBlur={() => setIsRetryPasswordInputFocused(false)}- />- {showPassword.retypePassword ? (- <EyeOff- className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"- onClick={() => handleShowPassword("retypePassword")}- />- ) : (- <Eye- className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"- onClick={() => handleShowPassword("retypePassword")}- />- )}- </div>- {!!passwordFormData.confirm_password &&- passwordFormData.password !== passwordFormData.confirm_password &&- renderPasswordMatchError && (- <span className="text-sm text-red-500">{t("auth.common.password.errors.match")}</span>- )}- </div>- <Button type="submit" variant="primary" className="w-full" size="lg" disabled={isButtonDisabled}>- {t("common.continue")}- </Button>- </form>- </div>- </div>- </div>+ <div className="relative z-10 flex flex-col items-center w-screen h-screen overflow-hidden overflow-y-auto pt-6 pb-10 px-8">+ <AuthHeader type={EAuthModes.SIGN_IN} />+ <ResetPasswordForm /></div></AuthenticationWrapper>- );-});+ </DefaultLayout>+);export default SetPasswordPage;diff --git a/apps/web/app/(all)/create-workspace/page.tsx b/apps/web/app/(all)/create-workspace/page.tsxindex c747166f89..ab28596e4c 100644--- a/apps/web/app/(all)/create-workspace/page.tsx+++ b/apps/web/app/(all)/create-workspace/page.tsx@@ -4,11 +4,10 @@ import { useState } from "react";import { observer } from "mobx-react";import Image from "next/image";import Link from "next/link";-import { useTheme } from "next-themes";import { useTranslation } from "@plane/i18n";import { IWorkspace } from "@plane/types";// components-import { Button, getButtonStyling } from "@plane/ui";+import { Button, getButtonStyling, PlaneLogo } from "@plane/ui";import { CreateWorkspaceForm } from "@/components/workspace";// hooksimport { useUser, useUserProfile } from "@/hooks/store";@@ -18,8 +17,6 @@ import { AuthenticationWrapper } from "@/lib/wrappers";// plane web helpersimport { getIsWorkspaceCreationDisabled } from "@/plane-web/helpers/instance.helper";// images-import BlackHorizontalLogo from "@/public/plane-logos/black-horizontal-with-blue-logo.png";-import WhiteHorizontalLogo from "@/public/plane-logos/white-horizontal-with-blue-logo.png";import WorkspaceCreationDisabled from "@/public/workspace/workspace-creation-disabled.png";const CreateWorkspacePage = observer(() => {@@ -35,8 +32,6 @@ const CreateWorkspacePage = observer(() => {slug: "",organization_size: "",});- // hooks- const { resolvedTheme } = useTheme();// derived valuesconst isWorkspaceCreationDisabled = getIsWorkspaceCreationDisabled();@@ -56,8 +51,6 @@ const CreateWorkspacePage = observer(() => {await updateUserProfile({ last_workspace_id: workspace.id }).then(() => router.push(`/${workspace.slug}`));};- const logo = resolvedTheme === "light" ? BlackHorizontalLogo : WhiteHorizontalLogo;-return (<AuthenticationWrapper><div className="flex h-full flex-col gap-y-2 overflow-hidden sm:flex-row sm:gap-y-0">@@ -67,9 +60,7 @@ const CreateWorkspacePage = observer(() => {className="absolute left-5 top-1/2 grid -translate-y-1/2 place-items-center bg-custom-background-100 px-3 sm:left-1/2 sm:top-12 sm:-translate-x-[15px] sm:translate-y-0 sm:px-0 sm:py-5 md:left-1/3"href="/">- <div className="h-[30px] w-[133px]">- <Image src={logo} alt="Plane logo" />- </div>+ <PlaneLogo className="h-9 w-auto text-custom-text-100" /></Link><div className="absolute right-4 top-1/4 -translate-y-1/2 text-sm text-custom-text-100 sm:fixed sm:right-16 sm:top-12 sm:translate-y-0 sm:py-5">{currentUser?.email}diff --git a/apps/web/app/(all)/invitations/page.tsx b/apps/web/app/(all)/invitations/page.tsxindex c3ba0e1527..5a2ee5c3a3 100644--- a/apps/web/app/(all)/invitations/page.tsx+++ b/apps/web/app/(all)/invitations/page.tsx@@ -2,10 +2,8 @@import React, { useState } from "react";import { observer } from "mobx-react";-import Image from "next/image";import Link from "next/link";-import { useTheme } from "next-themes";import useSWR, { mutate } from "swr";import { CheckCircle2 } from "lucide-react";// plane imports@@ -14,7 +12,7 @@ import { useTranslation } from "@plane/i18n";// typesimport type { IWorkspaceMemberInvitation } from "@plane/types";// ui-import { Button, TOAST_TYPE, setToast } from "@plane/ui";+import { Button, TOAST_TYPE, setToast, PlaneLogo } from "@plane/ui";import { truncateText } from "@plane/utils";// componentsimport { EmptyState } from "@/components/common";@@ -31,8 +29,6 @@ import { AuthenticationWrapper } from "@/lib/wrappers";import { WorkspaceService } from "@/plane-web/services";// imagesimport emptyInvitation from "@/public/empty-state/invitation.svg";-import BlackHorizontalLogo from "@/public/plane-logos/black-horizontal-with-blue-logo.png";-import WhiteHorizontalLogo from "@/public/plane-logos/white-horizontal-with-blue-logo.png";const workspaceService = new WorkspaceService();@@ -48,8 +44,6 @@ const UserInvitationsPage = observer(() => {const { updateUserProfile } = useUserProfile();const { fetchWorkspaces } = useWorkspace();- // next-themes- const { resolvedTheme } = useTheme();const { data: invitations } = useSWR("USER_WORKSPACE_INVITATIONS", () => workspaceService.userWorkspaceInvitations());@@ -130,8 +124,6 @@ const UserInvitationsPage = observer(() => {});};- const logo = resolvedTheme === "light" ? BlackHorizontalLogo : WhiteHorizontalLogo;-return (<AuthenticationWrapper><div className="flex h-full flex-col gap-y-2 overflow-hidden sm:flex-row sm:gap-y-0">@@ -141,9 +133,7 @@ const UserInvitationsPage = observer(() => {href="/"className="absolute left-5 top-1/2 grid -translate-y-1/2 place-items-center bg-custom-background-100 px-3 sm:left-1/2 sm:top-12 sm:-translate-x-[15px] sm:translate-y-0 sm:px-0 sm:py-5 md:left-1/3 z-10">- <div className="h-[30px] w-[133px]">- <Image src={logo} alt="Plane logo" />- </div>+ <PlaneLogo className="h-9 w-auto text-custom-text-100" /></Link><div className="absolute right-4 top-1/4 -translate-y-1/2 text-sm text-custom-text-100 sm:fixed sm:right-16 sm:top-12 sm:translate-y-0 sm:py-5">{currentUser?.email}diff --git a/apps/web/app/(all)/onboarding/page.tsx b/apps/web/app/(all)/onboarding/page.tsxindex 45ef3c5dd0..f85fea7f11 100644--- a/apps/web/app/(all)/onboarding/page.tsx+++ b/apps/web/app/(all)/onboarding/page.tsx@@ -1,50 +1,32 @@"use client";-import { useEffect, useState } from "react";import { observer } from "mobx-react";import useSWR from "swr";-// types-import { USER_TRACKER_EVENTS } from "@plane/constants";-import { TOnboardingSteps, TUserProfile } from "@plane/types";-// ui-import { TOAST_TYPE, setToast } from "@plane/ui";+// componentsimport { LogoSpinner } from "@/components/common";-import { InviteMembers, CreateOrJoinWorkspaces, ProfileSetup } from "@/components/onboarding";+import { OnboardingRoot } from "@/components/onboarding";// constantsimport { USER_WORKSPACES_LIST } from "@/constants/fetch-keys";// helpersimport { EPageTypes } from "@/helpers/authentication.helper";// hooks-import { captureSuccess } from "@/helpers/event-tracker.helper";-import { useUser, useWorkspace, useUserProfile } from "@/hooks/store";+import { useUser, useWorkspace } from "@/hooks/store";// wrappersimport { AuthenticationWrapper } from "@/lib/wrappers";-import { WorkspaceService } from "@/plane-web/services";+import { WorkspaceContentWrapper } from "@/plane-web/components/workspace";// services--enum EOnboardingSteps {- PROFILE_SETUP = "PROFILE_SETUP",- WORKSPACE_CREATE_OR_JOIN = "WORKSPACE_CREATE_OR_JOIN",- INVITE_MEMBERS = "INVITE_MEMBERS",-}+import { WorkspaceService } from "@/plane-web/services";const workspaceService = new WorkspaceService();const OnboardingPage = observer(() => {- // states- const [step, setStep] = useState<EOnboardingSteps | null>(null);- const [totalSteps, setTotalSteps] = useState<number | null>(null);// store hooks- const { isLoading: userLoader, data: user, updateCurrentUser } = useUser();- const { data: profile, updateUserProfile, finishUserOnboarding } = useUserProfile();- const { workspaces, fetchWorkspaces } = useWorkspace();-- // computed values- const workspacesList = Object.values(workspaces ?? {});+ const { data: user } = useUser();+ const { fetchWorkspaces } = useWorkspace();// fetching workspaces list- const { isLoading: workspaceListLoader } = useSWR(USER_WORKSPACES_LIST, () => {+ useSWR(USER_WORKSPACES_LIST, () => {if (user?.id) {fetchWorkspaces();}@@ -57,133 +39,22 @@ const OnboardingPage = observer(() => {if (user?.id) return workspaceService.userWorkspaceInvitations();});- // handle step change- const stepChange = async (steps: Partial<TOnboardingSteps>) => {- if (!user) return;-- const payload: Partial<TUserProfile> = {- onboarding_step: {- ...profile.onboarding_step,- ...steps,- },- };-- await updateUserProfile(payload);- };-- // complete onboarding- const finishOnboarding = async () => {- if (!user) return;-- await finishUserOnboarding()- .then(() => {- captureSuccess({- eventName: USER_TRACKER_EVENTS.onboarding_complete,- payload: {- email: user.email,- user_id: user.id,- },- });- })- .catch(() => {- setToast({- type: TOAST_TYPE.ERROR,- title: "Failed",- message: "Failed to finish onboarding, Please try again later.",- });- });- };-- useEffect(() => {- // Never update the total steps if it's already set.- if (!totalSteps && userLoader === false && workspaceListLoader === false) {- // If user is already invited to a workspace, only show profile setup steps.- if (workspacesList && workspacesList?.length > 0) {- // If password is auto set then show two different steps for profile setup, else merge them.- if (user?.is_password_autoset) setTotalSteps(2);- else setTotalSteps(1);- } else {- // If password is auto set then total steps will increase to 4 due to extra step at profile setup stage.- if (user?.is_password_autoset) setTotalSteps(4);- else setTotalSteps(3);- }- }- // eslint-disable-next-line react-hooks/exhaustive-deps- }, [userLoader, workspaceListLoader]);-- // If the user completes the profile setup and has workspaces (through invitations), then finish the onboarding.- useEffect(() => {- if (userLoader === false && profile && workspaceListLoader === false) {- const onboardingStep = profile.onboarding_step;- if (onboardingStep.profile_complete && !onboardingStep.workspace_create && workspacesList.length > 0)- finishOnboarding();- }- // eslint-disable-next-line react-hooks/exhaustive-deps- }, [userLoader, profile, workspaceListLoader]);-- useEffect(() => {- const handleStepChange = async () => {- if (!user) return;-- const onboardingStep = profile.onboarding_step;-- if (!onboardingStep.profile_complete) setStep(EOnboardingSteps.PROFILE_SETUP);-- if (- onboardingStep.profile_complete &&- !(onboardingStep.workspace_join || onboardingStep.workspace_create || workspacesList?.length > 0)- ) {- setStep(EOnboardingSteps.WORKSPACE_CREATE_OR_JOIN);- }-- if (- onboardingStep.profile_complete &&- (onboardingStep.workspace_join || onboardingStep.workspace_create) &&- !onboardingStep.workspace_invite- )- setStep(EOnboardingSteps.INVITE_MEMBERS);- };-- handleStepChange();- // eslint-disable-next-line react-hooks/exhaustive-deps- }, [user, step, profile.onboarding_step, updateCurrentUser, workspacesList]);return (<AuthenticationWrapper pageType={EPageTypes.ONBOARDING}>- {user && totalSteps && step !== null && !invitationsLoader ? (- <div className={`flex h-full w-full flex-col`}>- {step === EOnboardingSteps.PROFILE_SETUP ? (- <ProfileSetup- user={user}- totalSteps={totalSteps}- stepChange={stepChange}- finishOnboarding={finishOnboarding}- />- ) : step === EOnboardingSteps.WORKSPACE_CREATE_OR_JOIN ? (- <CreateOrJoinWorkspaces- invitations={invitations ?? []}- totalSteps={totalSteps}- stepChange={stepChange}- finishOnboarding={finishOnboarding}- />- ) : step === EOnboardingSteps.INVITE_MEMBERS ? (- <InviteMembers- finishOnboarding={finishOnboarding}- totalSteps={totalSteps}- user={user}- workspace={workspacesList?.[0]}- />- ) : (- <div className="flex h-full w-full items-center justify-center">- Something Went wrong. Please try again.- </div>- )}- </div>- ) : (- <div className="grid h-screen w-full place-items-center">- <LogoSpinner />+ <div className="flex relative size-full overflow-hidden bg-custom-background-90 rounded-lg transition-all ease-in-out duration-300">+ <div className="size-full p-2 flex-grow transition-all ease-in-out duration-300 overflow-hidden">+ <div className="relative flex flex-col h-full w-full overflow-hidden rounded-lg bg-custom-background-100 shadow-md border border-custom-border-200">+ {user && !invitationsLoader ? (+ <OnboardingRoot invitations={invitations ?? []} />+ ) : (+ <div className="grid h-full w-full place-items-center">+ <LogoSpinner />+ </div>+ )}+ </div></div>- )}+ </div></AuthenticationWrapper>);});diff --git a/apps/web/app/(all)/sign-up/page.tsx b/apps/web/app/(all)/sign-up/page.tsxindex 25deaf8f16..7d3943d1c5 100644--- a/apps/web/app/(all)/sign-up/page.tsx+++ b/apps/web/app/(all)/sign-up/page.tsx@@ -1,69 +1,19 @@"use client";-import { observer } from "mobx-react";-import Image from "next/image";-import Link from "next/link";-// ui-import { useTheme } from "next-themes";// components-import { AUTH_TRACKER_ELEMENTS } from "@plane/constants";-import { useTranslation } from "@plane/i18n";-import { AuthRoot } from "@/components/account";-// constants+import { AuthBase } from "@/components/auth-screens";// helpersimport { EAuthModes, EPageTypes } from "@/helpers/authentication.helper";// assets+import DefaultLayout from "@/layouts/default-layout";import { AuthenticationWrapper } from "@/lib/wrappers";-import PlaneBackgroundPatternDark from "@/public/auth/background-pattern-dark.svg";-import PlaneBackgroundPattern from "@/public/auth/background-pattern.svg";-import BlackHorizontalLogo from "@/public/plane-logos/black-horizontal-with-blue-logo.png";-import WhiteHorizontalLogo from "@/public/plane-logos/white-horizontal-with-blue-logo.png";-export type AuthType = "sign-in" | "sign-up";--const SignInPage = observer(() => {- // plane hooks- const { t } = useTranslation();- // hooks- const { resolvedTheme } = useTheme();-- const logo = resolvedTheme === "light" ? BlackHorizontalLogo : WhiteHorizontalLogo;-- return (+const SignUpPage = () => (+ <DefaultLayout><AuthenticationWrapper pageType={EPageTypes.NON_AUTHENTICATED}>- <div className="relative w-screen h-screen overflow-hidden">- <div className="absolute inset-0 z-0">- <Image- src={resolvedTheme === "dark" ? PlaneBackgroundPatternDark : PlaneBackgroundPattern}- className="w-full h-full object-cover"- alt="Plane background pattern"- />- </div>- <div className="relative z-10 w-screen h-screen overflow-hidden overflow-y-auto flex flex-col">- <div className="container min-w-full px-10 lg:px-20 xl:px-36 flex-shrink-0 relative flex items-center justify-between pb-4 transition-all">- <div className="flex items-center gap-x-2 py-10">- <Link href={`/`} className="h-[30px] w-[133px]">- <Image src={logo} alt="Plane logo" />- </Link>- </div>- <div className="flex flex-col items-end sm:items-center sm:gap-2 sm:flex-row text-center text-sm font-medium text-onboarding-text-300">- {t("auth.common.already_have_an_account")}- <Link- href="/"- data-ph-element={AUTH_TRACKER_ELEMENTS.SIGN_IN_FROM_SIGNUP}- className="font-semibold text-custom-primary-100 hover:underline"- >- {t("auth.common.login")}- </Link>- </div>- </div>- <div className="flex flex-col justify-center flex-grow container h-[100vh-60px] mx-auto max-w-lg px-10 lg:max-w-md lg:px-5 transition-all">- <AuthRoot authMode={EAuthModes.SIGN_UP} />- </div>- </div>- </div>+ <AuthBase authType={EAuthModes.SIGN_UP} /></AuthenticationWrapper>- );-});+ </DefaultLayout>+);-export default SignInPage;+export default SignUpPage;diff --git a/apps/web/app/(home)/page.tsx b/apps/web/app/(home)/page.tsxindex c9f0c48501..68a0dd5985 100644--- a/apps/web/app/(home)/page.tsx+++ b/apps/web/app/(home)/page.tsx@@ -1,83 +1,23 @@"use client";import React from "react";-import { observer } from "mobx-react";-import Image from "next/image";-import Link from "next/link";-// ui-import { useTheme } from "next-themes";// components-import { AUTH_TRACKER_ELEMENTS } from "@plane/constants";-import { useTranslation } from "@plane/i18n";-import { AuthRoot } from "@/components/account";-import { PageHead } from "@/components/core";// constants// helpers+import { AuthBase } from "@/components/auth-screens";import { EAuthModes, EPageTypes } from "@/helpers/authentication.helper";// hooks-import { useInstance } from "@/hooks/store";// layoutsimport DefaultLayout from "@/layouts/default-layout";// wrappersimport { AuthenticationWrapper } from "@/lib/wrappers";// assets-import PlaneBackgroundPatternDark from "@/public/auth/background-pattern-dark.svg";-import PlaneBackgroundPattern from "@/public/auth/background-pattern.svg";-import BlackHorizontalLogo from "@/public/plane-logos/black-horizontal-with-blue-logo.png";-import WhiteHorizontalLogo from "@/public/plane-logos/white-horizontal-with-blue-logo.png";-const HomePage = observer(() => {- const { resolvedTheme } = useTheme();- // plane hooks- const { t } = useTranslation();- // store- const { config } = useInstance();- // derived values- const enableSignUpConfig = config?.enable_signup ?? false;-- const logo = resolvedTheme === "light" ? BlackHorizontalLogo : WhiteHorizontalLogo;-- return (- <DefaultLayout>- <AuthenticationWrapper pageType={EPageTypes.NON_AUTHENTICATED}>- <>- <div className="relative w-screen h-screen overflow-hidden">- <PageHead title={t("auth.common.login") + " - Plane"} />- <div className="absolute inset-0 z-0">- <Image- src={resolvedTheme === "dark" ? PlaneBackgroundPatternDark : PlaneBackgroundPattern}- className="object-cover w-full h-full"- alt="Plane background pattern"- />- </div>- <div className="relative z-10 flex flex-col w-screen h-screen overflow-hidden overflow-y-auto">- <div className="container relative flex items-center justify-between flex-shrink-0 min-w-full px-10 pb-4 transition-all lg:px-20 xl:px-36">- <div className="flex items-center py-10 gap-x-2">- <Link href={`/`} className="h-[30px] w-[133px]">- <Image src={logo} alt="Plane logo" />- </Link>- </div>- {enableSignUpConfig && (- <div className="flex flex-col items-end text-sm font-medium text-center sm:items-center sm:gap-2 sm:flex-row text-onboarding-text-300">- {t("auth.common.new_to_plane")}- <Link- href="/sign-up"- data-ph-element={AUTH_TRACKER_ELEMENTS.NAVIGATE_TO_SIGN_UP}- className="font-semibold text-custom-primary-100 hover:underline"- >- {t("auth.common.create_account")}- </Link>- </div>- )}- </div>- <div className="flex flex-col justify-center flex-grow container h-[100vh-60px] mx-auto max-w-lg px-10 lg:max-w-md lg:px-5 transition-all">- <AuthRoot authMode={EAuthModes.SIGN_IN} />- </div>- </div>- </div>- </>- </AuthenticationWrapper>- </DefaultLayout>- );-});+const HomePage = () => (+ <DefaultLayout>+ <AuthenticationWrapper pageType={EPageTypes.NON_AUTHENTICATED}>+ <AuthBase authType={EAuthModes.SIGN_IN} />+ </AuthenticationWrapper>+ </DefaultLayout>+);export default HomePage;diff --git a/apps/web/app/provider.tsx b/apps/web/app/provider.tsxindex 554bf796d4..4a014d619c 100644--- a/apps/web/app/provider.tsx+++ b/apps/web/app/provider.tsx@@ -37,7 +37,7 @@ export const AppProvider: FC<IAppProvider> = (props) => {// themesreturn (<>- <AppProgressBar height="4px" color="#3F76FF" options={{ showSpinner: false }} shallowRouting />+ <AppProgressBar height="4px" options={{ showSpinner: false }} shallowRouting /><StoreProvider><ThemeProvider themes={["light", "dark", "light-contrast", "dark-contrast", "custom"]} defaultTheme="system"><ToastWithTheme />diff --git a/apps/web/ce/components/global/product-updates-header.tsx b/apps/web/ce/components/global/product-updates-header.tsxindex 776d9667dd..418a940a7e 100644--- a/apps/web/ce/components/global/product-updates-header.tsx+++ b/apps/web/ce/components/global/product-updates-header.tsx@@ -1,10 +1,8 @@import { observer } from "mobx-react";-import Image from "next/image";import { useTranslation } from "@plane/i18n";+import { PlaneLogo } from "@plane/ui";// helpersimport { cn } from "@plane/utils";-// assets-import PlaneLogo from "@/public/plane-logos/blue-without-text.png";// package.jsonimport packageJson from "package.json";@@ -23,7 +21,7 @@ export const ProductUpdatesHeader = observer(() => {</div></div><div className="flex flex-shrink-0 items-center gap-8">- <Image src={PlaneLogo} alt="Plane" width={24} height={24} />+ <PlaneLogo className="h-6 w-auto text-custom-text-100" /></div></div>);diff --git a/apps/web/core/components/account/auth-forms/auth-header.tsx b/apps/web/core/components/account/auth-forms/auth-header.tsxindex c705c7edd6..7e88919421 100644--- a/apps/web/core/components/account/auth-forms/auth-header.tsx+++ b/apps/web/core/components/account/auth-forms/auth-header.tsx@@ -1,4 +1,4 @@-import { FC, ReactNode } from "react";+import { FC } from "react";import { observer } from "mobx-react";import useSWR from "swr";import { useTranslation } from "@plane/i18n";@@ -17,36 +17,35 @@ type TAuthHeader = {invitationEmail: string | undefined;authMode: EAuthModes;currentAuthStep: EAuthSteps;- children: ReactNode;};const Titles = {[EAuthModes.SIGN_IN]: {[EAuthSteps.EMAIL]: {- header: "auth.sign_in.header.step.email.header",- subHeader: "",+ header: "Work in all dimensions.",+ subHeader: "Welcome back to Plane.",},[EAuthSteps.PASSWORD]: {- header: "auth.sign_in.header.step.password.header",- subHeader: "auth.sign_in.header.step.password.sub_header",+ header: "Work in all dimensions.",+ subHeader: "Welcome back to Plane.",},[EAuthSteps.UNIQUE_CODE]: {- header: "auth.sign_in.header.step.unique_code.header",- subHeader: "auth.sign_in.header.step.unique_code.sub_header",+ header: "Work in all dimensions.",+ subHeader: "Welcome back to Plane.",},},[EAuthModes.SIGN_UP]: {[EAuthSteps.EMAIL]: {- header: "auth.sign_up.header.step.email.header",- subHeader: "",+ header: "Work in all dimensions.",+ subHeader: "Create your Plane account.",},[EAuthSteps.PASSWORD]: {- header: "auth.sign_up.header.step.password.header",- subHeader: "auth.sign_up.header.step.password.sub_header",+ header: "Work in all dimensions.",+ subHeader: "Create your Plane account.",},[EAuthSteps.UNIQUE_CODE]: {- header: "auth.sign_up.header.step.unique_code.header",- subHeader: "auth.sign_up.header.step.unique_code.sub_header",+ header: "Work in all dimensions.",+ subHeader: "Create your Plane account.",},},};@@ -54,7 +53,7 @@ const Titles = {const workSpaceService = new WorkspaceService();export const AuthHeader: FC<TAuthHeader> = observer((props) => {- const { workspaceSlug, invitationId, invitationEmail, authMode, currentAuthStep, children } = props;+ const { workspaceSlug, invitationId, invitationEmail, authMode, currentAuthStep } = props;// plane importsconst { t } = useTranslation();@@ -83,7 +82,10 @@ export const AuthHeader: FC<TAuthHeader> = observer((props) => {{workspace.name}</div>),- subHeader: mode == EAuthModes.SIGN_UP ? "auth.sign_up.header.label" : "auth.sign_in.header.label",+ subHeader:+ mode == EAuthModes.SIGN_UP+ ? "Create an account to start managing work with your team."+ : "Log in to start managing work with your team.",};}@@ -100,14 +102,11 @@ export const AuthHeader: FC<TAuthHeader> = observer((props) => {);return (- <>- <div className="space-y-1 text-center">- <h1 className="text-3xl font-bold text-onboarding-text-100">- {typeof header === "string" ? t(header) : header}- </h1>- <p className="font-medium text-onboarding-text-400">{t(subHeader)}</p>- </div>- {children}- </>+ <div className="flex flex-col gap-1">+ <span className="text-2xl font-semibold text-custom-text-100 leading-7">+ {typeof header === "string" ? t(header) : header}+ </span>+ <span className="text-2xl font-semibold text-custom-text-400 leading-7">{subHeader}</span>+ </div>);});diff --git a/apps/web/core/components/account/auth-forms/auth-root.tsx b/apps/web/core/components/account/auth-forms/auth-root.tsxindex 004e81682b..c3cc80e10e 100644--- a/apps/web/core/components/account/auth-forms/auth-root.tsx+++ b/apps/web/core/components/account/auth-forms/auth-root.tsx@@ -1,18 +1,18 @@import React, { FC, useEffect, useState } from "react";import { observer } from "mobx-react";+import Image from "next/image";import { useSearchParams } from "next/navigation";-import { useTranslation } from "@plane/i18n";-import { IEmailCheckData } from "@plane/types";+import { useTheme } from "next-themes";+// plane imports+import { API_BASE_URL } from "@plane/constants";+import { OAuthOptions } from "@plane/ui";+// assets+import GithubLightLogo from "/public/logos/github-black.png";+import GithubDarkLogo from "/public/logos/github-dark.svg";+import GitlabLogo from "/public/logos/gitlab-logo.svg";+import GoogleLogo from "/public/logos/google-logo.svg";// components-import {- AuthHeader,- AuthBanner,- AuthEmailForm,- AuthPasswordForm,- OAuthOptions,- TermsAndConditions,- AuthUniqueCodeForm,-} from "@/components/account";+import { AuthHeader, AuthBanner, TermsAndConditions } from "@/components/account";// helpersimport {EAuthModes,@@ -24,11 +24,8 @@ import {} from "@/helpers/authentication.helper";// hooksimport { useInstance } from "@/hooks/store";-import { useAppRouter } from "@/hooks/use-app-router";// services-import { AuthService } from "@/services/auth.service";--const authService = new AuthService();+import { AuthFormRoot } from "./form-root";type TAuthRoot = {authMode: EAuthModes;@@ -36,14 +33,14 @@ type TAuthRoot = {export const AuthRoot: FC<TAuthRoot> = observer((props) => {//router- const router = useAppRouter();const searchParams = useSearchParams();// query paramsconst emailParam = searchParams.get("email");const invitation_id = searchParams.get("invitation_id");const workspaceSlug = searchParams.get("slug");const error_code = searchParams.get("error_code");- const nextPath = searchParams.get("next_path");+ const next_path = searchParams.get("next_path");+ const { resolvedTheme } = useTheme();// propsconst { authMode: currentAuthMode } = props;// states@@ -51,12 +48,14 @@ export const AuthRoot: FC<TAuthRoot> = observer((props) => {const [authStep, setAuthStep] = useState<EAuthSteps>(EAuthSteps.EMAIL);const [email, setEmail] = useState(emailParam ? emailParam.toString() : "");const [errorInfo, setErrorInfo] = useState<TAuthErrorInfo | undefined>(undefined);- const [isExistingEmail, setIsExistingEmail] = useState(false);- // plane hooks- const { t } = useTranslation();+// hooksconst { config } = useInstance();+ // derived values+ const isOAuthEnabled =+ (config && (config?.is_google_enabled || config?.is_github_enabled || config?.is_gitlab_enabled)) || false;+useEffect(() => {if (!authMode && currentAuthMode) setAuthMode(currentAuthMode);}, [currentAuthMode, authMode]);@@ -103,102 +102,75 @@ export const AuthRoot: FC<TAuthRoot> = observer((props) => {}}, [error_code, authMode]);- const isSMTPConfigured = config?.is_smtp_configured || false;-- // submit handler- email verification- const handleEmailVerification = async (data: IEmailCheckData) => {- setEmail(data.email);- setErrorInfo(undefined);- await authService- .emailCheck(data)- .then(async (response) => {- if (response.existing) {- if (currentAuthMode === EAuthModes.SIGN_UP) setAuthMode(EAuthModes.SIGN_IN);- if (response.status === "MAGIC_CODE") {- setAuthStep(EAuthSteps.UNIQUE_CODE);- generateEmailUniqueCode(data.email);- } else if (response.status === "CREDENTIAL") {- setAuthStep(EAuthSteps.PASSWORD);- }- } else {- if (currentAuthMode === EAuthModes.SIGN_IN) setAuthMode(EAuthModes.SIGN_UP);- if (response.status === "MAGIC_CODE") {- setAuthStep(EAuthSteps.UNIQUE_CODE);- generateEmailUniqueCode(data.email);- } else if (response.status === "CREDENTIAL") {- setAuthStep(EAuthSteps.PASSWORD);- }- }- setIsExistingEmail(response.existing);- })- .catch((error) => {- const errorhandler = authErrorHandler(error?.error_code?.toString(), data?.email || undefined);- if (errorhandler?.type) setErrorInfo(errorhandler);- });- };+ if (!authMode) return <></>;- const handleEmailClear = () => {- setAuthMode(currentAuthMode);- setErrorInfo(undefined);- setEmail("");- setAuthStep(EAuthSteps.EMAIL);- router.push(currentAuthMode === EAuthModes.SIGN_IN ? `/` : "/sign-up");- };+ const OauthButtonContent = authMode === EAuthModes.SIGN_UP ? "Sign up" : "Sign in";- // generating the unique code- const generateEmailUniqueCode = async (email: string): Promise<{ code: string } | undefined> => {- if (!isSMTPConfigured) return;- const payload = { email: email };- return await authService- .generateUniqueCode(payload)- .then(() => ({ code: "" }))- .catch((error) => {- const errorhandler = authErrorHandler(error?.error_code.toString());- if (errorhandler?.type) setErrorInfo(errorhandler);- throw error;- });- };+ const OAuthConfig = [+ {+ id: "google",+ text: `${OauthButtonContent} with Google`,+ icon: <Image src={GoogleLogo} height={18} width={18} alt="Google Logo" />,+ onClick: () => {+ window.location.assign(`${API_BASE_URL}/auth/google/${next_path ? `?next_path=${next_path}` : ``}`);+ },+ enabled: config?.is_google_enabled,+ },+ {+ id: "github",+ text: `${OauthButtonContent} with GitHub`,+ icon: (+ <Image+ src={resolvedTheme === "dark" ? GithubLightLogo : GithubDarkLogo}+ height={18}+ width={18}+ alt="GitHub Logo"+ />+ ),+ onClick: () => {+ window.location.assign(`${API_BASE_URL}/auth/github/${next_path ? `?next_path=${next_path}` : ``}`);+ },+ enabled: config?.is_github_enabled,+ },+ {+ id: "gitlab",+ text: `${OauthButtonContent} with GitLab`,+ icon: <Image src={GitlabLogo} height={18} width={18} alt="GitLab Logo" />,+ onClick: () => {+ window.location.assign(`${API_BASE_URL}/auth/gitlab/${next_path ? `?next_path=${next_path}` : ``}`);+ },+ enabled: config?.is_gitlab_enabled,+ },+ ];- if (!authMode) return <></>;return (- <div className="relative flex flex-col space-y-6">- <AuthHeader- workspaceSlug={workspaceSlug?.toString() || undefined}- invitationId={invitation_id?.toString() || undefined}- invitationEmail={email || undefined}- authMode={authMode}- currentAuthStep={authStep}- >+ <div className="flex flex-col justify-center items-center flex-grow w-full py-6 mt-10">+ <div className="relative flex flex-col gap-6 max-w-[22.5rem] w-full">{errorInfo && errorInfo?.type === EErrorAlertType.BANNER_ALERT && (<AuthBanner bannerData={errorInfo} handleBannerData={(value) => setErrorInfo(value)} />)}- {authStep === EAuthSteps.EMAIL && <AuthEmailForm defaultEmail={email} onSubmit={handleEmailVerification} />}- {authStep === EAuthSteps.UNIQUE_CODE && (- <AuthUniqueCodeForm- mode={authMode}- email={email}- isExistingEmail={isExistingEmail}- handleEmailClear={handleEmailClear}- generateEmailUniqueCode={generateEmailUniqueCode}- nextPath={nextPath || undefined}- />- )}- {authStep === EAuthSteps.PASSWORD && (- <AuthPasswordForm- mode={authMode}- isSMTPConfigured={isSMTPConfigured}- email={email}- handleEmailClear={handleEmailClear}- handleAuthStep={(step: EAuthSteps) => {- if (step === EAuthSteps.UNIQUE_CODE) generateEmailUniqueCode(email);- setAuthStep(step);- }}- nextPath={nextPath || undefined}- />- )}- <OAuthOptions isSignUp={authMode === EAuthModes.SIGN_UP} />- <TermsAndConditions isSignUp={authMode === EAuthModes.SIGN_UP} />- </AuthHeader>+ <AuthHeader+ workspaceSlug={workspaceSlug?.toString() || undefined}+ invitationId={invitation_id?.toString() || undefined}+ invitationEmail={email || undefined}+ authMode={authMode}+ currentAuthStep={authStep}+ />++ {isOAuthEnabled && <OAuthOptions options={OAuthConfig} compact={authStep === EAuthSteps.PASSWORD} />}++ <AuthFormRoot+ authStep={authStep}+ authMode={authMode}+ email={email}+ setEmail={(email) => setEmail(email)}+ setAuthMode={(authMode) => setAuthMode(authMode)}+ setAuthStep={(authStep) => setAuthStep(authStep)}+ setErrorInfo={(errorInfo) => setErrorInfo(errorInfo)}+ currentAuthMode={currentAuthMode}+ />+ <TermsAndConditions authType={authMode} />+ </div></div>);});diff --git a/apps/web/core/components/account/auth-forms/common/container.tsx b/apps/web/core/components/account/auth-forms/common/container.tsxnew file mode 100644index 0000000000..ccdb3e52d0--- /dev/null+++ b/apps/web/core/components/account/auth-forms/common/container.tsx@@ -0,0 +1,7 @@+"use client";++export const FormContainer = ({ children }: { children: React.ReactNode }) => (+ <div className="flex flex-col justify-center items-center flex-grow w-full py-6 mt-10">+ <div className="relative flex flex-col gap-6 max-w-[22.5rem] w-full">{children}</div>+ </div>+);diff --git a/apps/web/core/components/account/auth-forms/common/header.tsx b/apps/web/core/components/account/auth-forms/common/header.tsxnew file mode 100644index 0000000000..b8da31ddf8--- /dev/null+++ b/apps/web/core/components/account/auth-forms/common/header.tsx@@ -0,0 +1,8 @@+"use client";++export const AuthFormHeader = ({ title, description }: { title: string; description: string }) => (+ <div className="flex flex-col gap-1">+ <span className="text-2xl font-semibold text-custom-text-100">{title}</span>+ <span className="text-2xl font-semibold text-custom-text-400">{description}</span>+ </div>+);diff --git a/apps/web/core/components/account/auth-forms/common/index.ts b/apps/web/core/components/account/auth-forms/common/index.tsnew file mode 100644index 0000000000..f41aa70fd5--- /dev/null+++ b/apps/web/core/components/account/auth-forms/common/index.ts@@ -0,0 +1,2 @@+export * from "./container";+export * from "./header";diff --git a/apps/web/core/components/account/auth-forms/email.tsx b/apps/web/core/components/account/auth-forms/email.tsxindex 586bff1f73..c4d3d890ef 100644--- a/apps/web/core/components/account/auth-forms/email.tsx+++ b/apps/web/core/components/account/auth-forms/email.tsx@@ -43,15 +43,15 @@ export const AuthEmailForm: FC<TAuthEmailForm> = observer((props) => {const inputRef = useRef<HTMLInputElement>(null);return (- <form onSubmit={handleFormSubmit} className="mt-5 space-y-4">+ <form onSubmit={handleFormSubmit} className="space-y-4"><div className="space-y-1">- <label htmlFor="email" className="text-sm text-onboarding-text-300 font-medium">+ <label htmlFor="email" className="text-sm text-custom-text-300 font-medium">{t("auth.common.email.label")}</label><divclassName={cn(- `relative flex items-center rounded-md bg-onboarding-background-200 border`,- !isFocused && Boolean(emailError?.email) ? `border-red-500` : `border-onboarding-border-100`+ `relative flex items-center rounded-md bg-custom-background-100 border`,+ !isFocused && Boolean(emailError?.email) ? `border-red-500` : `border-custom-border-300`)}onFocus={() => {setIsFocused(true);@@ -67,7 +67,7 @@ export const AuthEmailForm: FC<TAuthEmailForm> = observer((props) => {value={email}onChange={(e) => setEmail(e.target.value)}placeholder={t("auth.common.email.placeholder")}- className={`disable-autofill-style h-[46px] w-full placeholder:text-onboarding-text-400 autofill:bg-red-500 border-0 focus:bg-none active:bg-transparent`}+ className={`disable-autofill-style h-10 w-full placeholder:text-custom-text-400 autofill:bg-red-500 border-0 focus:bg-none active:bg-transparent`}autoComplete="on"autoFocusref={inputRef}diff --git a/apps/web/core/components/account/auth-forms/forgot-password-popover.tsx b/apps/web/core/components/account/auth-forms/forgot-password-popover.tsxindex 1149110665..3b243b8942 100644--- a/apps/web/core/components/account/auth-forms/forgot-password-popover.tsx+++ b/apps/web/core/components/account/auth-forms/forgot-password-popover.tsx@@ -38,7 +38,7 @@ export const ForgotPasswordPopover = () => {<Popover.Panel className="fixed z-10">{({ close }) => (<div- className="border border-onboarding-border-300 bg-onboarding-background-100 rounded z-10 py-1 px-2 w-64 break-words flex items-start gap-3 text-left ml-3"+ className="border border-custom-border-300 bg-custom-background-100 rounded z-10 py-1 px-2 w-64 break-words flex items-start gap-3 text-left ml-3"ref={setPopperElement}style={styles.popper}{...attributes.popper}@@ -51,7 +51,7 @@ export const ForgotPasswordPopover = () => {onClick={() => close()}aria-label={t("aria_labels.auth_forms.close_popover")}>- <X className="size-3 text-onboarding-text-200" />+ <X className="size-3 text-custom-text-200" /></button></div>)}diff --git a/apps/web/core/components/account/auth-forms/forgot-password.tsx b/apps/web/core/components/account/auth-forms/forgot-password.tsxnew file mode 100644index 0000000000..6cef6018a2--- /dev/null+++ b/apps/web/core/components/account/auth-forms/forgot-password.tsx@@ -0,0 +1,145 @@+"use client";++import { observer } from "mobx-react";+import Link from "next/link";+import { useSearchParams } from "next/navigation";+import { Controller, useForm } from "react-hook-form";+// icons+import { CircleCheck } from "lucide-react";+// plane imports+import { AUTH_TRACKER_EVENTS } from "@plane/constants";+import { useTranslation } from "@plane/i18n";+import { Button, Input, TOAST_TYPE, getButtonStyling, setToast } from "@plane/ui";+import { cn, checkEmailValidity } from "@plane/utils";+// helpers+import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";+// hooks+import useTimer from "@/hooks/use-timer";+// services+import { AuthService } from "@/services/auth.service";+// local components+import { FormContainer, AuthFormHeader } from "./common";++type TForgotPasswordFormValues = {+ email: string;+};++const defaultValues: TForgotPasswordFormValues = {+ email: "",+};++// services+const authService = new AuthService();++export const ForgotPasswordForm = observer(() => {+ // search params+ const searchParams = useSearchParams();+ const email = searchParams.get("email");+ // plane hooks+ const { t } = useTranslation();+ // timer+ const { timer: resendTimerCode, setTimer: setResendCodeTimer } = useTimer(0);++ // form info+ const {+ control,+ formState: { errors, isSubmitting, isValid },+ handleSubmit,+ } = useForm<TForgotPasswordFormValues>({+ defaultValues: {+ ...defaultValues,+ email: email?.toString() ?? "",+ },+ });++ const handleForgotPassword = async (formData: TForgotPasswordFormValues) => {+ await authService+ .sendResetPasswordLink({+ email: formData.email,+ })+ .then(() => {+ captureSuccess({+ eventName: AUTH_TRACKER_EVENTS.forgot_password,+ payload: {+ email: formData.email,+ },+ });+ setToast({+ type: TOAST_TYPE.SUCCESS,+ title: t("auth.forgot_password.toast.success.title"),+ message: t("auth.forgot_password.toast.success.message"),+ });+ setResendCodeTimer(30);+ })+ .catch((err) => {+ captureError({+ eventName: AUTH_TRACKER_EVENTS.forgot_password,+ payload: {+ email: formData.email,+ },+ });+ setToast({+ type: TOAST_TYPE.ERROR,+ title: t("auth.forgot_password.toast.error.title"),+ message: err?.error ?? t("auth.forgot_password.toast.error.message"),+ });+ });+ };++ return (+ <FormContainer>+ <AuthFormHeader title="Reset password" description="Regain access to your account." />+ <form onSubmit={handleSubmit(handleForgotPassword)} className="space-y-4">+ <div className="space-y-1">+ <label className="text-sm font-medium text-custom-text-300" htmlFor="email">+ {t("auth.common.email.label")}+ </label>+ <Controller+ control={control}+ name="email"+ rules={{+ required: t("auth.common.email.errors.required"),+ validate: (value) => checkEmailValidity(value) || t("auth.common.email.errors.invalid"),+ }}+ render={({ field: { value, onChange, ref } }) => (+ <Input+ id="email"+ name="email"+ type="email"+ value={value}+ onChange={onChange}+ ref={ref}+ hasError={Boolean(errors.email)}+ placeholder={t("auth.common.email.placeholder")}+ className="h-10 w-full border border-custom-border-300 !bg-custom-background-100 pr-12 placeholder:text-custom-text-400"+ autoComplete="on"+ disabled={resendTimerCode > 0}+ />+ )}+ />+ {resendTimerCode > 0 && (+ <p className="flex items-start w-full gap-1 px-1 text-xs font-medium text-green-700">+ <CircleCheck height={12} width={12} className="mt-0.5" />+ {t("auth.forgot_password.email_sent")}+ </p>+ )}+ </div>+ <Button+ type="submit"+ variant="primary"+ className="w-full"+ size="lg"+ disabled={!isValid}+ loading={isSubmitting || resendTimerCode > 0}+ >+ {resendTimerCode > 0+ ? t("auth.common.resend_in", { seconds: resendTimerCode })+ : t("auth.forgot_password.send_reset_link")}+ </Button>+ <Link href="/" className={cn("w-full", getButtonStyling("link-neutral", "lg"))}>+ {t("auth.common.back_to_sign_in")}+ </Link>+ </form>+ </FormContainer>+ );+});diff --git a/apps/web/core/components/account/auth-forms/form-root.tsx b/apps/web/core/components/account/auth-forms/form-root.tsxnew file mode 100644index 0000000000..d23afbfcc3--- /dev/null+++ b/apps/web/core/components/account/auth-forms/form-root.tsx@@ -0,0 +1,133 @@+"use client";++import React, { useState } from "react";+import { observer } from "mobx-react";+import { useSearchParams } from "next/navigation";+import { EAuthModes, EAuthSteps } from "@plane/constants";+import { IEmailCheckData } from "@plane/types";+// helpers+import { authErrorHandler, TAuthErrorInfo } from "@/helpers/authentication.helper";+// hooks+import { useInstance } from "@/hooks/store/use-instance";+import { useAppRouter } from "@/hooks/use-app-router";+// services+import { AuthService } from "@/services/auth.service";+// local components+import { AuthEmailForm } from "./email";+import { AuthPasswordForm } from "./password";+import { AuthUniqueCodeForm } from "./unique-code";++type TAuthFormRoot = {+ authStep: EAuthSteps;+ authMode: EAuthModes;+ email: string;+ setEmail: (email: string) => void;+ setAuthMode: (authMode: EAuthModes) => void;+ setAuthStep: (authStep: EAuthSteps) => void;+ setErrorInfo: (errorInfo: TAuthErrorInfo | undefined) => void;+ currentAuthMode: EAuthModes;+};++const authService = new AuthService();++export const AuthFormRoot = observer((props: TAuthFormRoot) => {+ const { authStep, authMode, email, setEmail, setAuthMode, setAuthStep, setErrorInfo, currentAuthMode } = props;+ // router+ const router = useAppRouter();+ // query params+ const searchParams = useSearchParams();+ const nextPath = searchParams.get("next_path");+ // states+ const [isExistingEmail, setIsExistingEmail] = useState(false);+ // hooks+ const { config } = useInstance();++ const isSMTPConfigured = config?.is_smtp_configured || false;++ // submit handler- email verification+ const handleEmailVerification = async (data: IEmailCheckData) => {+ setEmail(data.email);+ setErrorInfo(undefined);+ await authService+ .emailCheck(data)+ .then(async (response) => {+ if (response.existing) {+ if (currentAuthMode === EAuthModes.SIGN_UP) setAuthMode(EAuthModes.SIGN_IN);+ if (response.status === "MAGIC_CODE") {+ setAuthStep(EAuthSteps.UNIQUE_CODE);+ generateEmailUniqueCode(data.email);+ } else if (response.status === "CREDENTIAL") {+ setAuthStep(EAuthSteps.PASSWORD);+ }+ } else {+ if (currentAuthMode === EAuthModes.SIGN_IN) setAuthMode(EAuthModes.SIGN_UP);+ if (response.status === "MAGIC_CODE") {+ setAuthStep(EAuthSteps.UNIQUE_CODE);+ generateEmailUniqueCode(data.email);+ } else if (response.status === "CREDENTIAL") {+ setAuthStep(EAuthSteps.PASSWORD);+ }+ }+ setIsExistingEmail(response.existing);+ })+ .catch((error) => {+ const errorhandler = authErrorHandler(error?.error_code?.toString(), data?.email || undefined);+ if (errorhandler?.type) setErrorInfo(errorhandler);+ });+ };++ const handleEmailClear = () => {+ setAuthMode(currentAuthMode);+ setErrorInfo(undefined);+ setEmail("");+ setAuthStep(EAuthSteps.EMAIL);+ router.push(currentAuthMode === EAuthModes.SIGN_IN ? `/` : "/sign-up");+ };++ // generating the unique code+ const generateEmailUniqueCode = async (email: string): Promise<{ code: string } | undefined> => {+ if (!isSMTPConfigured) return;+ const payload = { email: email };+ return await authService+ .generateUniqueCode(payload)+ .then(() => ({ code: "" }))+ .catch((error) => {+ const errorhandler = authErrorHandler(error?.error_code.toString());+ if (errorhandler?.type) setErrorInfo(errorhandler);+ throw error;+ });+ };++ if (authStep === EAuthSteps.EMAIL) {+ return <AuthEmailForm defaultEmail={email} onSubmit={handleEmailVerification} />;+ }+ if (authStep === EAuthSteps.UNIQUE_CODE) {+ return (+ <AuthUniqueCodeForm+ mode={authMode}+ email={email}+ isExistingEmail={isExistingEmail}+ handleEmailClear={handleEmailClear}+ generateEmailUniqueCode={generateEmailUniqueCode}+ nextPath={nextPath || undefined}+ />+ );+ }+ if (authStep === EAuthSteps.PASSWORD) {+ return (+ <AuthPasswordForm+ mode={authMode}+ isSMTPConfigured={isSMTPConfigured}+ email={email}+ handleEmailClear={handleEmailClear}+ handleAuthStep={(step: EAuthSteps) => {+ if (step === EAuthSteps.UNIQUE_CODE) generateEmailUniqueCode(email);+ setAuthStep(step);+ }}+ nextPath={nextPath || undefined}+ />+ );+ }++ return <></>;+});diff --git a/apps/web/core/components/account/auth-forms/index.ts b/apps/web/core/components/account/auth-forms/index.tsindex 604c4b5c60..d13a85a2d8 100644--- a/apps/web/core/components/account/auth-forms/index.ts+++ b/apps/web/core/components/account/auth-forms/index.ts@@ -7,3 +7,8 @@ export * from "./email";export * from "./forgot-password-popover";export * from "./password";export * from "./unique-code";++export * from "./common";+export * from "./forgot-password";+export * from "./reset-password";+export * from "./set-password";\ No newline at end of filediff --git a/apps/web/core/components/account/auth-forms/password.tsx b/apps/web/core/components/account/auth-forms/password.tsxindex c675054df7..b22c91114c 100644--- a/apps/web/core/components/account/auth-forms/password.tsx+++ b/apps/web/core/components/account/auth-forms/password.tsx@@ -139,7 +139,7 @@ export const AuthPasswordForm: React.FC<Props> = observer((props: Props) => {)}<formref={formRef}- className="mt-5 space-y-4"+ className="space-y-4"method="POST"action={`${API_BASE_URL}/auth/${mode === EAuthModes.SIGN_IN ? "sign-in" : "sign-up"}/`}onSubmit={async (event) => {@@ -182,11 +182,11 @@ export const AuthPasswordForm: React.FC<Props> = observer((props: Props) => {<input type="hidden" value={passwordFormData.email} name="email" />{nextPath && <input type="hidden" value={nextPath} name="next_path" />}<div className="space-y-1">- <label htmlFor="email" className="text-sm font-medium text-onboarding-text-300">+ <label htmlFor="email" className="text-sm font-medium text-custom-text-300">{t("auth.common.email.label")}</label><div- className={`relative flex items-center rounded-md bg-onboarding-background-200 border border-onboarding-border-100`}+ className={`relative flex items-center rounded-md bg-custom-background-100 border border-custom-border-300`}><Inputid="email"@@ -195,7 +195,7 @@ export const AuthPasswordForm: React.FC<Props> = observer((props: Props) => {value={passwordFormData.email}onChange={(e) => handleFormChange("email", e.target.value)}placeholder={t("auth.common.email.placeholder")}- className={`disable-autofill-style h-[46px] w-full placeholder:text-onboarding-text-400 border-0`}+ className={`disable-autofill-style h-10 w-full placeholder:text-custom-text-400 border-0`}disabled/>{passwordFormData.email.length > 0 && (@@ -212,10 +212,10 @@ export const AuthPasswordForm: React.FC<Props> = observer((props: Props) => {</div><div className="space-y-1">- <label htmlFor="password" className="text-sm text-onboarding-text-300 font-medium">+ <label htmlFor="password" className="text-sm text-custom-text-300 font-medium">{mode === EAuthModes.SIGN_IN ? t("auth.common.password.label") : t("auth.common.password.set_password")}</label>- <div className="relative flex items-center rounded-md bg-onboarding-background-200">+ <div className="relative flex items-center rounded-md bg-custom-background-100"><Inputtype={showPassword?.password ? "text" : "password"}id="password"@@ -223,7 +223,7 @@ export const AuthPasswordForm: React.FC<Props> = observer((props: Props) => {value={passwordFormData.password}onChange={(e) => handleFormChange("password", e.target.value)}placeholder={t("auth.common.password.placeholder")}- className="disable-autofill-style h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 placeholder:text-onboarding-text-400"+ className="disable-autofill-style h-10 w-full border border-custom-border-300 !bg-custom-background-100 pr-12 placeholder:text-custom-text-400"onFocus={() => setIsPasswordInputFocused(true)}onBlur={() => setIsPasswordInputFocused(false)}autoComplete="on"@@ -249,10 +249,10 @@ export const AuthPasswordForm: React.FC<Props> = observer((props: Props) => {{mode === EAuthModes.SIGN_UP && (<div className="space-y-1">- <label htmlFor="confirm-password" className="text-sm text-onboarding-text-300 font-medium">+ <label htmlFor="confirm-password" className="text-sm text-custom-text-300 font-medium">{t("auth.common.password.confirm_password.label")}</label>- <div className="relative flex items-center rounded-md bg-onboarding-background-200">+ <div className="relative flex items-center rounded-md bg-custom-background-100"><Inputtype={showPassword?.retypePassword ? "text" : "password"}id="confirm-password"@@ -260,7 +260,7 @@ export const AuthPasswordForm: React.FC<Props> = observer((props: Props) => {value={passwordFormData.confirm_password}onChange={(e) => handleFormChange("confirm_password", e.target.value)}placeholder={t("auth.common.password.confirm_password.placeholder")}- className="disable-autofill-style h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 placeholder:text-onboarding-text-400"+ className="disable-autofill-style h-10 w-full border border-custom-border-300 !bg-custom-background-100 pr-12 placeholder:text-custom-text-400"onFocus={() => setIsRetryPasswordInputFocused(true)}onBlur={() => setIsRetryPasswordInputFocused(false)}/>diff --git a/apps/web/core/components/account/auth-forms/reset-password.tsx b/apps/web/core/components/account/auth-forms/reset-password.tsxnew file mode 100644index 0000000000..14b1ad43b2--- /dev/null+++ b/apps/web/core/components/account/auth-forms/reset-password.tsx@@ -0,0 +1,198 @@+"use client";++import { useEffect, useMemo, useState } from "react";+import { observer } from "mobx-react";+import { useSearchParams } from "next/navigation";+// icons+import { Eye, EyeOff } from "lucide-react";+// ui+import { API_BASE_URL, E_PASSWORD_STRENGTH } from "@plane/constants";+import { useTranslation } from "@plane/i18n";+import { Button, Input, PasswordStrengthIndicator } from "@plane/ui";+// components+import { getPasswordStrength } from "@plane/utils";+import { AuthBanner, FormContainer, AuthFormHeader } from "@/components/account";+// helpers+import {+ EAuthenticationErrorCodes,+ EErrorAlertType,+ TAuthErrorInfo,+ authErrorHandler,+} from "@/helpers/authentication.helper";+import { AuthService } from "@/services/auth.service";++type TResetPasswordFormValues = {+ email: string;+ password: string;+ confirm_password?: string;+};++const defaultValues: TResetPasswordFormValues = {+ email: "",+ password: "",+};++// services+const authService = new AuthService();++export const ResetPasswordForm = observer(() => {+ // search params+ const searchParams = useSearchParams();+ const uidb64 = searchParams.get("uidb64");+ const token = searchParams.get("token");+ const email = searchParams.get("email");+ const error_code = searchParams.get("error_code");+ // states+ const [showPassword, setShowPassword] = useState({+ password: false,+ retypePassword: false,+ });+ const [resetFormData, setResetFormData] = useState<TResetPasswordFormValues>({+ ...defaultValues,+ email: email ? email.toString() : "",+ });+ const [csrfToken, setCsrfToken] = useState<string | undefined>(undefined);+ const [isPasswordInputFocused, setIsPasswordInputFocused] = useState(false);+ const [isRetryPasswordInputFocused, setIsRetryPasswordInputFocused] = useState(false);+ const [errorInfo, setErrorInfo] = useState<TAuthErrorInfo | undefined>(undefined);+ // plane hooks+ const { t } = useTranslation();++ const handleShowPassword = (key: keyof typeof showPassword) =>+ setShowPassword((prev) => ({ ...prev, [key]: !prev[key] }));++ const handleFormChange = (key: keyof TResetPasswordFormValues, value: string) =>+ setResetFormData((prev) => ({ ...prev, [key]: value }));++ useEffect(() => {+ if (csrfToken === undefined)+ authService.requestCSRFToken().then((data) => data?.csrf_token && setCsrfToken(data.csrf_token));+ }, [csrfToken]);++ const isButtonDisabled = useMemo(+ () =>+ !!resetFormData.password &&+ getPasswordStrength(resetFormData.password) === E_PASSWORD_STRENGTH.STRENGTH_VALID &&+ resetFormData.password === resetFormData.confirm_password+ ? false+ : true,+ [resetFormData]+ );++ useEffect(() => {+ if (error_code) {+ const errorhandler = authErrorHandler(error_code?.toString() as EAuthenticationErrorCodes);+ if (errorhandler) {+ setErrorInfo(errorhandler);+ }+ }+ }, [error_code]);++ const password = resetFormData?.password ?? "";+ const confirmPassword = resetFormData?.confirm_password ?? "";+ const renderPasswordMatchError = !isRetryPasswordInputFocused || confirmPassword.length >= password.length;++ return (+ <FormContainer>+ <AuthFormHeader title="Reset password" description="Create a new password." />++ {errorInfo && errorInfo?.type === EErrorAlertType.BANNER_ALERT && (+ <AuthBanner bannerData={errorInfo} handleBannerData={(value) => setErrorInfo(value)} />+ )}+ <form+ className="space-y-4"+ method="POST"+ action={`${API_BASE_URL}/auth/reset-password/${uidb64?.toString()}/${token?.toString()}/`}+ >+ <input type="hidden" name="csrfmiddlewaretoken" value={csrfToken} />+ <div className="space-y-1">+ <label className="text-sm text-custom-text-300 font-medium" htmlFor="email">+ {t("auth.common.email.label")}+ </label>+ <div className="relative flex items-center rounded-md bg-custom-background-100">+ <Input+ id="email"+ name="email"+ type="email"+ value={resetFormData.email}+ //hasError={Boolean(errors.email)}+ placeholder={t("auth.common.email.placeholder")}+ className="h-10 w-full border border-custom-border-300 !bg-custom-background-100 pr-12 text-custom-text-400 cursor-not-allowed"+ autoComplete="on"+ disabled+ />+ </div>+ </div>+ <div className="space-y-1">+ <label className="text-sm text-custom-text-300 font-medium" htmlFor="password">+ {t("auth.common.password.label")}+ </label>+ <div className="relative flex items-center rounded-md bg-custom-background-100">+ <Input+ type={showPassword.password ? "text" : "password"}+ name="password"+ value={resetFormData.password}+ onChange={(e) => handleFormChange("password", e.target.value)}+ //hasError={Boolean(errors.password)}+ placeholder={t("auth.common.password.placeholder")}+ className="h-10 w-full border border-custom-border-300 !bg-custom-background-100 pr-12 placeholder:text-custom-text-400"+ minLength={8}+ onFocus={() => setIsPasswordInputFocused(true)}+ onBlur={() => setIsPasswordInputFocused(false)}+ autoComplete="on"+ autoFocus+ />+ {showPassword.password ? (+ <EyeOff+ className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"+ onClick={() => handleShowPassword("password")}+ />+ ) : (+ <Eye+ className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"+ onClick={() => handleShowPassword("password")}+ />+ )}+ </div>+ <PasswordStrengthIndicator password={resetFormData.password} isFocused={isPasswordInputFocused} />+ </div>+ <div className="space-y-1">+ <label className="text-sm text-custom-text-300 font-medium" htmlFor="confirm_password">+ {t("auth.common.password.confirm_password.label")}+ </label>+ <div className="relative flex items-center rounded-md bg-custom-background-100">+ <Input+ type={showPassword.retypePassword ? "text" : "password"}+ name="confirm_password"+ value={resetFormData.confirm_password}+ onChange={(e) => handleFormChange("confirm_password", e.target.value)}+ placeholder={t("auth.common.password.confirm_password.placeholder")}+ className="h-10 w-full border border-custom-border-300 !bg-custom-background-100 pr-12 placeholder:text-custom-text-400"+ onFocus={() => setIsRetryPasswordInputFocused(true)}+ onBlur={() => setIsRetryPasswordInputFocused(false)}+ />+ {showPassword.retypePassword ? (+ <EyeOff+ className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"+ onClick={() => handleShowPassword("retypePassword")}+ />+ ) : (+ <Eye+ className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"+ onClick={() => handleShowPassword("retypePassword")}+ />+ )}+ </div>+ {!!resetFormData.confirm_password &&+ resetFormData.password !== resetFormData.confirm_password &&+ renderPasswordMatchError && (+ <span className="text-sm text-red-500">{t("auth.common.password.errors.match")}</span>+ )}+ </div>+ <Button type="submit" variant="primary" className="w-full" size="lg" disabled={isButtonDisabled}>+ {t("auth.common.password.submit")}+ </Button>+ </form>+ </FormContainer>+ );+});diff --git a/apps/web/core/components/account/auth-forms/set-password.tsx b/apps/web/core/components/account/auth-forms/set-password.tsxnew file mode 100644index 0000000000..1510cdbd13--- /dev/null+++ b/apps/web/core/components/account/auth-forms/set-password.tsx@@ -0,0 +1,212 @@+"use client";++import { FormEvent, useEffect, useMemo, useState } from "react";+import { observer } from "mobx-react";+import { useSearchParams } from "next/navigation";+// icons+import { Eye, EyeOff } from "lucide-react";+// plane imports+import { AUTH_TRACKER_ELEMENTS, AUTH_TRACKER_EVENTS, E_PASSWORD_STRENGTH } from "@plane/constants";+import { useTranslation } from "@plane/i18n";+import { Button, Input, PasswordStrengthIndicator, TOAST_TYPE, setToast } from "@plane/ui";+// components+import { getPasswordStrength } from "@plane/utils";+// helpers+import { captureError, captureSuccess, captureView } from "@/helpers/event-tracker.helper";+// hooks+import { useUser } from "@/hooks/store";+import { useAppRouter } from "@/hooks/use-app-router";+// services+import { AuthService } from "@/services/auth.service";+// local components+import { AuthFormHeader, FormContainer } from "..";++type TResetPasswordFormValues = {+ email: string;+ password: string;+ confirm_password?: string;+};++const defaultValues: TResetPasswordFormValues = {+ email: "",+ password: "",+};++// services+const authService = new AuthService();++export const SetPasswordForm = observer(() => {+ // router+ const router = useAppRouter();+ // search params+ const searchParams = useSearchParams();+ const email = searchParams.get("email");+ // states+ const [showPassword, setShowPassword] = useState({+ password: false,+ retypePassword: false,+ });+ const [passwordFormData, setPasswordFormData] = useState<TResetPasswordFormValues>({+ ...defaultValues,+ email: email ? email.toString() : "",+ });+ const [csrfToken, setCsrfToken] = useState<string | undefined>(undefined);+ const [isPasswordInputFocused, setIsPasswordInputFocused] = useState(false);+ const [isRetryPasswordInputFocused, setIsRetryPasswordInputFocused] = useState(false);+ // plane hooks+ const { t } = useTranslation();+ // hooks+ const { data: user, handleSetPassword } = useUser();++ useEffect(() => {+ captureView({+ elementName: AUTH_TRACKER_ELEMENTS.SET_PASSWORD_FORM,+ });+ }, []);++ useEffect(() => {+ if (csrfToken === undefined)+ authService.requestCSRFToken().then((data) => data?.csrf_token && setCsrfToken(data.csrf_token));+ }, [csrfToken]);++ const handleShowPassword = (key: keyof typeof showPassword) =>+ setShowPassword((prev) => ({ ...prev, [key]: !prev[key] }));++ const handleFormChange = (key: keyof TResetPasswordFormValues, value: string) =>+ setPasswordFormData((prev) => ({ ...prev, [key]: value }));++ const isButtonDisabled = useMemo(+ () =>+ !!passwordFormData.password &&+ getPasswordStrength(passwordFormData.password) === E_PASSWORD_STRENGTH.STRENGTH_VALID &&+ passwordFormData.password === passwordFormData.confirm_password+ ? false+ : true,+ [passwordFormData]+ );++ const handleSubmit = async (e: FormEvent<HTMLFormElement>) => {+ try {+ e.preventDefault();+ if (!csrfToken) throw new Error("csrf token not found");+ await handleSetPassword(csrfToken, { password: passwordFormData.password });+ captureSuccess({+ eventName: AUTH_TRACKER_EVENTS.password_created,+ });+ router.push("/");+ } catch (error: unknown) {+ let message = undefined;+ if (error instanceof Error) {+ const err = error as Error & { error?: string };+ message = err.error;+ }+ captureError({+ eventName: AUTH_TRACKER_EVENTS.password_created,+ });+ setToast({+ type: TOAST_TYPE.ERROR,+ title: t("common.errors.default.title"),+ message: message ?? t("common.errors.default.message"),+ });+ }+ };++ const password = passwordFormData?.password ?? "";+ const confirmPassword = passwordFormData?.confirm_password ?? "";+ const renderPasswordMatchError = !isRetryPasswordInputFocused || confirmPassword.length >= password.length;++ return (+ <FormContainer>+ <AuthFormHeader title="Set password" description="Create a new password." />+ <form className="space-y-4" onSubmit={(e) => handleSubmit(e)}>+ <div className="space-y-1">+ <label className="text-sm text-custom-text-300 font-medium" htmlFor="email">+ {t("auth.common.email.label")}+ </label>+ <div className="relative flex items-center rounded-md bg-custom-background-100">+ <Input+ id="email"+ name="email"+ type="email"+ value={user?.email}+ //hasError={Boolean(errors.email)}+ placeholder={t("auth.common.email.placeholder")}+ className="h-10 w-full border border-custom-border-300 !bg-custom-background-100 pr-12 text-custom-text-400 cursor-not-allowed"+ autoComplete="on"+ disabled+ />+ </div>+ </div>+ <div className="space-y-1">+ <label className="text-sm text-custom-text-300 font-medium" htmlFor="password">+ {t("auth.common.password.label")}+ </label>+ <div className="relative flex items-center rounded-md bg-custom-background-100">+ <Input+ type={showPassword.password ? "text" : "password"}+ name="password"+ value={passwordFormData.password}+ onChange={(e) => handleFormChange("password", e.target.value)}+ //hasError={Boolean(errors.password)}+ placeholder={t("auth.common.password.placeholder")}+ className="h-10 w-full border border-custom-border-300 !bg-custom-background-100 pr-12 placeholder:text-custom-text-400"+ minLength={8}+ onFocus={() => setIsPasswordInputFocused(true)}+ onBlur={() => setIsPasswordInputFocused(false)}+ autoComplete="on"+ autoFocus+ />+ {showPassword.password ? (+ <EyeOff+ className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"+ onClick={() => handleShowPassword("password")}+ />+ ) : (+ <Eye+ className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"+ onClick={() => handleShowPassword("password")}+ />+ )}+ </div>+ <PasswordStrengthIndicator password={passwordFormData.password} isFocused={isPasswordInputFocused} />+ </div>+ <div className="space-y-1">+ <label className="text-sm text-custom-text-300 font-medium" htmlFor="confirm_password">+ {t("auth.common.password.confirm_password.label")}+ </label>+ <div className="relative flex items-center rounded-md bg-custom-background-100">+ <Input+ type={showPassword.retypePassword ? "text" : "password"}+ name="confirm_password"+ value={passwordFormData.confirm_password}+ onChange={(e) => handleFormChange("confirm_password", e.target.value)}+ placeholder={t("auth.common.password.confirm_password.placeholder")}+ className="h-10 w-full border border-custom-border-300 !bg-custom-background-100 pr-12 placeholder:text-custom-text-400"+ onFocus={() => setIsRetryPasswordInputFocused(true)}+ onBlur={() => setIsRetryPasswordInputFocused(false)}+ />+ {showPassword.retypePassword ? (+ <EyeOff+ className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"+ onClick={() => handleShowPassword("retypePassword")}+ />+ ) : (+ <Eye+ className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"+ onClick={() => handleShowPassword("retypePassword")}+ />+ )}+ </div>+ {!!passwordFormData.confirm_password &&+ passwordFormData.password !== passwordFormData.confirm_password &&+ renderPasswordMatchError && (+ <span className="text-sm text-red-500">{t("auth.common.password.errors.match")}</span>+ )}+ </div>+ <Button type="submit" variant="primary" className="w-full" size="lg" disabled={isButtonDisabled}>+ {t("common.continue")}+ </Button>+ </form>+ </FormContainer>+ );+});diff --git a/apps/web/core/components/account/auth-forms/unique-code.tsx b/apps/web/core/components/account/auth-forms/unique-code.tsxindex 256e07818f..a8aac8dfb5 100644--- a/apps/web/core/components/account/auth-forms/unique-code.tsx+++ b/apps/web/core/components/account/auth-forms/unique-code.tsx@@ -89,7 +89,7 @@ export const AuthUniqueCodeForm: React.FC<TAuthUniqueCodeForm> = (props) => {return (<form- className="mt-5 space-y-4"+ className="space-y-4"method="POST"action={`${API_BASE_URL}/auth/${mode === EAuthModes.SIGN_IN ? "magic-sign-in" : "magic-sign-up"}/`}onSubmit={() => {@@ -116,11 +116,11 @@ export const AuthUniqueCodeForm: React.FC<TAuthUniqueCodeForm> = (props) => {<input type="hidden" value={uniqueCodeFormData.email} name="email" />{nextPath && <input type="hidden" value={nextPath} name="next_path" />}<div className="space-y-1">- <label htmlFor="email" className="text-sm font-medium text-onboarding-text-300">+ <label htmlFor="email" className="text-sm font-medium text-custom-text-300">{t("auth.common.email.label")}</label><div- className={`relative flex items-center rounded-md bg-onboarding-background-200 border border-onboarding-border-100`}+ className={`relative flex items-center rounded-md bg-custom-background-100 border border-custom-border-300`}><Inputid="email"@@ -129,7 +129,7 @@ export const AuthUniqueCodeForm: React.FC<TAuthUniqueCodeForm> = (props) => {value={uniqueCodeFormData.email}onChange={(e) => handleFormChange("email", e.target.value)}placeholder={t("auth.common.email.placeholder")}- className="disable-autofill-style h-[46px] w-full placeholder:text-onboarding-text-400 border-0"+ className="disable-autofill-style h-10 w-full placeholder:text-custom-text-400 border-0"autoComplete="on"disabled/>@@ -147,7 +147,7 @@ export const AuthUniqueCodeForm: React.FC<TAuthUniqueCodeForm> = (props) => {</div><div className="space-y-1">- <label htmlFor="unique-code" className="text-sm font-medium text-onboarding-text-300">+ <label htmlFor="unique-code" className="text-sm font-medium text-custom-text-300">{t("auth.common.unique_code.label")}</label><Input@@ -156,7 +156,7 @@ export const AuthUniqueCodeForm: React.FC<TAuthUniqueCodeForm> = (props) => {value={uniqueCodeFormData.code}onChange={(e) => handleFormChange("code", e.target.value)}placeholder={t("auth.common.unique_code.placeholder")}- className="disable-autofill-style h-[46px] w-full border border-onboarding-border-100 !bg-onboarding-background-200 pr-12 placeholder:text-onboarding-text-400"+ className="disable-autofill-style h-10 w-full border border-custom-border-300 !bg-custom-background-100 pr-12 placeholder:text-custom-text-400"autoFocus/><div className="flex w-full items-center justify-between px-1 text-xs pt-1">@@ -170,7 +170,7 @@ export const AuthUniqueCodeForm: React.FC<TAuthUniqueCodeForm> = (props) => {onClick={() => generateNewCode(uniqueCodeFormData.email)}className={isRequestNewCodeDisabled- ? "text-onboarding-text-400"+ ? "text-custom-text-400": "font-medium text-custom-primary-300 hover:text-custom-primary-200"}disabled={isRequestNewCodeDisabled}diff --git a/apps/web/core/components/account/index.ts b/apps/web/core/components/account/index.tsindex 90104db5d9..6131a03150 100644--- a/apps/web/core/components/account/index.ts+++ b/apps/web/core/components/account/index.ts@@ -1,4 +1,3 @@-export * from "./oauth";export * from "./auth-forms";export * from "./deactivate-account-modal";export * from "./terms-and-conditions";diff --git a/apps/web/core/components/account/oauth/github-button.tsx b/apps/web/core/components/account/oauth/github-button.tsxdeleted file mode 100644index c5b6fe8f5b..0000000000--- a/apps/web/core/components/account/oauth/github-button.tsx+++ /dev/null@@ -1,42 +0,0 @@-import { FC } from "react";-import { useSearchParams } from "next/navigation";-import Image from "next/image";-import { useTheme } from "next-themes";-// helpers-import { API_BASE_URL } from "@plane/constants";-// images-import githubLightModeImage from "/public/logos/github-black.png";-import githubDarkModeImage from "/public/logos/github-dark.svg";--export type GithubOAuthButtonProps = {- text: string;-};--export const GithubOAuthButton: FC<GithubOAuthButtonProps> = (props) => {- const searchParams = useSearchParams();- const next_path = searchParams.get("next_path");- const { text } = props;- // hooks- const { resolvedTheme } = useTheme();-- const handleSignIn = () => {- window.location.assign(`${API_BASE_URL}/auth/github/${next_path ? `?next_path=${next_path}` : ``}`);- };-- return (- <button- className={`flex h-[42px] w-full items-center justify-center gap-2 rounded border px-2 text-sm font-medium text-custom-text-100 duration-300 bg-onboarding-background-200 hover:bg-onboarding-background-300 ${- resolvedTheme === "dark" ? "border-[#43484F]" : "border-[#D9E4FF]"- }`}- onClick={handleSignIn}- >- <Image- src={resolvedTheme === "dark" ? githubDarkModeImage : githubLightModeImage}- height={20}- width={20}- alt="GitHub Logo"- />- {text}- </button>- );-};diff --git a/apps/web/core/components/account/oauth/gitlab-button.tsx b/apps/web/core/components/account/oauth/gitlab-button.tsxdeleted file mode 100644index ac861af8be..0000000000--- a/apps/web/core/components/account/oauth/gitlab-button.tsx+++ /dev/null@@ -1,36 +0,0 @@-import { FC } from "react";-import Image from "next/image";-import { useSearchParams } from "next/navigation";-import { useTheme } from "next-themes";-// helpers-import { API_BASE_URL } from "@plane/constants";-// images-import GitlabLogo from "/public/logos/gitlab-logo.svg";--export type GitlabOAuthButtonProps = {- text: string;-};--export const GitlabOAuthButton: FC<GitlabOAuthButtonProps> = (props) => {- const searchParams = useSearchParams();- const nextPath = searchParams.get("next_path") || undefined;- const { text } = props;- // hooks- const { resolvedTheme } = useTheme();-- const handleSignIn = () => {- window.location.assign(`${API_BASE_URL}/auth/gitlab/${nextPath ? `?next_path=${nextPath}` : ``}`);- };-- return (- <button- className={`flex h-[42px] w-full items-center justify-center gap-2 rounded border px-2 text-sm font-medium text-custom-text-100 duration-300 bg-onboarding-background-200 hover:bg-onboarding-background-300 ${- resolvedTheme === "dark" ? "border-[#43484F]" : "border-[#D9E4FF]"- }`}- onClick={handleSignIn}- >- <Image src={GitlabLogo} height={20} width={20} alt="GitLab Logo" />- {text}- </button>- );-};diff --git a/apps/web/core/components/account/oauth/google-button.tsx b/apps/web/core/components/account/oauth/google-button.tsxdeleted file mode 100644index 6d4665c031..0000000000--- a/apps/web/core/components/account/oauth/google-button.tsx+++ /dev/null@@ -1,36 +0,0 @@-import { FC } from "react";-import { useSearchParams } from "next/navigation";-import Image from "next/image";-import { useTheme } from "next-themes";-// helpers-import { API_BASE_URL } from "@plane/constants";-// images-import GoogleLogo from "/public/logos/google-logo.svg";--export type GoogleOAuthButtonProps = {- text: string;-};--export const GoogleOAuthButton: FC<GoogleOAuthButtonProps> = (props) => {- const searchParams = useSearchParams();- const next_path = searchParams.get("next_path");- const { text } = props;- // hooks- const { resolvedTheme } = useTheme();-- const handleSignIn = () => {- window.location.assign(`${API_BASE_URL}/auth/google/${next_path ? `?next_path=${next_path}` : ``}`);- };-- return (- <button- className={`flex h-[42px] w-full items-center justify-center gap-2 rounded border px-2 text-sm font-medium text-custom-text-100 duration-300 bg-onboarding-background-200 hover:bg-onboarding-background-300 ${- resolvedTheme === "dark" ? "border-[#43484F]" : "border-[#D9E4FF]"- }`}- onClick={handleSignIn}- >- <Image src={GoogleLogo} height={18} width={18} alt="Google Logo" />- {text}- </button>- );-};diff --git a/apps/web/core/components/account/oauth/index.ts b/apps/web/core/components/account/oauth/index.tsdeleted file mode 100644index 535e21b14d..0000000000--- a/apps/web/core/components/account/oauth/index.ts+++ /dev/null@@ -1,4 +0,0 @@-export * from "./oauth-options";-export * from "./google-button";-export * from "./github-button";-export * from "./gitlab-button";diff --git a/apps/web/core/components/account/oauth/oauth-options.tsx b/apps/web/core/components/account/oauth/oauth-options.tsxdeleted file mode 100644index c4b6ff647a..0000000000--- a/apps/web/core/components/account/oauth/oauth-options.tsx+++ /dev/null@@ -1,38 +0,0 @@-import { observer } from "mobx-react";-// components-import { GithubOAuthButton, GitlabOAuthButton, GoogleOAuthButton } from "@/components/account";-// hooks-import { useInstance } from "@/hooks/store";--type TOAuthOptionProps = {- isSignUp?: boolean;-};--export const OAuthOptions: React.FC<TOAuthOptionProps> = observer(() => {- // hooks- const { config } = useInstance();-- const isOAuthEnabled =- (config && (config?.is_google_enabled || config?.is_github_enabled || config?.is_gitlab_enabled)) || false;-- if (!isOAuthEnabled) return null;-- return (- <>- <div className="mt-4 flex items-center">- <hr className="w-full border-onboarding-border-100" />- <p className="mx-3 flex-shrink-0 text-center text-sm text-onboarding-text-400">or</p>- <hr className="w-full border-onboarding-border-100" />- </div>- <div className={`mt-7 grid gap-4 overflow-hidden`}>- {config?.is_google_enabled && (- <div className="flex h-[42px] items-center !overflow-hidden">- <GoogleOAuthButton text="Continue with Google" />- </div>- )}- {config?.is_github_enabled && <GithubOAuthButton text="Continue with GitHub" />}- {config?.is_gitlab_enabled && <GitlabOAuthButton text="Continue with GitLab" />}- </div>- </>- );-});diff --git a/apps/web/core/components/account/terms-and-conditions.tsx b/apps/web/core/components/account/terms-and-conditions.tsxindex eaf01c05e2..64bb0fa2a8 100644--- a/apps/web/core/components/account/terms-and-conditions.tsx+++ b/apps/web/core/components/account/terms-and-conditions.tsx@@ -1,25 +1,35 @@-import React, { FC } from "react";+import React from "react";import Link from "next/link";+import { EAuthModes } from "@plane/constants";-type Props = {- isSignUp?: boolean;-};+interface TermsAndConditionsProps {+ authType?: EAuthModes;+}-export const TermsAndConditions: FC<Props> = (props) => {- const { isSignUp = false } = props;- return (- <div className="flex items-center justify-center py-6">- <p className="text-center text-sm text-onboarding-text-200 whitespace-pre-line">- {isSignUp ? "By creating an account" : "By signing in"}, you agree to our{" \n"}- <Link href="https://plane.so/legals/terms-and-conditions" target="_blank" rel="noopener noreferrer">- <span className="text-sm font-medium underline hover:cursor-pointer">Terms of Service</span>- </Link>{" "}- and{" "}- <Link href="https://plane.so/legals/privacy-policy" target="_blank" rel="noopener noreferrer">- <span className="text-sm font-medium underline hover:cursor-pointer">Privacy Policy</span>- </Link>- {"."}- </p>- </div>- );-};+// Constants for better maintainability+const LEGAL_LINKS = {+ termsOfService: "https://plane.so/legals/terms-and-conditions",+ privacyPolicy: "https://plane.so/legals/privacy-policy",+} as const;++const MESSAGES = {+ [EAuthModes.SIGN_UP]: "By creating an account",+ [EAuthModes.SIGN_IN]: "By signing in",+} as const;++// Reusable link component to reduce duplication+const LegalLink: React.FC<{ href: string; children: React.ReactNode }> = ({ href, children }) => (+ <Link href={href} className="text-custom-text-200" target="_blank" rel="noopener noreferrer">+ <span className="text-sm font-medium underline hover:cursor-pointer">{children}</span>+ </Link>+);++export const TermsAndConditions: React.FC<TermsAndConditionsProps> = ({ authType = EAuthModes.SIGN_IN }) => (+ <div className="flex items-center justify-center">+ <p className="text-center text-sm text-custom-text-300 whitespace-pre-line">+ {`${MESSAGES[authType]}, you understand and agree to \n our `}+ <LegalLink href={LEGAL_LINKS.termsOfService}>Terms of Service</LegalLink> and{" "}+ <LegalLink href={LEGAL_LINKS.privacyPolicy}>Privacy Policy</LegalLink>.+ </p>+ </div>+);diff --git a/apps/web/core/components/auth-screens/auth-base.tsx b/apps/web/core/components/auth-screens/auth-base.tsxnew file mode 100644index 0000000000..5f4c10391b--- /dev/null+++ b/apps/web/core/components/auth-screens/auth-base.tsx@@ -0,0 +1,18 @@+"use client";+import React from "react";+import { AuthRoot } from "@/components/account";+import { EAuthModes } from "@/helpers/authentication.helper";+import { AuthFooter } from "./footer";+import { AuthHeader } from "./header";++type AuthBaseProps = {+ authType: EAuthModes;+};++export const AuthBase = ({ authType }: AuthBaseProps) => (+ <div className="relative z-10 flex flex-col items-center w-screen h-screen overflow-hidden overflow-y-auto pt-6 pb-10 px-8">+ <AuthHeader type={authType} />+ <AuthRoot authMode={authType} />+ <AuthFooter />+ </div>+);diff --git a/apps/web/core/components/auth-screens/footer.tsx b/apps/web/core/components/auth-screens/footer.tsxnew file mode 100644index 0000000000..30ff878b58--- /dev/null+++ b/apps/web/core/components/auth-screens/footer.tsx@@ -0,0 +1,38 @@+"use client";+import React from "react";+import { AccentureLogo, DolbyLogo, SonyLogo, ZerodhaLogo } from "@plane/ui";++const BRAND_LOGOS: {+ id: string;+ icon: React.ReactNode;+}[] = [+ {+ id: "zerodha",+ icon: <ZerodhaLogo className="h-7 w-24 text-[#387ED1]" />,+ },+ {+ id: "sony",+ icon: <SonyLogo className="h-7 w-16 dark:text-white" />,+ },+ {+ id: "dolby",+ icon: <DolbyLogo className="h-7 w-16 dark:text-white" />,+ },+ {+ id: "accenture",+ icon: <AccentureLogo className="h-7 w-24 dark:text-white" />,+ },+];++export const AuthFooter = () => (+ <div className="flex flex-col items-center gap-6">+ <span className="text-sm text-custom-text-300 whitespace-nowrap">Join 10,000+ teams building with Plane</span>+ <div className="flex items-center justify-center gap-x-10 gap-y-4 w-full flex-wrap">+ {BRAND_LOGOS.map((brand) => (+ <div className="flex items-center justify-center h-7 flex-1" key={brand.id}>+ {brand.icon}+ </div>+ ))}+ </div>+ </div>+);diff --git a/apps/web/core/components/auth-screens/header.tsx b/apps/web/core/components/auth-screens/header.tsxnew file mode 100644index 0000000000..5960006a78--- /dev/null+++ b/apps/web/core/components/auth-screens/header.tsx@@ -0,0 +1,60 @@+"use client";++import React from "react";+import { observer } from "mobx-react";+import Link from "next/link";+import { AUTH_TRACKER_ELEMENTS } from "@plane/constants";+import { useTranslation } from "@plane/i18n";+import { PlaneLockup } from "@plane/ui";+import { PageHead } from "@/components/core/page-title";+import { EAuthModes } from "@/helpers/authentication.helper";+import { useInstance } from "@/hooks/store";++const authContentMap = {+ [EAuthModes.SIGN_IN]: {+ pageTitle: "Sign up",+ text: "auth.common.new_to_plane",+ linkText: "Sign up",+ linkHref: "/sign-up",+ },+ [EAuthModes.SIGN_UP]: {+ pageTitle: "Sign in",+ text: "auth.common.already_have_an_account",+ linkText: "Sign in",+ linkHref: "/sign-in",+ },+};++type AuthHeaderProps = {+ type: EAuthModes;+};++export const AuthHeader = observer(({ type }: AuthHeaderProps) => {+ const { t } = useTranslation();+ // store+ const { config } = useInstance();+ // derived values+ const enableSignUpConfig = config?.enable_signup ?? false;+ return (+ <>+ <PageHead title={t(authContentMap[type].pageTitle) + " - Plane"} />+ <div className="flex items-center justify-between gap-6 w-full flex-shrink-0 sticky top-0">+ <Link href="/">+ <PlaneLockup height={20} width={95} className="text-custom-text-100" />+ </Link>+ {enableSignUpConfig && (+ <div className="flex flex-col items-end text-sm font-medium text-center sm:items-center sm:gap-2 sm:flex-row text-custom-text-300">+ {t(authContentMap[type].text)}+ <Link+ data-ph-element={AUTH_TRACKER_ELEMENTS.NAVIGATE_TO_SIGN_UP}+ href={authContentMap[type].linkHref}+ className="font-semibold text-custom-primary-100 hover:underline"+ >+ {t(authContentMap[type].linkText)}+ </Link>+ </div>+ )}+ </div>+ </>+ );+});diff --git a/apps/web/core/components/auth-screens/index.ts b/apps/web/core/components/auth-screens/index.tsindex 2a0bd44238..5e078d6171 100644--- a/apps/web/core/components/auth-screens/index.ts+++ b/apps/web/core/components/auth-screens/index.ts@@ -1,3 +1,5 @@export * from "./project";export * from "./workspace";export * from "./not-authorized-view";+export * from "./header";+export * from "./auth-base";diff --git a/apps/web/core/components/common/latest-feature-block.tsx b/apps/web/core/components/common/latest-feature-block.tsxindex 35aacddcfe..327b03ea5b 100644--- a/apps/web/core/components/common/latest-feature-block.tsx+++ b/apps/web/core/components/common/latest-feature-block.tsx@@ -11,9 +11,9 @@ export const LatestFeatureBlock = () => {return (<>- <div className="mx-auto mt-16 flex rounded-[3.5px] border border-onboarding-border-200 bg-onboarding-background-100 py-2 sm:w-96">+ <div className="mx-auto mt-16 flex rounded-[3.5px] border border-custom-border-200 bg-custom-background-100 py-2 sm:w-96"><Lightbulb className="mx-3 mr-2 h-7 w-7" />- <p className="text-left text-sm text-onboarding-text-100">+ <p className="text-left text-sm text-custom-text-100">Pages gets a facelift! Write anything and use Galileo to help you start.{" "}<Link href="https://plane.so/changelog" target="_blank" rel="noopener noreferrer"><span className="text-sm font-medium underline hover:cursor-pointer">Learn more</span>@@ -21,8 +21,8 @@ export const LatestFeatureBlock = () => {</p></div><div- className={`mx-auto mt-8 overflow-hidden rounded-md border border-onboarding-border-200 object-cover sm:h-52 sm:w-96 ${- resolvedTheme === "dark" ? "bg-onboarding-background-100" : "bg-custom-primary-70"+ className={`mx-auto mt-8 overflow-hidden rounded-md border border-custom-border-200 object-cover sm:h-52 sm:w-96 ${+ resolvedTheme === "dark" ? "bg-custom-background-100" : "bg-custom-primary-70"}`}><div className="h-[90%]">@@ -30,7 +30,7 @@ export const LatestFeatureBlock = () => {src={latestFeatures}alt="Plane Work items"className={`-mt-2 ml-10 h-full rounded-md ${- resolvedTheme === "dark" ? "bg-onboarding-background-100" : "bg-custom-primary-70"+ resolvedTheme === "dark" ? "bg-custom-background-100" : "bg-custom-primary-70"}`}/></div>diff --git a/apps/web/core/components/common/logo-spinner.tsx b/apps/web/core/components/common/logo-spinner.tsxindex abcebfe76c..0e902f307a 100644--- a/apps/web/core/components/common/logo-spinner.tsx+++ b/apps/web/core/components/common/logo-spinner.tsx@@ -11,7 +11,7 @@ export const LogoSpinner = () => {return (<div className="flex items-center justify-center">- <Image src={logoSrc} alt="logo" className="size-16 sm:size-20 mr-2" />+ <Image src={logoSrc} alt="logo" className="h-6 w-auto sm:h-11" /></div>);};diff --git a/apps/web/core/components/global/product-updates/footer.tsx b/apps/web/core/components/global/product-updates/footer.tsxindex 6bc52e2bd2..7e361b2515 100644--- a/apps/web/core/components/global/product-updates/footer.tsx+++ b/apps/web/core/components/global/product-updates/footer.tsx@@ -1,12 +1,9 @@-import Image from "next/image";import { USER_TRACKER_ELEMENTS } from "@plane/constants";import { useTranslation } from "@plane/i18n";// ui-import { getButtonStyling } from "@plane/ui";+import { getButtonStyling, PlaneLogo } from "@plane/ui";// helpersimport { cn } from "@plane/utils";-// assets-import PlaneLogo from "@/public/plane-logos/blue-without-text.png";export const ProductUpdatesFooter = () => {const { t } = useTranslation();@@ -60,7 +57,7 @@ export const ProductUpdatesFooter = () => {"flex gap-1.5 items-center text-center font-medium hover:underline underline-offset-2 outline-none")}>- <Image src={PlaneLogo} alt="Plane" width={12} height={12} />+ <PlaneLogo className="h-4 w-auto text-custom-text-100" />{t("powered_by_plane_pages")}</a></div>diff --git a/apps/web/core/components/instance/not-ready-view.tsx b/apps/web/core/components/instance/not-ready-view.tsxindex 1d978b7abd..ccbb2377f4 100644--- a/apps/web/core/components/instance/not-ready-view.tsx+++ b/apps/web/core/components/instance/not-ready-view.tsx@@ -42,7 +42,7 @@ export const InstanceNotReady: FC = () => {<div className="relative flex flex-col justify-center items-center space-y-4"><h1 className="text-3xl font-bold pb-3">Welcome aboard Plane!</h1><Image src={PlaneTakeOffImage} alt="Plane Logo" />- <p className="font-medium text-base text-onboarding-text-400">+ <p className="font-medium text-base text-custom-text-400">Get started by setting up your instance and workspace</p></div>diff --git a/apps/web/core/components/issues/workspace-draft/root.tsx b/apps/web/core/components/issues/workspace-draft/root.tsxindex 499a42c81d..c6aef19c66 100644--- a/apps/web/core/components/issues/workspace-draft/root.tsx+++ b/apps/web/core/components/issues/workspace-draft/root.tsx@@ -41,7 +41,7 @@ export const WorkspaceDraftIssuesRoot: FC<TWorkspaceDraftIssuesRoot> = observer([EUserWorkspaceRoles.ADMIN, EUserWorkspaceRoles.MEMBER],EUserPermissionsLevel.WORKSPACE);- const noProjectResolvedPath = useResolvedAssetPath({ basePath: "/empty-state/onboarding/projects" });+ const noProjectResolvedPath = useResolvedAssetPath({ basePath: "/empty-state/draft/draft-issues-empty" });//swr hook for fetching issue propertiesuseWorkspaceIssueProperties(workspaceSlug);diff --git a/apps/web/core/components/onboarding/create-or-join-workspaces.tsx b/apps/web/core/components/onboarding/create-or-join-workspaces.tsxindex f295a1d5c3..9575e7166e 100644--- a/apps/web/core/components/onboarding/create-or-join-workspaces.tsx+++ b/apps/web/core/components/onboarding/create-or-join-workspaces.tsx@@ -1,20 +1,16 @@import React, { useEffect, useState } from "react";import { observer } from "mobx-react";-import Image from "next/image";// icons-import { useTheme } from "next-themes";// typesimport { OctagonAlert } from "lucide-react";import { IWorkspaceMemberInvitation, TOnboardingSteps } from "@plane/types";// components-import { Invitations, OnboardingHeader, SwitchAccountDropdown, CreateWorkspace } from "@/components/onboarding";+import { Invitations, SwitchAccountDropdown, CreateWorkspace } from "@/components/onboarding";// hooksimport { useUser } from "@/hooks/store";// plane web helpersimport { getIsWorkspaceCreationDisabled } from "@/plane-web/helpers/instance.helper";-// assets-import CreateJoinWorkspaceDark from "@/public/onboarding/create-join-workspace-dark.webp";-import CreateJoinWorkspace from "@/public/onboarding/create-join-workspace-light.webp";+// local componentsimport { LogoSpinner } from "../common";export enum ECreateOrJoinWorkspaceViews {@@ -35,8 +31,6 @@ export const CreateOrJoinWorkspaces: React.FC<Props> = observer((props) => {const [currentView, setCurrentView] = useState<ECreateOrJoinWorkspaceViews | null>(null);// store hooksconst { data: user } = useUser();- // hooks- const { resolvedTheme } = useTheme();// derived valuesconst isWorkspaceCreationEnabled = getIsWorkspaceCreationDisabled() === false;@@ -57,12 +51,6 @@ export const CreateOrJoinWorkspaces: React.FC<Props> = observer((props) => {return (<div className="flex h-full w-full"><div className="w-full h-full overflow-auto px-6 py-10 sm:px-7 sm:py-14 md:px-14 lg:px-28">- <div className="flex items-center justify-between">- <OnboardingHeader currentStep={totalSteps - 1} totalSteps={totalSteps} />- <div className="shrink-0 lg:hidden">- <SwitchAccountDropdown />- </div>- </div><div className="flex flex-col w-full items-center justify-center p-8 mt-6">{currentView === ECreateOrJoinWorkspaceViews.WORKSPACE_JOIN ? (<Invitations@@ -97,16 +85,7 @@ export const CreateOrJoinWorkspaces: React.FC<Props> = observer((props) => {)}</div></div>- <div className="hidden lg:block relative w-2/5 h-screen overflow-hidden px-6 py-10 sm:px-7 sm:py-14 md:px-14 lg:px-28">- <SwitchAccountDropdown />- <div className="absolute inset-0 z-0">- <Image- src={resolvedTheme === "dark" ? CreateJoinWorkspaceDark : CreateJoinWorkspace}- className="h-screen w-auto float-end object-cover"- alt="Profile setup"- />- </div>- </div>+ <SwitchAccountDropdown /></div>);});diff --git a/apps/web/core/components/onboarding/create-workspace.tsx b/apps/web/core/components/onboarding/create-workspace.tsxindex e37e3c311d..2e0fbe6f08 100644--- a/apps/web/core/components/onboarding/create-workspace.tsx+++ b/apps/web/core/components/onboarding/create-workspace.tsx@@ -135,20 +135,20 @@ export const CreateWorkspace: React.FC<Props> = observer((props) => {</span></Button><div className="mx-auto mt-4 flex items-center sm:w-96">- <hr className="w-full border-onboarding-border-100" />- <p className="mx-3 flex-shrink-0 text-center text-sm text-onboarding-text-400">or</p>- <hr className="w-full border-onboarding-border-100" />+ <hr className="w-full border-custom-border-300" />+ <p className="mx-3 flex-shrink-0 text-center text-sm text-custom-text-400">or</p>+ <hr className="w-full border-custom-border-300" /></div></>)}<div className="text-center space-y-1 py-4 mx-auto">- <h3 className="text-3xl font-bold text-onboarding-text-100">{t("workspace_creation.heading")}</h3>- <p className="font-medium text-onboarding-text-400">{t("workspace_creation.subheading")}</p>+ <h3 className="text-3xl font-bold text-custom-text-100">{t("workspace_creation.heading")}</h3>+ <p className="font-medium text-custom-text-400">{t("workspace_creation.subheading")}</p></div><form className="w-full mx-auto mt-2 space-y-4" onSubmit={handleSubmit(handleCreateWorkspace)}><div className="space-y-1"><label- className="text-sm text-onboarding-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"+ className="text-sm text-custom-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"htmlFor="name">{t("workspace_creation.form.name.label")}@@ -182,7 +182,7 @@ export const CreateWorkspace: React.FC<Props> = observer((props) => {placeholder={t("workspace_creation.form.name.placeholder")}ref={ref}hasError={Boolean(errors.name)}- className="w-full border-onboarding-border-100 placeholder:text-custom-text-400"+ className="w-full border-custom-border-300 placeholder:text-custom-text-400"autoFocus/></div>@@ -192,7 +192,7 @@ export const CreateWorkspace: React.FC<Props> = observer((props) => {</div><div className="space-y-1"><label- className="text-sm text-onboarding-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"+ className="text-sm text-custom-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"htmlFor="slug">{t("workspace_creation.form.url.label")}@@ -210,7 +210,7 @@ export const CreateWorkspace: React.FC<Props> = observer((props) => {render={({ field: { value, ref, onChange } }) => (<divclassName={`relative flex items-center rounded-md border-[0.5px] px-3 ${- invalidSlug ? "border-red-500" : "border-onboarding-border-100"+ invalidSlug ? "border-red-500" : "border-custom-border-300"}`}><span className="whitespace-nowrap text-sm">{window && window.location.host}/</span>@@ -232,7 +232,7 @@ export const CreateWorkspace: React.FC<Props> = observer((props) => {</div>)}/>- <p className="text-sm text-onboarding-text-300">{t("workspace_creation.form.url.edit_slug")}</p>+ <p className="text-sm text-custom-text-300">{t("workspace_creation.form.url.edit_slug")}</p>{slugError && (<p className="-mt-3 text-sm text-red-500">{t("workspace_creation.errors.validation.url_already_taken")}</p>)}@@ -241,10 +241,10 @@ export const CreateWorkspace: React.FC<Props> = observer((props) => {)}{errors.slug && <span className="text-sm text-red-500">{errors.slug.message}</span>}</div>- <hr className="w-full border-onboarding-border-100" />+ <hr className="w-full border-custom-border-300" /><div className="space-y-1"><label- className="text-sm text-onboarding-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"+ className="text-sm text-custom-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"htmlFor="organization_size">{t("workspace_creation.form.organization_size.label")}@@ -265,7 +265,7 @@ export const CreateWorkspace: React.FC<Props> = observer((props) => {</span>)}- buttonClassName="!border-[0.5px] !border-onboarding-border-100 !shadow-none !rounded-md"+ buttonClassName="!border-[0.5px] !border-custom-border-300 !shadow-none !rounded-md"inputoptionsClassName="w-full">diff --git a/apps/web/core/components/onboarding/header.tsx b/apps/web/core/components/onboarding/header.tsxindex 8718ae1824..d4021f925e 100644--- a/apps/web/core/components/onboarding/header.tsx+++ b/apps/web/core/components/onboarding/header.tsx@@ -1,24 +1,85 @@+"use client";+import { FC } from "react";-import Image from "next/image";-// images-import BluePlaneLogoWithoutText from "@/public/plane-logos/blue-without-text.png";+import { observer } from "mobx-react";+import { ChevronLeft } from "lucide-react";+// plane imports+import { EOnboardingSteps, TOnboardingStep } from "@plane/types";+import { PlaneLockup, Tooltip } from "@plane/ui";+import { cn } from "@plane/utils";// components-import { OnboardingStepIndicator } from "./step-indicator";+import { SwitchAccountDropdown } from "@/components/onboarding";+// hooks+import { useUser } from "@/hooks/store";-export type OnboardingHeaderProps = {- currentStep: number;- totalSteps: number;+type OnboardingHeaderProps = {+ currentStep: EOnboardingSteps;+ updateCurrentStep: (step: EOnboardingSteps) => void;+ hasInvitations: boolean;};-export const OnboardingHeader: FC<OnboardingHeaderProps> = (props) => {- const { currentStep, totalSteps } = props;+export const OnboardingHeader: FC<OnboardingHeaderProps> = observer((props) => {+ const { currentStep, updateCurrentStep, hasInvitations } = props;+ // store hooks+ const { data: user } = useUser();++ // handle step back+ const handleStepBack = () => {+ switch (currentStep) {+ case EOnboardingSteps.ROLE_SETUP:+ updateCurrentStep(EOnboardingSteps.PROFILE_SETUP);+ break;+ case EOnboardingSteps.USE_CASE_SETUP:+ updateCurrentStep(EOnboardingSteps.ROLE_SETUP);+ break;+ case EOnboardingSteps.WORKSPACE_CREATE_OR_JOIN:+ updateCurrentStep(EOnboardingSteps.USE_CASE_SETUP);+ break;+ }+ };++ // can go back+ const canGoBack = ![EOnboardingSteps.PROFILE_SETUP, EOnboardingSteps.INVITE_MEMBERS].includes(currentStep);++ // Get current step number for progress tracking+ const getCurrentStepNumber = (): number => {+ const stepOrder: TOnboardingStep[] = [+ EOnboardingSteps.PROFILE_SETUP,+ EOnboardingSteps.ROLE_SETUP,+ EOnboardingSteps.USE_CASE_SETUP,+ ...(hasInvitations+ ? [EOnboardingSteps.WORKSPACE_CREATE_OR_JOIN]+ : [EOnboardingSteps.WORKSPACE_CREATE_OR_JOIN, EOnboardingSteps.INVITE_MEMBERS]),+ ];+ return stepOrder.indexOf(currentStep) + 1;+ };++ // derived values+ const currentStepNumber = getCurrentStepNumber();+ const totalSteps = hasInvitations ? 4 : 5; // 4 if invites available, 5 if not+ const userName = user?.display_name ?? `${user?.first_name} ${user?.last_name}` ?? user?.email;return (- <div className="flex w-full items-center justify-between font-semibold ">- <div className="flex items-center gap-x-2">- <Image src={BluePlaneLogoWithoutText} height={30} width={30} alt="Plane Logo" className="mr-3" />- <OnboardingStepIndicator currentStep={currentStep} totalSteps={totalSteps} />+ <div className="flex flex-col gap-4 sticky top-0 z-10">+ <div className="h-1.5 rounded-t-lg w-full bg-custom-background-100 overflow-hidden cursor-pointer">+ <Tooltip tooltipContent={`${currentStepNumber}/${totalSteps}`} position="bottom-right">+ <div+ className="h-full bg-custom-primary-100 transition-all duration-700 ease-out"+ style={{ width: `${(currentStepNumber / totalSteps) * 100}%` }}+ />+ </Tooltip>+ </div>+ <div className={cn("flex items-center justify-between gap-6 w-full px-6", canGoBack && "pl-4 pr-6")}>+ <div className="flex items-center gap-2.5">+ {canGoBack && (+ <button onClick={handleStepBack} className="cursor-pointer" type="button" disabled={!canGoBack}>+ <ChevronLeft className="size-6 text-custom-text-400" />+ </button>+ )}+ <PlaneLockup height={20} width={95} className="text-custom-text-100" />+ </div>+ <SwitchAccountDropdown fullName={userName} /></div></div>);-};+});diff --git a/apps/web/core/components/onboarding/index.ts b/apps/web/core/components/onboarding/index.tsindex 27307565ee..aef04aa04b 100644--- a/apps/web/core/components/onboarding/index.ts+++ b/apps/web/core/components/onboarding/index.ts@@ -8,3 +8,4 @@ export * from "./step-indicator";export * from "./switch-account-dropdown";export * from "./switch-account-modal";export * from "./header";+export * from "./root";diff --git a/apps/web/core/components/onboarding/invitations.tsx b/apps/web/core/components/onboarding/invitations.tsxindex 3d16af81b0..1659cee6bb 100644--- a/apps/web/core/components/onboarding/invitations.tsx+++ b/apps/web/core/components/onboarding/invitations.tsx@@ -75,8 +75,8 @@ export const Invitations: React.FC<Props> = (props) => {return invitations && invitations.length > 0 ? (<div className="space-y-4"><div className="text-center space-y-1 py-4 mx-auto">- <h3 className="text-3xl font-bold text-onboarding-text-100">You are invited!</h3>- <p className="font-medium text-onboarding-text-400">Accept the invites to collaborate with your team.</p>+ <h3 className="text-3xl font-bold text-custom-text-100">You are invited!</h3>+ <p className="font-medium text-custom-text-400">Accept the invites to collaborate with your team.</p></div><div>{invitations &&@@ -87,7 +87,7 @@ export const Invitations: React.FC<Props> = (props) => {return (<divkey={invitation.id}- className={`flex cursor-pointer items-center gap-2 rounded border p-3.5 border-custom-border-200 hover:bg-onboarding-background-300/30`}+ className={`flex cursor-pointer items-center gap-2 rounded border p-3.5 border-custom-border-200 hover:bg-custom-background-90`}onClick={() => handleInvitation(invitation, isSelected ? "withdraw" : "accepted")}><div className="flex-shrink-0">@@ -119,9 +119,9 @@ export const Invitations: React.FC<Props> = (props) => {{isJoiningWorkspaces ? <Spinner height="20px" width="20px" /> : "Continue to workspace"}</Button><div className="mx-auto mt-4 flex items-center sm:w-96">- <hr className="w-full border-onboarding-border-100" />- <p className="mx-3 flex-shrink-0 text-center text-sm text-onboarding-text-400">or</p>- <hr className="w-full border-onboarding-border-100" />+ <hr className="w-full border-custom-border-300" />+ <p className="mx-3 flex-shrink-0 text-center text-sm text-custom-text-400">or</p>+ <hr className="w-full border-custom-border-300" /></div><Buttonvariant="link-neutral"diff --git a/apps/web/core/components/onboarding/invite-members.tsx b/apps/web/core/components/onboarding/invite-members.tsxindex bb7b24f7a7..239089aca6 100644--- a/apps/web/core/components/onboarding/invite-members.tsx+++ b/apps/web/core/components/onboarding/invite-members.tsx@@ -2,8 +2,6 @@import React, { useEffect, useState } from "react";import { observer } from "mobx-react";-import Image from "next/image";-import { useTheme } from "next-themes";import {Control,Controller,@@ -32,11 +30,7 @@ import { Button, Input, Spinner, TOAST_TYPE, setToast } from "@plane/ui";import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";// servicesimport { WorkspaceService } from "@/plane-web/services";-// assets-import InviteMembersDark from "@/public/onboarding/invite-members-dark.webp";-import InviteMembersLight from "@/public/onboarding/invite-members-light.webp";// components-import { OnboardingHeader } from "./header";import { SwitchAccountDropdown } from "./switch-account-dropdown";type Props = {@@ -169,7 +163,7 @@ const InviteMemberInput: React.FC<InviteMemberFormProps> = observer((props) => {ref={ref}hasError={Boolean(errors.emails?.[index]?.email)}placeholder={placeholderEmails[index % placeholderEmails.length]}- className="w-full border-onboarding-border-100 text-xs placeholder:text-onboarding-text-400 sm:text-sm"+ className="w-full border-custom-border-300 text-xs placeholder:text-custom-text-400 sm:text-sm"autoComplete="off"/>)}@@ -193,13 +187,11 @@ const InviteMemberInput: React.FC<InviteMemberFormProps> = observer((props) => {<Listbox.Buttontype="button"ref={setReferenceElement}- className="flex w-full items-center justify-between gap-1 rounded-md px-2.5 py-2 text-sm border-[0.5px] border-onboarding-border-100"+ className="flex w-full items-center justify-between gap-1 rounded-md px-2.5 py-2 text-sm border-[0.5px] border-custom-border-300"><spanclassName={`text-sm ${- !getValues(`emails.${index}.role_active`)- ? "text-onboarding-text-400"- : "text-onboarding-text-100"+ !getValues(`emails.${index}.role_active`) ? "text-custom-text-400" : "text-custom-text-100"} sm:text-sm`}>{ROLE[value]}@@ -216,7 +208,7 @@ const InviteMemberInput: React.FC<InviteMemberFormProps> = observer((props) => {<Listbox.Options as="div"><div- className="p-2 absolute space-y-1 z-10 mt-1 h-fit w-48 sm:w-60 rounded-md border border-onboarding-border-100 bg-onboarding-background-200 shadow-sm focus:outline-none"+ className="p-2 absolute space-y-1 z-10 mt-1 h-fit w-48 sm:w-60 rounded-md border border-custom-border-300 bg-custom-background-100 shadow-sm focus:outline-none"ref={setPopperElement}style={styles.popper}{...attributes.popper}@@ -229,7 +221,7 @@ const InviteMemberInput: React.FC<InviteMemberFormProps> = observer((props) => {className={({ active, selected }) =>`cursor-pointer select-none truncate rounded px-1 py-1.5 ${active || selected ? "bg-onboarding-background-400/40" : ""- } ${selected ? "text-onboarding-text-100" : "text-custom-text-200"}`+ } ${selected ? "text-custom-text-100" : "text-custom-text-200"}`}>{({ selected }) => (@@ -274,8 +266,6 @@ export const InviteMembers: React.FC<Props> = (props) => {const [isInvitationDisabled, setIsInvitationDisabled] = useState(true);- const { resolvedTheme } = useTheme();-const {control,watch,@@ -360,17 +350,10 @@ export const InviteMembers: React.FC<Props> = (props) => {return (<div className="flex w-full h-full"><div className="w-full h-full overflow-auto px-6 py-10 sm:px-7 sm:py-14 md:px-14 lg:px-28">- <div className="flex items-center justify-between">- {/* Since this will always be the last step */}- <OnboardingHeader currentStep={totalSteps} totalSteps={totalSteps} />- <div className="shrink-0 lg:hidden">- <SwitchAccountDropdown />- </div>- </div><div className="flex flex-col w-full items-center justify-center p-8 mt-6 md:w-4/5 mx-auto"><div className="text-center space-y-1 py-4 mx-auto w-4/5">- <h3 className="text-3xl font-bold text-onboarding-text-100">Invite your teammates</h3>- <p className="font-medium text-onboarding-text-400">+ <h3 className="text-3xl font-bold text-custom-text-100">Invite your teammates</h3>+ <p className="font-medium text-custom-text-400">Work in plane happens best with your team. Invite them now to use Plane to its potential.</p></div>@@ -383,8 +366,8 @@ export const InviteMembers: React.FC<Props> = (props) => {><div className="w-full text-sm py-4"><div className="group relative grid grid-cols-10 gap-4 mx-8 py-2">- <div className="col-span-6 px-1 text-sm text-onboarding-text-200 font-medium">Email</div>- <div className="col-span-4 px-1 text-sm text-onboarding-text-200 font-medium">Role</div>+ <div className="col-span-6 px-1 text-sm text-custom-text-200 font-medium">Email</div>+ <div className="col-span-4 px-1 text-sm text-custom-text-200 font-medium">Role</div></div><div className="mb-3 space-y-3 sm:space-y-4">{fields.map((field, index) => (@@ -431,16 +414,7 @@ export const InviteMembers: React.FC<Props> = (props) => {</form></div></div>- <div className="hidden lg:block relative w-2/5 h-screen overflow-hidden px-6 py-10 sm:px-7 sm:py-14 md:px-14 lg:px-28">- <SwitchAccountDropdown />- <div className="absolute inset-0 z-0">- <Image- src={resolvedTheme === "dark" ? InviteMembersDark : InviteMembersLight}- className="h-screen w-auto float-end object-cover"- alt="Profile setup"- />- </div>- </div>+ <SwitchAccountDropdown /></div>);};diff --git a/apps/web/core/components/onboarding/profile-setup.tsx b/apps/web/core/components/onboarding/profile-setup.tsxindex b3dc6f267b..c9151a1b88 100644--- a/apps/web/core/components/onboarding/profile-setup.tsx+++ b/apps/web/core/components/onboarding/profile-setup.tsx@@ -2,8 +2,6 @@import React, { useMemo, useState } from "react";import { observer } from "mobx-react";-import Image from "next/image";-import { useTheme } from "next-themes";import { Controller, useForm } from "react-hook-form";import { Eye, EyeOff } from "lucide-react";import {@@ -20,17 +18,11 @@ import { Button, Input, PasswordStrengthIndicator, Spinner, TOAST_TYPE, setToast// componentsimport { getFileURL, getPasswordStrength } from "@plane/utils";import { UserImageUploadModal } from "@/components/core";-import { OnboardingHeader, SwitchAccountDropdown } from "@/components/onboarding";// constants// helpers// hooksimport { captureError, captureSuccess, captureView } from "@/helpers/event-tracker.helper";import { useUser, useUserProfile } from "@/hooks/store";-// assets-import ProfileSetupDark from "@/public/onboarding/profile-setup-dark.webp";-import ProfileSetupLight from "@/public/onboarding/profile-setup-light.webp";-import UserPersonalizationDark from "@/public/onboarding/user-personalization-dark.webp";-import UserPersonalizationLight from "@/public/onboarding/user-personalization-light.webp";// servicesimport { AuthService } from "@/services/auth.service";@@ -98,8 +90,6 @@ export const ProfileSetup: React.FC<Props> = observer((props) => {});// plane hooksconst { t } = useTranslation();- // hooks- const { resolvedTheme } = useTheme();// store hooksconst { updateCurrentUser } = useUser();const { updateUserProfile } = useUserProfile();@@ -298,330 +288,287 @@ export const ProfileSetup: React.FC<Props> = observer((props) => {const isButtonDisabled =!isSubmitting && isValid ? (isPasswordAlreadySetup ? false : isValidPassword ? false : true) : true;- const isCurrentStepUserPersonalization = profileSetupStep === EProfileSetupSteps.USER_PERSONALIZATION;-return (<div className="flex h-full w-full">- <div className="w-full h-full overflow-auto px-6 py-10 sm:px-7 sm:py-14 md:px-14 lg:px-28">- <div className="flex items-center justify-between">- <OnboardingHeader currentStep={isCurrentStepUserPersonalization ? 2 : 1} totalSteps={totalSteps} />- <div className="shrink-0 lg:hidden">- <SwitchAccountDropdown fullName={`${watch("first_name")} ${watch("last_name")}`} />- </div>- </div>- <div className="flex flex-col w-full items-center justify-center p-8 mt-6">- <div className="text-center space-y-1 py-4 mx-auto">- <h3 className="text-3xl font-bold text-onboarding-text-100">- {isCurrentStepUserPersonalization- ? `Looking good${user?.first_name && `, ${user.first_name}`}!`- : "Welcome to Plane!"}- </h3>- <p className="font-medium text-onboarding-text-400">- {isCurrentStepUserPersonalization- ? "Let’s personalize Plane for you."- : "Let’s setup your profile, tell us a bit about yourself."}- </p>- </div>- <form onSubmit={handleSubmit(onSubmit)} className="w-full mx-auto mt-2 space-y-4 sm:w-96">- {profileSetupStep !== EProfileSetupSteps.USER_PERSONALIZATION && (- <>- <Controller- control={control}- name="avatar_url"- render={({ field: { onChange, value } }) => (- <UserImageUploadModal- isOpen={isImageUploadModalOpen}- onClose={() => setIsImageUploadModalOpen(false)}- handleRemove={async () => handleDelete(getValues("avatar_url"))}- onSuccess={(url) => {- onChange(url);- setIsImageUploadModalOpen(false);- }}- value={value && value.trim() !== "" ? value : null}- />- )}- />- <div className="space-y-1 flex items-center justify-center">- <button type="button" onClick={() => setIsImageUploadModalOpen(true)}>- {!userAvatar || userAvatar === "" ? (- <div className="flex flex-col items-center justify-between">- <div className="relative h-14 w-14 overflow-hidden">- <div className="absolute left-0 top-0 flex items-center justify-center h-full w-full rounded-full text-white text-3xl font-medium bg-[#9747FF] uppercase">- {watch("first_name")[0] ?? "R"}- </div>- </div>- <div className="pt-1 text-sm font-medium text-custom-primary-300 hover:text-custom-primary-400">- Choose image+ <div className="flex flex-col w-full items-center justify-center p-8 mt-6">+ <form onSubmit={handleSubmit(onSubmit)} className="w-full mx-auto mt-2 space-y-4 sm:w-96">+ {profileSetupStep !== EProfileSetupSteps.USER_PERSONALIZATION && (+ <>+ <Controller+ control={control}+ name="avatar_url"+ render={({ field: { onChange, value } }) => (+ <UserImageUploadModal+ isOpen={isImageUploadModalOpen}+ onClose={() => setIsImageUploadModalOpen(false)}+ handleRemove={async () => handleDelete(getValues("avatar_url"))}+ onSuccess={(url) => {+ onChange(url);+ setIsImageUploadModalOpen(false);+ }}+ value={value && value.trim() !== "" ? value : null}+ />+ )}+ />+ <div className="space-y-1 flex items-center justify-center">+ <button type="button" onClick={() => setIsImageUploadModalOpen(true)}>+ {!userAvatar || userAvatar === "" ? (+ <div className="flex flex-col items-center justify-between">+ <div className="relative h-14 w-14 overflow-hidden">+ <div className="absolute left-0 top-0 flex items-center justify-center h-full w-full rounded-full text-white text-3xl font-medium bg-[#9747FF] uppercase">+ {watch("first_name")[0] ?? "R"}</div></div>- ) : (- <div className="relative mr-3 h-16 w-16 overflow-hidden">- <img- src={getFileURL(userAvatar ?? "")}- className="absolute left-0 top-0 h-full w-full rounded-full object-cover"- onClick={() => setIsImageUploadModalOpen(true)}- alt={user?.display_name}- />+ <div className="pt-1 text-sm font-medium text-custom-primary-300 hover:text-custom-primary-400">+ Choose image</div>- )}- </button>- </div>- <div className="grid grid-cols-1 sm:grid-cols-2 gap-4">- <div className="space-y-1">- <label- className="text-sm text-onboarding-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"- htmlFor="first_name"- >- First name- </label>- <Controller- control={control}- name="first_name"- rules={{- required: "First name is required",- maxLength: {- value: 24,- message: "First name must be within 24 characters.",- },- }}- render={({ field: { value, onChange, ref } }) => (- <Input- id="first_name"- name="first_name"- type="text"- value={value}- autoFocus- onChange={onChange}- ref={ref}- hasError={Boolean(errors.first_name)}- placeholder="Wilbur"- className="w-full border-onboarding-border-100"- autoComplete="on"- />- )}- />- {errors.first_name && <span className="text-sm text-red-500">{errors.first_name.message}</span>}- </div>- <div className="space-y-1">- <label- className="text-sm text-onboarding-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"- htmlFor="last_name"- >- Last name- </label>- <Controller- control={control}- name="last_name"- rules={{- required: "Last name is required",- maxLength: {- value: 24,- message: "Last name must be within 24 characters.",- },- }}- render={({ field: { value, onChange, ref } }) => (- <Input- id="last_name"- name="last_name"- type="text"- value={value}- onChange={onChange}- ref={ref}- hasError={Boolean(errors.last_name)}- placeholder="Wright"- className="w-full border-onboarding-border-100"- autoComplete="on"- />- )}- />- {errors.last_name && <span className="text-sm text-red-500">{errors.last_name.message}</span>}- </div>- </div>-- {/* setting up password for the first time */}- {!isPasswordAlreadySetup && (- <>- <div className="space-y-1">- <label className="text-sm text-onboarding-text-300 font-medium" htmlFor="password">- Set a password ({t("common.optional")})- </label>- <Controller- control={control}- name="password"- rules={{- required: false,- }}- render={({ field: { value, onChange, ref } }) => (- <div className="relative flex items-center rounded-md">- <Input- type={showPassword.password ? "text" : "password"}- name="password"- value={value}- onChange={onChange}- ref={ref}- hasError={Boolean(errors.password)}- placeholder="New password..."- className="w-full border-[0.5px] border-onboarding-border-100 pr-12 placeholder:text-onboarding-text-400"- onFocus={() => setIsPasswordInputFocused(true)}- onBlur={() => setIsPasswordInputFocused(false)}- autoComplete="on"- />- {showPassword.password ? (- <EyeOff- className="absolute right-3 h-4 w-4 stroke-custom-text-400 hover:cursor-pointer"- onClick={() => handleShowPassword("password")}- />- ) : (- <Eye- className="absolute right-3 h-4 w-4 stroke-custom-text-400 hover:cursor-pointer"- onClick={() => handleShowPassword("password")}- />- )}- </div>- )}- />- <PasswordStrengthIndicator- password={watch("password") ?? ""}- isFocused={isPasswordInputFocused}- /></div>- <div className="space-y-1">- <label className="text-sm text-onboarding-text-300 font-medium" htmlFor="confirm_password">- {t("auth.common.password.confirm_password.label")} ({t("common.optional")})- </label>- <Controller- control={control}- name="confirm_password"- rules={{- required: watch("password") ? true : false,- validate: (value) =>- watch("password") ? (value === watch("password") ? true : "Passwords don't match") : true,- }}- render={({ field: { value, onChange, ref } }) => (- <div className="relative flex items-center rounded-md">- <Input- type={showPassword.retypePassword ? "text" : "password"}- name="confirm_password"- value={value}- onChange={onChange}- ref={ref}- hasError={Boolean(errors.confirm_password)}- placeholder={t("auth.common.password.confirm_password.placeholder")}- className="w-full border-onboarding-border-100 pr-12 placeholder:text-onboarding-text-400"- />- {showPassword.retypePassword ? (- <EyeOff- className="absolute right-3 h-4 w-4 stroke-custom-text-400 hover:cursor-pointer"- onClick={() => handleShowPassword("retypePassword")}- />- ) : (- <Eye- className="absolute right-3 h-4 w-4 stroke-custom-text-400 hover:cursor-pointer"- onClick={() => handleShowPassword("retypePassword")}- />- )}- </div>- )}+ ) : (+ <div className="relative mr-3 h-16 w-16 overflow-hidden">+ <img+ src={getFileURL(userAvatar ?? "")}+ className="absolute left-0 top-0 h-full w-full rounded-full object-cover"+ onClick={() => setIsImageUploadModalOpen(true)}+ alt={user?.display_name}/>- {errors.confirm_password && (- <span className="text-sm text-red-500">{errors.confirm_password.message}</span>- )}</div>- </>- )}- </>- )}-- {/* user role once the password is set */}- {profileSetupStep !== EProfileSetupSteps.USER_DETAILS && (- <>+ )}+ </button>+ </div>+ <div className="grid grid-cols-1 sm:grid-cols-2 gap-4"><div className="space-y-1"><label- className="text-sm text-onboarding-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"- htmlFor="role"+ className="text-sm text-custom-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"+ htmlFor="first_name">- What role are you working on? Choose one.+ First name</label><Controllercontrol={control}- name="role"+ name="first_name"rules={{- required: "This field is required",+ required: "First name is required",+ maxLength: {+ value: 24,+ message: "First name must be within 24 characters.",+ },}}- render={({ field: { value, onChange } }) => (- <div className="flex flex-wrap gap-2 py-2 overflow-auto break-all">- {USER_ROLE.map((userRole) => (- <div- key={userRole}- className={`flex-shrink-0 border-[0.5px] hover:cursor-pointer hover:bg-onboarding-background-300/30 ${- value === userRole ? "border-custom-primary-100" : "border-onboarding-border-100"- } rounded px-3 py-1.5 text-sm font-medium`}- onClick={() => onChange(userRole)}- >- {userRole}- </div>- ))}- </div>+ render={({ field: { value, onChange, ref } }) => (+ <Input+ id="first_name"+ name="first_name"+ type="text"+ value={value}+ autoFocus+ onChange={onChange}+ ref={ref}+ hasError={Boolean(errors.first_name)}+ placeholder="Wilbur"+ className="w-full border-custom-border-300"+ autoComplete="on"+ />)}/>- {errors.role && <span className="text-sm text-red-500">{errors.role.message}</span>}+ {errors.first_name && <span className="text-sm text-red-500">{errors.first_name.message}</span>}</div><div className="space-y-1"><label- className="text-sm text-onboarding-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"- htmlFor="use_case"+ className="text-sm text-custom-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"+ htmlFor="last_name">- What is your domain expertise? Choose one.+ Last name</label><Controllercontrol={control}- name="use_case"+ name="last_name"rules={{- required: "This field is required",+ required: "Last name is required",+ maxLength: {+ value: 24,+ message: "Last name must be within 24 characters.",+ },}}- render={({ field: { value, onChange } }) => (- <div className="flex flex-wrap gap-2 py-2 overflow-auto break-all">- {USER_DOMAIN.map((userDomain) => (- <div- key={userDomain}- className={`flex-shrink-0 border-[0.5px] hover:cursor-pointer hover:bg-onboarding-background-300/30 ${- value === userDomain ? "border-custom-primary-100" : "border-onboarding-border-100"- } rounded px-3 py-1.5 text-sm font-medium`}- onClick={() => onChange(userDomain)}- >- {userDomain}- </div>- ))}- </div>+ render={({ field: { value, onChange, ref } }) => (+ <Input+ id="last_name"+ name="last_name"+ type="text"+ value={value}+ onChange={onChange}+ ref={ref}+ hasError={Boolean(errors.last_name)}+ placeholder="Wright"+ className="w-full border-custom-border-300"+ autoComplete="on"+ />)}/>- {errors.use_case && <span className="text-sm text-red-500">{errors.use_case.message}</span>}+ {errors.last_name && <span className="text-sm text-red-500">{errors.last_name.message}</span>}</div>- </>- )}- <Button variant="primary" type="submit" size="lg" className="w-full" disabled={isButtonDisabled}>- {isSubmitting ? <Spinner height="20px" width="20px" /> : "Continue"}- </Button>- </form>- </div>- </div>- <div className="hidden lg:block relative w-2/5 h-screen overflow-hidden px-6 py-10 sm:px-7 sm:py-14 md:px-14 lg:px-28">- <SwitchAccountDropdown fullName={`${watch("first_name")} ${watch("last_name")}`} />- <div className="absolute inset-0 z-0">- {profileSetupStep === EProfileSetupSteps.USER_PERSONALIZATION ? (- <Image- src={resolvedTheme === "dark" ? UserPersonalizationDark : UserPersonalizationLight}- className="h-screen w-auto float-end object-cover"- alt="User Personalization"- />- ) : (- <Image- src={resolvedTheme === "dark" ? ProfileSetupDark : ProfileSetupLight}- className="h-screen w-auto float-end object-cover"- alt="Profile setup"- />+ </div>++ {/* setting up password for the first time */}+ {!isPasswordAlreadySetup && (+ <>+ <div className="space-y-1">+ <label className="text-sm text-custom-text-300 font-medium" htmlFor="password">+ Set a password ({t("common.optional")})+ </label>+ <Controller+ control={control}+ name="password"+ rules={{+ required: false,+ }}+ render={({ field: { value, onChange, ref } }) => (+ <div className="relative flex items-center rounded-md">+ <Input+ type={showPassword.password ? "text" : "password"}+ name="password"+ value={value}+ onChange={onChange}+ ref={ref}+ hasError={Boolean(errors.password)}+ placeholder="New password..."+ className="w-full border-[0.5px] border-custom-border-300 pr-12 placeholder:text-custom-text-400"+ onFocus={() => setIsPasswordInputFocused(true)}+ onBlur={() => setIsPasswordInputFocused(false)}+ autoComplete="on"+ />+ {showPassword.password ? (+ <EyeOff+ className="absolute right-3 h-4 w-4 stroke-custom-text-400 hover:cursor-pointer"+ onClick={() => handleShowPassword("password")}+ />+ ) : (+ <Eye+ className="absolute right-3 h-4 w-4 stroke-custom-text-400 hover:cursor-pointer"+ onClick={() => handleShowPassword("password")}+ />+ )}+ </div>+ )}+ />+ <PasswordStrengthIndicator password={watch("password") ?? ""} isFocused={isPasswordInputFocused} />+ </div>+ <div className="space-y-1">+ <label className="text-sm text-custom-text-300 font-medium" htmlFor="confirm_password">+ {t("auth.common.password.confirm_password.label")} ({t("common.optional")})+ </label>+ <Controller+ control={control}+ name="confirm_password"+ rules={{+ required: watch("password") ? true : false,+ validate: (value) =>+ watch("password") ? (value === watch("password") ? true : "Passwords don't match") : true,+ }}+ render={({ field: { value, onChange, ref } }) => (+ <div className="relative flex items-center rounded-md">+ <Input+ type={showPassword.retypePassword ? "text" : "password"}+ name="confirm_password"+ value={value}+ onChange={onChange}+ ref={ref}+ hasError={Boolean(errors.confirm_password)}+ placeholder={t("auth.common.password.confirm_password.placeholder")}+ className="w-full border-custom-border-300 pr-12 placeholder:text-custom-text-400"+ />+ {showPassword.retypePassword ? (+ <EyeOff+ className="absolute right-3 h-4 w-4 stroke-custom-text-400 hover:cursor-pointer"+ onClick={() => handleShowPassword("retypePassword")}+ />+ ) : (+ <Eye+ className="absolute right-3 h-4 w-4 stroke-custom-text-400 hover:cursor-pointer"+ onClick={() => handleShowPassword("retypePassword")}+ />+ )}+ </div>+ )}+ />+ {errors.confirm_password && (+ <span className="text-sm text-red-500">{errors.confirm_password.message}</span>+ )}+ </div>+ </>+ )}+ </>+ )}++ {/* user role once the password is set */}+ {profileSetupStep !== EProfileSetupSteps.USER_DETAILS && (+ <>+ <div className="space-y-1">+ <label+ className="text-sm text-custom-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"+ htmlFor="role"+ >+ What role are you working on? Choose one.+ </label>+ <Controller+ control={control}+ name="role"+ rules={{+ required: "This field is required",+ }}+ render={({ field: { value, onChange } }) => (+ <div className="flex flex-wrap gap-2 py-2 overflow-auto break-all">+ {USER_ROLE.map((userRole) => (+ <div+ key={userRole}+ className={`flex-shrink-0 border-[0.5px] hover:cursor-pointer hover:bg-custom-background-90 ${+ value === userRole ? "border-custom-primary-100" : "border-custom-border-300"+ } rounded px-3 py-1.5 text-sm font-medium`}+ onClick={() => onChange(userRole)}+ >+ {userRole}+ </div>+ ))}+ </div>+ )}+ />+ {errors.role && <span className="text-sm text-red-500">{errors.role.message}</span>}+ </div>+ <div className="space-y-1">+ <label+ className="text-sm text-custom-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"+ htmlFor="use_case"+ >+ What is your domain expertise? Choose one.+ </label>+ <Controller+ control={control}+ name="use_case"+ rules={{+ required: "This field is required",+ }}+ render={({ field: { value, onChange } }) => (+ <div className="flex flex-wrap gap-2 py-2 overflow-auto break-all">+ {USER_DOMAIN.map((userDomain) => (+ <div+ key={userDomain}+ className={`flex-shrink-0 border-[0.5px] hover:cursor-pointer hover:bg-custom-background-90 ${+ value === userDomain ? "border-custom-primary-100" : "border-custom-border-300"+ } rounded px-3 py-1.5 text-sm font-medium`}+ onClick={() => onChange(userDomain)}+ >+ {userDomain}+ </div>+ ))}+ </div>+ )}+ />+ {errors.use_case && <span className="text-sm text-red-500">{errors.use_case.message}</span>}+ </div>+ </>)}- </div>+ <Button variant="primary" type="submit" size="lg" className="w-full" disabled={isButtonDisabled}>+ {isSubmitting ? <Spinner height="20px" width="20px" /> : "Continue"}+ </Button>+ </form></div></div>);diff --git a/apps/web/core/components/onboarding/root.tsx b/apps/web/core/components/onboarding/root.tsxnew file mode 100644index 0000000000..fc997b4b68--- /dev/null+++ b/apps/web/core/components/onboarding/root.tsx@@ -0,0 +1,146 @@+"use client";++import { FC, useCallback, useEffect, useState } from "react";+import { observer } from "mobx-react";+// plane imports+import { USER_TRACKER_EVENTS } from "@plane/constants";+import {+ EOnboardingSteps,+ IWorkspaceMemberInvitation,+ TOnboardingStep,+ TOnboardingSteps,+ TUserProfile,+} from "@plane/types";+import { setToast, TOAST_TYPE } from "@plane/ui";+// helpers+import { captureSuccess } from "@/helpers/event-tracker.helper";+// hooks+import { useUser, useUserProfile, useWorkspace } from "@/hooks/store";+// local components+import { OnboardingHeader } from "./header";+import { OnboardingStepRoot } from "./steps";++type Props = {+ invitations?: IWorkspaceMemberInvitation[];+};++export const OnboardingRoot: FC<Props> = observer(({ invitations = [] }) => {+ const [currentStep, setCurrentStep] = useState<TOnboardingStep>(EOnboardingSteps.PROFILE_SETUP);+ // store hooks+ const { data: user } = useUser();+ const { data: userProfile, updateUserProfile, finishUserOnboarding } = useUserProfile();+ const { workspaces } = useWorkspace();++ const workspacesList = Object.values(workspaces ?? {});++ // Calculate total steps based on whether invitations are available+ const hasInvitations = invitations.length > 0;++ // complete onboarding+ const finishOnboarding = useCallback(async () => {+ if (!user) return;++ await finishUserOnboarding()+ .then(() => {+ captureSuccess({+ eventName: USER_TRACKER_EVENTS.onboarding_complete,+ payload: {+ email: user.email,+ user_id: user.id,+ },+ });+ })+ .catch(() => {+ setToast({+ type: TOAST_TYPE.ERROR,+ title: "Failed",+ message: "Failed to finish onboarding, Please try again later.",+ });+ });+ }, [user, finishUserOnboarding]);++ // handle step change+ const stepChange = useCallback(+ async (steps: Partial<TOnboardingSteps>) => {+ if (!user) return;++ const payload: Partial<TUserProfile> = {+ onboarding_step: {+ ...userProfile.onboarding_step,+ ...steps,+ },+ };++ await updateUserProfile(payload);+ },+ [user, userProfile, updateUserProfile]+ );++ const handleStepChange = useCallback(+ (step: EOnboardingSteps, skipInvites?: boolean) => {+ switch (step) {+ case EOnboardingSteps.PROFILE_SETUP:+ setCurrentStep(EOnboardingSteps.ROLE_SETUP);+ break;+ case EOnboardingSteps.ROLE_SETUP:+ setCurrentStep(EOnboardingSteps.USE_CASE_SETUP);+ break;+ case EOnboardingSteps.USE_CASE_SETUP:+ stepChange({ profile_complete: true });+ if (workspacesList.length > 0) finishOnboarding();+ else setCurrentStep(EOnboardingSteps.WORKSPACE_CREATE_OR_JOIN);+ break;+ case EOnboardingSteps.WORKSPACE_CREATE_OR_JOIN:+ if (skipInvites) finishOnboarding();+ else {+ setCurrentStep(EOnboardingSteps.INVITE_MEMBERS);+ stepChange({ workspace_create: true });+ }+ break;+ case EOnboardingSteps.INVITE_MEMBERS:+ stepChange({ workspace_invite: true });+ finishOnboarding();+ break;+ }+ },+ [stepChange, finishOnboarding, workspacesList]+ );++ const updateCurrentStep = (step: EOnboardingSteps) => setCurrentStep(step);++ useEffect(() => {+ const handleInitialStep = () => {+ if (+ userProfile?.onboarding_step?.profile_complete &&+ !userProfile?.onboarding_step?.workspace_create &&+ !userProfile?.onboarding_step?.workspace_join+ ) {+ setCurrentStep(EOnboardingSteps.WORKSPACE_CREATE_OR_JOIN);+ }+ if (+ userProfile?.onboarding_step?.profile_complete &&+ userProfile?.onboarding_step?.workspace_create &&+ !userProfile?.onboarding_step?.workspace_invite+ ) {+ setCurrentStep(EOnboardingSteps.INVITE_MEMBERS);+ }+ };++ handleInitialStep();+ // eslint-disable-next-line react-hooks/exhaustive-deps+ }, []);++ return (+ <>+ {/* Header with progress */}+ <OnboardingHeader+ currentStep={currentStep}+ updateCurrentStep={updateCurrentStep}+ hasInvitations={hasInvitations}+ />++ {/* Main content area */}+ <OnboardingStepRoot currentStep={currentStep} invitations={invitations} handleStepChange={handleStepChange} />+ </>+ );+});diff --git a/apps/web/core/components/onboarding/step-indicator.tsx b/apps/web/core/components/onboarding/step-indicator.tsxindex f10c3bc84d..14533984e8 100644--- a/apps/web/core/components/onboarding/step-indicator.tsx+++ b/apps/web/core/components/onboarding/step-indicator.tsx@@ -22,7 +22,7 @@ export const OnboardingStepIndicator: React.FC<OnboardingStepIndicatorProps> = (key={`line-${i}`}className={cn("h-1.5 -ml-0.5 w-full", {"bg-green-700": isCompleted,- "bg-onboarding-background-100": !isCompleted,+ "bg-custom-background-100": !isCompleted,"rounded-l-full": isFirstStep,"rounded-r-full": isLastStep || isActive,"z-10": isActive,@@ -36,7 +36,7 @@ export const OnboardingStepIndicator: React.FC<OnboardingStepIndicatorProps> = (return (<div className="flex flex-col justify-center">- <div className="text-sm text-onboarding-text-300 font-medium">+ <div className="text-sm text-custom-text-300 font-medium">{currentStep} of {totalSteps} steps</div><div className="flex items-center justify-center my-0.5 mx-1 w-40 lg:w-52">{renderIndicators()}</div>diff --git a/apps/web/core/components/onboarding/steps/common/header.tsx b/apps/web/core/components/onboarding/steps/common/header.tsxnew file mode 100644index 0000000000..8c241257e5--- /dev/null+++ b/apps/web/core/components/onboarding/steps/common/header.tsx@@ -0,0 +1,15 @@+"use client";++import { FC } from "react";++type Props = {+ title: string;+ description: string;+};++export const CommonOnboardingHeader: FC<Props> = ({ title, description }) => (+ <div className="text-left space-y-2">+ <h1 className="text-2xl font-semibold text-custom-text-200">{title}</h1>+ <p className="text-base text-custom-text-300">{description}</p>+ </div>+);diff --git a/apps/web/core/components/onboarding/steps/common/index.ts b/apps/web/core/components/onboarding/steps/common/index.tsnew file mode 100644index 0000000000..49ac70fe21--- /dev/null+++ b/apps/web/core/components/onboarding/steps/common/index.ts@@ -0,0 +1 @@+export * from "./header";diff --git a/apps/web/core/components/onboarding/steps/index.ts b/apps/web/core/components/onboarding/steps/index.tsnew file mode 100644index 0000000000..aba7430239--- /dev/null+++ b/apps/web/core/components/onboarding/steps/index.ts@@ -0,0 +1,6 @@+export * from "./profile";+export * from "./role";+export * from "./usecase";+export * from "./workspace";+export * from "./team";+export * from "./root";diff --git a/apps/web/core/components/onboarding/steps/profile/consent.tsx b/apps/web/core/components/onboarding/steps/profile/consent.tsxnew file mode 100644index 0000000000..a8428c48f5--- /dev/null+++ b/apps/web/core/components/onboarding/steps/profile/consent.tsx@@ -0,0 +1,24 @@+"use client";++import { FC } from "react";+import { Check } from "lucide-react";++type Props = {+ isChecked: boolean;+ handleChange: (checked: boolean) => void;+};++export const MarketingConsent: FC<Props> = ({ isChecked, handleChange }) => (+ <div className="flex items-center justify-center gap-1.5">+ <button+ type="button"+ onClick={() => handleChange(!isChecked)}+ className={`size-4 rounded border-2 flex items-center justify-center ${+ isChecked ? "bg-custom-primary-100 border-custom-primary-100" : "border-custom-border-300"+ }`}+ >+ {isChecked && <Check className="w-3 h-3 text-white" />}+ </button>+ <span className="text-sm text-custom-text-300">I agree to Plane marketing communications</span>+ </div>+);diff --git a/apps/web/core/components/onboarding/steps/profile/index.ts b/apps/web/core/components/onboarding/steps/profile/index.tsnew file mode 100644index 0000000000..1efe34c51e--- /dev/null+++ b/apps/web/core/components/onboarding/steps/profile/index.ts@@ -0,0 +1 @@+export * from "./root";diff --git a/apps/web/core/components/onboarding/steps/profile/root.tsx b/apps/web/core/components/onboarding/steps/profile/root.tsxnew file mode 100644index 0000000000..c2675ab13f--- /dev/null+++ b/apps/web/core/components/onboarding/steps/profile/root.tsx@@ -0,0 +1,263 @@+"use client";++import { FC, useMemo, useState } from "react";+import { observer } from "mobx-react";+import { Controller, useForm } from "react-hook-form";+import { ImageIcon } from "lucide-react";+// plane imports+import { E_PASSWORD_STRENGTH, ONBOARDING_TRACKER_ELEMENTS, USER_TRACKER_EVENTS } from "@plane/constants";+import { EOnboardingSteps, IUser } from "@plane/types";+import { Button, TOAST_TYPE, setToast } from "@plane/ui";+import { cn, getFileURL, getPasswordStrength } from "@plane/utils";+// components+import { UserImageUploadModal } from "@/components/core/modals/user-image-upload-modal";+// helpers+import { captureError, captureView } from "@/helpers/event-tracker.helper";+// hooks+import { useUser, useUserProfile } from "@/hooks/store";+// services+import { AuthService } from "@/services/auth.service";+// local components+import { CommonOnboardingHeader } from "../common";+import { MarketingConsent } from "./consent";+import { SetPasswordRoot } from "./set-password";++type Props = {+ handleStepChange: (step: EOnboardingSteps, skipInvites?: boolean) => void;+};++export type TProfileSetupFormValues = {+ first_name: string;+ last_name: string;+ avatar_url?: string | null;+ password?: string;+ confirm_password?: string;+ role?: string;+ use_case?: string;+ has_marketing_email_consent?: boolean;+};++const authService = new AuthService();++const defaultValues: Partial<TProfileSetupFormValues> = {+ first_name: "",+ last_name: "",+ avatar_url: "",+ password: undefined,+ confirm_password: undefined,+ has_marketing_email_consent: true,+};++export const ProfileSetupStep: FC<Props> = observer(({ handleStepChange }) => {+ // states+ const [isImageUploadModalOpen, setIsImageUploadModalOpen] = useState(false);+ // store hooks+ const { data: user, updateCurrentUser } = useUser();+ const { updateUserProfile } = useUserProfile();+ // form info+ const {+ getValues,+ handleSubmit,+ control,+ watch,+ setValue,+ formState: { errors, isSubmitting, isValid },+ } = useForm<TProfileSetupFormValues>({+ defaultValues: {+ ...defaultValues,+ first_name: user?.first_name,+ last_name: user?.last_name,+ avatar_url: user?.avatar_url,+ },+ mode: "onChange",+ });+ // derived values+ const userAvatar = watch("avatar_url");++ const handleSetPassword = async (password: string) => {+ const token = await authService.requestCSRFToken().then((data) => data?.csrf_token);+ await authService.setPassword(token, { password });+ };++ const handleSubmitUserDetail = async (formData: TProfileSetupFormValues) => {+ const userDetailsPayload: Partial<IUser> = {+ first_name: formData.first_name,+ last_name: formData.last_name,+ avatar_url: formData.avatar_url ?? undefined,+ };+ try {+ await Promise.all([+ updateCurrentUser(userDetailsPayload),+ formData.password && handleSetPassword(formData.password),+ ]);+ } catch {+ captureError({+ eventName: USER_TRACKER_EVENTS.add_details,+ });+ setToast({+ type: TOAST_TYPE.ERROR,+ title: "Error",+ message: "User details update failed. Please try again!",+ });+ }+ };++ const onSubmit = async (formData: TProfileSetupFormValues) => {+ if (!user) return;+ captureView({+ elementName: ONBOARDING_TRACKER_ELEMENTS.PROFILE_SETUP_FORM,+ });+ updateUserProfile({+ has_marketing_email_consent: formData.has_marketing_email_consent,+ });+ await handleSubmitUserDetail(formData).then(() => {+ handleStepChange(EOnboardingSteps.PROFILE_SETUP);+ });+ };++ const handleDelete = (url: string | null | undefined) => {+ if (!url) return;+ setValue("avatar_url", "");+ };++ // derived values+ const isPasswordAlreadySetup = !user?.is_password_autoset;+ const currentPassword = watch("password") || undefined;+ const currentConfirmPassword = watch("confirm_password") || undefined;++ const isValidPassword = useMemo(() => {+ if (currentPassword) {+ if (+ currentPassword === currentConfirmPassword &&+ getPasswordStrength(currentPassword) === E_PASSWORD_STRENGTH.STRENGTH_VALID+ ) {+ return true;+ } else {+ return false;+ }+ } else {+ return true;+ }+ }, [currentPassword, currentConfirmPassword]);++ // Check for all available fields validation and if password field is available, then checks for password validation (strength + confirmation).+ // Also handles the condition for optional password i.e if password field is optional it only checks for above validation if it's not empty.+ const isButtonDisabled =+ !isSubmitting && isValid ? (isPasswordAlreadySetup ? false : isValidPassword ? false : true) : true;++ return (+ <form onSubmit={handleSubmit(onSubmit)} className="flex flex-col gap-10">+ {/* Header */}+ <CommonOnboardingHeader title="Create your profile." description="This is how you will appear in Plane." />++ {/* Profile Picture Section */}+ <Controller+ control={control}+ name="avatar_url"+ render={({ field: { onChange, value } }) => (+ <UserImageUploadModal+ isOpen={isImageUploadModalOpen}+ onClose={() => setIsImageUploadModalOpen(false)}+ handleRemove={async () => handleDelete(getValues("avatar_url"))}+ onSuccess={(url) => {+ onChange(url);+ setIsImageUploadModalOpen(false);+ }}+ value={value && value.trim() !== "" ? value : null}+ />+ )}+ />+ <div className="flex items-center gap-4">+ <button+ className="size-12 rounded-full bg-[#028375] flex items-center justify-center text-white font-semibold text-xl"+ type="button"+ onClick={() => setIsImageUploadModalOpen(true)}+ >+ {userAvatar ? (+ <img+ src={getFileURL(userAvatar ?? "")}+ onClick={() => setIsImageUploadModalOpen(true)}+ alt={user?.display_name}+ className="w-full h-full rounded-full object-cover"+ />+ ) : (+ <>{watch("first_name")[0] ?? "R"}</>+ )}+ </button>+ <input type="file" className="hidden" id="profile-image-input" />+ <button+ className="flex items-center gap-1.5 text-custom-text-300 hover:text-custom-text-200 text-sm px-2 py-1"+ type="button"+ onClick={() => setIsImageUploadModalOpen(true)}+ >+ <ImageIcon className="size-4" />+ <span className="text-sm">{userAvatar ? "Change image" : "Upload image"}</span>+ </button>+ </div>++ <div className="flex flex-col gap-6 w-full">+ {/* Name Input */}+ <div className="flex flex-col gap-2">+ <label+ className="block text-sm font-medium text-custom-text-300 after:content-['*'] after:ml-0.5 after:text-red-500"+ htmlFor="first_name"+ >+ Name+ </label>+ <Controller+ control={control}+ name="first_name"+ rules={{+ required: "Name is required",+ maxLength: {+ value: 24,+ message: "Name must be within 24 characters.",+ },+ }}+ render={({ field: { value, onChange, ref } }) => (+ <input+ ref={ref}+ id="first_name"+ name="first_name"+ type="text"+ value={value}+ onChange={(e) => onChange(e.target.value)}+ autoFocus+ className={cn(+ "w-full px-3 py-2 text-custom-text-200 border border-custom-border-300 rounded-md bg-custom-background-100 focus:outline-none focus:ring-2 focus:ring-custom-primary-100 placeholder:text-custom-text-400 focus:border-transparent transition-all duration-200",+ {+ "border-custom-border-300": !errors.first_name,+ "border-red-500": errors.first_name,+ }+ )}+ placeholder="Enter your full name"+ autoComplete="on"+ />+ )}+ />+ {errors.first_name && <span className="text-sm text-red-500">{errors.first_name.message}</span>}+ </div>++ {/* setting up password for the first time */}+ {!isPasswordAlreadySetup && (+ <SetPasswordRoot+ onPasswordChange={(password) => setValue("password", password)}+ onConfirmPasswordChange={(confirm_password) => setValue("confirm_password", confirm_password)}+ />+ )}+ </div>+ {/* Continue Button */}+ <Button variant="primary" type="submit" className="w-full" size="lg" disabled={isButtonDisabled}>+ Continue+ </Button>++ {/* Marketing Consent */}+ <MarketingConsent+ isChecked={!!watch("has_marketing_email_consent")}+ handleChange={(has_marketing_email_consent) =>+ setValue("has_marketing_email_consent", has_marketing_email_consent)+ }+ />+ </form>+ );+});diff --git a/apps/web/core/components/onboarding/steps/profile/set-password.tsx b/apps/web/core/components/onboarding/steps/profile/set-password.tsxnew file mode 100644index 0000000000..5565bb2d25--- /dev/null+++ b/apps/web/core/components/onboarding/steps/profile/set-password.tsx@@ -0,0 +1,135 @@+"use client"++import React, { useState, useCallback, useMemo } from "react";+import { Lock, ChevronDown } from "lucide-react";+import { PasswordInput, PasswordStrengthIndicator } from "@plane/ui";+import { cn } from "@plane/utils";++interface PasswordState {+ password: string;+ confirmPassword: string;+}++interface SetPasswordRootProps {+ onPasswordChange?: (password: string) => void;+ onConfirmPasswordChange?: (confirmPassword: string) => void;+ disabled?: boolean;+}++export const SetPasswordRoot: React.FC<SetPasswordRootProps> = ({+ onPasswordChange,+ onConfirmPasswordChange,+ disabled = false,+}) => {+ const [isExpanded, setIsExpanded] = useState(false);+ const [passwordState, setPasswordState] = useState<PasswordState>({+ password: "",+ confirmPassword: "",+ });++ const handleToggleExpand = useCallback(() => {+ if (disabled) return;+ setIsExpanded((prev) => !prev);+ }, [disabled]);++ const handlePasswordChange = useCallback(+ (field: keyof PasswordState, value: string) => {+ setPasswordState((prev) => {+ const newState = { ...prev, [field]: value };++ // Notify parent component when password changes+ if (field === "password" && onPasswordChange) {+ onPasswordChange(value);+ }+ if (field === "confirmPassword" && onConfirmPasswordChange) {+ onConfirmPasswordChange(value);+ }++ return newState;+ });+ },+ [onPasswordChange, onConfirmPasswordChange]+ );++ const isPasswordValid = useMemo(() => {+ const { password, confirmPassword } = passwordState;+ return password.length >= 8 && password === confirmPassword;+ }, [passwordState]);++ const hasPasswordMismatch = useMemo(() => {+ const { password, confirmPassword } = passwordState;+ return confirmPassword.length > 0 && password !== confirmPassword;+ }, [passwordState]);++ const chevronIconClasses = useMemo(+ () =>+ `w-4 h-4 text-custom-text-400 transition-transform duration-300 ease-in-out ${isExpanded ? "rotate-180" : "rotate-0"}`,+ [isExpanded]+ );++ const expandedContentClasses = useMemo(+ () =>+ `flex flex-col gap-4 transition-all duration-300 ease-in-out overflow-hidden px-3 ${+ isExpanded ? "max-h-96 opacity-100" : "max-h-0 opacity-0"+ }`,+ [isExpanded]+ );++ return (+ <div+ className={`flex flex-col rounded-lg overflow-hidden transition-all duration-300 ease-in-out bg-custom-background-90`}+ >+ <div+ className={cn(+ "flex items-center justify-between transition-colors duration-200 px-3 py-2 text-sm",+ disabled ? "cursor-not-allowed opacity-50" : "cursor-pointer",+ isExpanded && "pb-1"+ )}+ onClick={handleToggleExpand}+ >+ <div className="flex items-center gap-1 text-custom-text-300">+ <Lock className="size-3" />+ <span className="font-medium">Set a password</span>+ <span>{`(Optional)`}</span>+ </div>+ <div className="flex items-center gap-2 text-custom-text-400">+ <ChevronDown className={chevronIconClasses} />+ </div>+ </div>++ <div className={expandedContentClasses}>+ {/* Password input */}+ <div className="flex flex-col gap-2 transform transition-all duration-300 ease-in-out pt-1">+ <PasswordInput+ id="password"+ value={passwordState.password}+ onChange={(value) => handlePasswordChange("password", value)}+ placeholder="Set a password"+ className="transition-all duration-200"+ />+ {passwordState.password.length > 0 && <PasswordStrengthIndicator password={passwordState.password} />}+ </div>++ <div className="flex flex-col gap-2 pb-2">+ {/* Confirm password label */}+ <div className="text-custom-text-300 font-medium transform transition-all duration-300 ease-in-out delay-75 text-sm">+ Confirm password+ </div>++ {/* Confirm password input */}+ <div className="transform transition-all duration-300 ease-in-out delay-100">+ <PasswordInput+ id="confirm-password"+ value={passwordState.confirmPassword}+ onChange={(value) => handlePasswordChange("confirmPassword", value)}+ placeholder="Confirm password"+ className="transition-all duration-200"+ />+ {hasPasswordMismatch && <p className="text-xs text-red-500 mt-1">Passwords do not match</p>}+ {isPasswordValid && <p className="text-xs text-green-500 mt-1">✓ Passwords match</p>}+ </div>+ </div>+ </div>+ </div>+ );+};diff --git a/apps/web/core/components/onboarding/steps/role/index.ts b/apps/web/core/components/onboarding/steps/role/index.tsnew file mode 100644index 0000000000..1efe34c51e--- /dev/null+++ b/apps/web/core/components/onboarding/steps/role/index.ts@@ -0,0 +1 @@+export * from "./root";diff --git a/apps/web/core/components/onboarding/steps/role/root.tsx b/apps/web/core/components/onboarding/steps/role/root.tsxnew file mode 100644index 0000000000..32cdbffbae--- /dev/null+++ b/apps/web/core/components/onboarding/steps/role/root.tsx@@ -0,0 +1,168 @@+"use client";++import { FC } from "react";+import { observer } from "mobx-react";+import { Controller, useForm } from "react-hook-form";+import { Box, Check, PenTool, Rocket, Monitor, RefreshCw, Layers } from "lucide-react";+// plane imports+import { ONBOARDING_TRACKER_ELEMENTS, USER_TRACKER_EVENTS } from "@plane/constants";+import { EOnboardingSteps, TUserProfile } from "@plane/types";+import { Button, TOAST_TYPE, setToast } from "@plane/ui";+// helpers+import { captureError, captureSuccess, captureView } from "@/helpers/event-tracker.helper";+// hooks+import { useUserProfile } from "@/hooks/store";+// local components+import { CommonOnboardingHeader } from "../common";+import { TProfileSetupFormValues } from "../profile/root";++type Props = {+ handleStepChange: (step: EOnboardingSteps, skipInvites?: boolean) => void;+};++const ROLES = [+ { id: "product-manager", label: "Product Manager", icon: Box },+ { id: "engineering-manager", label: "Engineering Manager", icon: Layers },+ { id: "designer", label: "Designer", icon: PenTool },+ { id: "developer", label: "Developer", icon: Monitor },+ { id: "founder-executive", label: "Founder/Executive", icon: Rocket },+ { id: "operations-manager", label: "Operations Manager", icon: RefreshCw },+ { id: "others", label: "Others", icon: Box },+];++const defaultValues = {+ role: "",+};++export const RoleSetupStep: FC<Props> = observer(({ handleStepChange }) => {+ // store hooks+ const { data: profile, updateUserProfile } = useUserProfile();+ // form info+ const {+ handleSubmit,+ control,+ formState: { errors, isSubmitting, isValid },+ } = useForm<TProfileSetupFormValues>({+ defaultValues: {+ ...defaultValues,+ role: profile?.role,+ },+ mode: "onChange",+ });++ // handle submit+ const handleSubmitUserPersonalization = async (formData: TProfileSetupFormValues) => {+ const profileUpdatePayload: Partial<TUserProfile> = {+ role: formData.role,+ };+ try {+ await Promise.all([+ updateUserProfile(profileUpdatePayload),+ // totalSteps > 2 && stepChange({ profile_complete: true }),+ ]);+ captureSuccess({+ eventName: USER_TRACKER_EVENTS.add_details,+ payload: {+ use_case: formData.use_case,+ role: formData.role,+ },+ });+ setToast({+ type: TOAST_TYPE.SUCCESS,+ title: "Success",+ message: "Profile setup completed!",+ });+ } catch {+ captureError({+ eventName: USER_TRACKER_EVENTS.add_details,+ });+ setToast({+ type: TOAST_TYPE.ERROR,+ title: "Error",+ message: "Profile setup failed. Please try again!",+ });+ }+ };++ const onSubmit = async (formData: TProfileSetupFormValues) => {+ if (!profile) return;+ captureView({+ elementName: ONBOARDING_TRACKER_ELEMENTS.PROFILE_SETUP_FORM,+ });+ await handleSubmitUserPersonalization(formData).then(() => {+ handleStepChange(EOnboardingSteps.ROLE_SETUP);+ });+ };++ const handleSkip = () => {+ handleStepChange(EOnboardingSteps.ROLE_SETUP);+ };++ const isButtonDisabled = !isSubmitting && isValid ? false : true;++ return (+ <form onSubmit={handleSubmit(onSubmit)} className="flex flex-col gap-10">+ {/* Header */}+ <CommonOnboardingHeader title="What's your role?" description="Let's set up Plane for how you work." />+ {/* Role Selection */}+ <div className="flex flex-col gap-3">+ <p className="text-sm font-medium text-custom-text-400">Select one</p>+ <Controller+ control={control}+ name="role"+ rules={{+ required: "This field is required",+ }}+ render={({ field: { value, onChange } }) => (+ <div className="flex flex-col gap-3">+ {ROLES.map((role) => {+ const Icon = role.icon;+ const isSelected = value === role.id;++ return (+ <button+ key={role.id}+ onClick={(e) => {+ e.stopPropagation();+ e.preventDefault();+ onChange(role.id);+ }}+ className={`w-full px-3 py-2 rounded-lg border transition-all duration-200 flex items-center justify-between ${+ isSelected+ ? "border-custom-primary-100 bg-custom-primary-10 text-custom-primary-100"+ : "border-custom-border-200 hover:border-custom-border-300 text-custom-text-300"+ }`}+ >+ <div className="flex items-center space-x-3">+ <Icon className="size-3.5" />+ <span className="font-medium">{role.label}</span>+ </div>+ {isSelected && (+ <>+ <button+ className={`size-4 rounded border-2 flex items-center justify-center bg-blue-500 border-blue-500`}+ >+ <Check className="w-3 h-3 text-white" />+ </button>+ </>+ )}+ </button>+ );+ })}+ </div>+ )}+ />+ {errors.role && <span className="text-sm text-red-500">{errors.role.message}</span>}+ </div>+ {/* Action Buttons */}+ <div className="space-y-3">+ <Button variant="primary" type="submit" className="w-full" size="lg" disabled={isButtonDisabled}>+ Continue+ </Button>+ <Button variant="link-neutral" onClick={handleSkip} className="w-full" size="lg">+ Skip+ </Button>+ </div>+ </form>+ );+});diff --git a/apps/web/core/components/onboarding/steps/root.tsx b/apps/web/core/components/onboarding/steps/root.tsxnew file mode 100644index 0000000000..a1f3319986--- /dev/null+++ b/apps/web/core/components/onboarding/steps/root.tsx@@ -0,0 +1,40 @@+"use client";++import { FC, useMemo } from "react";+// plane imports+import { EOnboardingSteps, IWorkspaceMemberInvitation } from "@plane/types";+// local components+import { ProfileSetupStep } from "./profile";+import { RoleSetupStep } from "./role";+import { InviteTeamStep } from "./team";+import { UseCaseSetupStep } from "./usecase";+import { WorkspaceSetupStep } from "./workspace";++type Props = {+ currentStep: EOnboardingSteps;+ invitations: IWorkspaceMemberInvitation[];+ handleStepChange: (step: EOnboardingSteps, skipInvites?: boolean) => void;+};++export const OnboardingStepRoot: FC<Props> = (props) => {+ const { currentStep, invitations, handleStepChange } = props;+ // memoized step component mapping+ const stepComponents = useMemo(+ () => ({+ [EOnboardingSteps.PROFILE_SETUP]: <ProfileSetupStep handleStepChange={handleStepChange} />,+ [EOnboardingSteps.ROLE_SETUP]: <RoleSetupStep handleStepChange={handleStepChange} />,+ [EOnboardingSteps.USE_CASE_SETUP]: <UseCaseSetupStep handleStepChange={handleStepChange} />,+ [EOnboardingSteps.WORKSPACE_CREATE_OR_JOIN]: (+ <WorkspaceSetupStep invitations={invitations ?? []} handleStepChange={handleStepChange} />+ ),+ [EOnboardingSteps.INVITE_MEMBERS]: <InviteTeamStep handleStepChange={handleStepChange} />,+ }),+ [handleStepChange, invitations]+ );++ return (+ <div className="flex-1 flex items-center justify-center p-8">+ <div className="w-full max-w-[24rem]">{stepComponents[currentStep]} </div>+ </div>+ );+};diff --git a/apps/web/core/components/onboarding/steps/team/index.ts b/apps/web/core/components/onboarding/steps/team/index.tsnew file mode 100644index 0000000000..1efe34c51e--- /dev/null+++ b/apps/web/core/components/onboarding/steps/team/index.ts@@ -0,0 +1 @@+export * from "./root";diff --git a/apps/web/core/components/onboarding/steps/team/root.tsx b/apps/web/core/components/onboarding/steps/team/root.tsxnew file mode 100644index 0000000000..f78202a6e4--- /dev/null+++ b/apps/web/core/components/onboarding/steps/team/root.tsx@@ -0,0 +1,414 @@+"use client";++import React, { useEffect, useState } from "react";+import { observer } from "mobx-react";+import {+ Control,+ Controller,+ FieldArrayWithId,+ UseFieldArrayRemove,+ UseFormGetValues,+ UseFormSetValue,+ UseFormWatch,+ useFieldArray,+ useForm,+} from "react-hook-form";+// icons+import { usePopper } from "react-popper";+import { Check, ChevronDown, Plus, XCircle } from "lucide-react";+import { Listbox } from "@headlessui/react";+// plane imports+import { ROLE, ROLE_DETAILS, EUserPermissions, MEMBER_TRACKER_EVENTS, MEMBER_TRACKER_ELEMENTS } from "@plane/constants";+import { useTranslation } from "@plane/i18n";+// types+import { EOnboardingSteps, IWorkspace } from "@plane/types";+// ui+import { Button, Input, Spinner, TOAST_TYPE, setToast } from "@plane/ui";+// constants+// helpers++// hooks+import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";+import { useUser, useUserProfile, useWorkspace } from "@/hooks/store";+// services+import { WorkspaceService } from "@/plane-web/services";+// components+import { CommonOnboardingHeader } from "../common";++type Props = {+ handleStepChange: (step: EOnboardingSteps, skipInvites?: boolean) => void;+};++type EmailRole = {+ email: string;+ role: EUserPermissions;+ role_active: boolean;+};++type FormValues = {+ emails: EmailRole[];+};++type InviteMemberFormProps = {+ index: number;+ remove: UseFieldArrayRemove;+ control: Control<FormValues, any>;+ setValue: UseFormSetValue<FormValues>;+ getValues: UseFormGetValues<FormValues>;+ watch: UseFormWatch<FormValues>;+ field: FieldArrayWithId<FormValues, "emails", "id">;+ fields: FieldArrayWithId<FormValues, "emails", "id">[];+ errors: any;+ isInvitationDisabled: boolean;+ setIsInvitationDisabled: (value: boolean) => void;+};++// services+const workspaceService = new WorkspaceService();+const emailRegex = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i;++const placeholderEmails = [+ "[email protected]",+ "[email protected]",+ "[email protected]",+ "[email protected]",+ "[email protected]",+ "[email protected]",+ "[email protected]",+ "[email protected]",+ "[email protected]",+ "[email protected]",+];+const InviteMemberInput: React.FC<InviteMemberFormProps> = observer((props) => {+ const {+ control,+ index,+ fields,+ remove,+ errors,+ isInvitationDisabled,+ setIsInvitationDisabled,+ setValue,+ getValues,+ watch,+ } = props;++ const [referenceElement, setReferenceElement] = useState<HTMLButtonElement | null>(null);+ const [popperElement, setPopperElement] = useState<HTMLDivElement | null>(null);++ const { t } = useTranslation();++ const email = watch(`emails.${index}.email`);++ const emailOnChange = (event: React.ChangeEvent<HTMLInputElement>) => {+ if (event.target.value === "") {+ const validEmail = fields.map((_, i) => emailRegex.test(getValues(`emails.${i}.email`))).includes(true);+ if (validEmail) {+ setIsInvitationDisabled(false);+ } else {+ setIsInvitationDisabled(true);+ }++ if (getValues(`emails.${index}.role_active`)) {+ setValue(`emails.${index}.role_active`, false);+ }+ } else {+ if (!getValues(`emails.${index}.role_active`)) {+ setValue(`emails.${index}.role_active`, true);+ }+ if (isInvitationDisabled && emailRegex.test(event.target.value)) {+ setIsInvitationDisabled(false);+ } else if (!isInvitationDisabled && !emailRegex.test(event.target.value)) {+ setIsInvitationDisabled(true);+ }+ }+ };++ const { styles, attributes } = usePopper(referenceElement, popperElement, {+ placement: "bottom-end",+ modifiers: [+ {+ name: "preventOverflow",+ options: {+ padding: 12,+ },+ },+ ],+ });++ return (+ <div>+ <div className="group relative grid grid-cols-10 gap-4">+ <div className="col-span-6">+ <Controller+ control={control}+ name={`emails.${index}.email`}+ rules={{+ pattern: {+ value: emailRegex,+ message: "Invalid Email ID",+ },+ }}+ render={({ field: { value, onChange, ref } }) => (+ <Input+ id={`emails.${index}.email`}+ name={`emails.${index}.email`}+ type="text"+ value={value}+ onChange={(event) => {+ emailOnChange(event);+ onChange(event);+ }}+ ref={ref}+ hasError={Boolean(errors.emails?.[index]?.email)}+ placeholder={placeholderEmails[index % placeholderEmails.length]}+ className="w-full border-custom-border-300 text-xs placeholder:text-custom-text-400 sm:text-sm"+ autoComplete="off"+ />+ )}+ />+ </div>+ <div className="col-span-4 mr-8">+ <Controller+ control={control}+ name={`emails.${index}.role`}+ rules={{ required: true }}+ render={({ field: { value, onChange } }) => (+ <Listbox+ as="div"+ value={value}+ onChange={(val) => {+ onChange(val);+ setValue(`emails.${index}.role_active`, true);+ }}+ className="w-full flex-shrink-0 text-left"+ >+ <Listbox.Button+ type="button"+ ref={setReferenceElement}+ className="flex w-full items-center justify-between gap-1 rounded-md px-2.5 py-2 text-sm border-[0.5px] border-custom-border-300"+ >+ <span+ className={`text-sm ${+ !getValues(`emails.${index}.role_active`) ? "text-custom-text-400" : "text-custom-text-100"+ } sm:text-sm`}+ >+ {ROLE[value]}+ </span>++ <ChevronDown+ className={`size-3 ${+ !getValues(`emails.${index}.role_active`)+ ? "stroke-onboarding-text-400"+ : "stroke-onboarding-text-100"+ }`}+ />+ </Listbox.Button>++ <Listbox.Options as="div">+ <div+ className="p-2 absolute space-y-1 z-10 mt-1 h-fit w-48 sm:w-60 rounded-md border border-custom-border-300 bg-custom-background-100 shadow-sm focus:outline-none"+ ref={setPopperElement}+ style={styles.popper}+ {...attributes.popper}+ >+ {Object.entries(ROLE_DETAILS).map(([key, value]) => (+ <Listbox.Option+ as="div"+ key={key}+ value={parseInt(key)}+ className={({ active, selected }) =>+ `cursor-pointer select-none truncate rounded px-1 py-1.5 ${+ active || selected ? "bg-onboarding-background-400/40" : ""+ } ${selected ? "text-custom-text-100" : "text-custom-text-200"}`+ }+ >+ {({ selected }) => (+ <div className="flex items-center text-wrap gap-2 p-1">+ <div className="flex flex-col">+ <div className="text-sm font-medium">{t(value.i18n_title)}</div>+ <div className="flex text-xs text-custom-text-300">{t(value.i18n_description)}</div>+ </div>+ {selected && <Check className="h-4 w-4 shrink-0" />}+ </div>+ )}+ </Listbox.Option>+ ))}+ </div>+ </Listbox.Options>+ </Listbox>+ )}+ />+ </div>+ {fields.length > 1 && (+ <button+ type="button"+ className="absolute right-0 hidden place-items-center self-center rounded group-hover:grid"+ onClick={() => remove(index)}+ >+ <XCircle className="h-5 w-5 pl-0.5 text-custom-text-400" />+ </button>+ )}+ </div>+ {email && !emailRegex.test(email) && (+ <div className="mx-8 my-1">+ <span className="text-sm">🤥</span>{" "}+ <span className="mt-1 text-xs text-red-500">That doesn{"'"}t look like an email address.</span>+ </div>+ )}+ </div>+ );+});++export const InviteTeamStep: React.FC<Props> = observer((props) => {+ const { handleStepChange } = props;++ const [isInvitationDisabled, setIsInvitationDisabled] = useState(true);++ const { workspaces } = useWorkspace();+ const workspacesList = Object.values(workspaces ?? {});+ const workspace = workspacesList[0];++ const {+ control,+ watch,+ getValues,+ setValue,+ handleSubmit,+ formState: { isSubmitting, errors, isValid },+ } = useForm<FormValues>();++ const { fields, append, remove } = useFieldArray({+ control,+ name: "emails",+ });++ const nextStep = async () => {+ await handleStepChange(EOnboardingSteps.INVITE_MEMBERS);+ };++ const onSubmit = async (formData: FormValues) => {+ if (!workspace) return;++ let payload = { ...formData };+ payload = { emails: payload.emails.filter((email) => email.email !== "") };++ await workspaceService+ .inviteWorkspace(workspace.slug, {+ emails: payload.emails.map((email) => ({+ email: email.email,+ role: email.role,+ })),+ })+ .then(async () => {+ captureSuccess({+ eventName: MEMBER_TRACKER_EVENTS.invite,+ payload: {+ workspace: workspace.slug,+ },+ });+ setToast({+ type: TOAST_TYPE.SUCCESS,+ title: "Success!",+ message: "Invitations sent successfully.",+ });++ await nextStep();+ })+ .catch((err) => {+ captureError({+ eventName: MEMBER_TRACKER_EVENTS.invite,+ payload: {+ workspace: workspace.slug,+ },+ error: err,+ });+ setToast({+ type: TOAST_TYPE.ERROR,+ title: "Error!",+ message: err?.error,+ });+ });+ };++ const appendField = () => {+ append({ email: "", role: 15, role_active: false });+ };++ useEffect(() => {+ if (fields.length === 0) {+ append(+ [+ { email: "", role: 15, role_active: false },+ { email: "", role: 15, role_active: false },+ { email: "", role: 15, role_active: false },+ ],+ {+ focusIndex: 0,+ }+ );+ }+ }, [fields, append]);++ return (+ <form+ className="flex flex-col gap-10"+ onSubmit={handleSubmit(onSubmit)}+ onKeyDown={(e) => {+ if (e.code === "Enter") e.preventDefault();+ }}+ >+ <CommonOnboardingHeader+ title="Invite your teammates"+ description="Work in plane happens best with your team. Invite them now to use Plane to its potential."+ />+ <div className="w-full text-sm py-4">+ <div className="group relative grid grid-cols-10 gap-4 mx-8 py-2">+ <div className="col-span-6 px-1 text-sm text-custom-text-200 font-medium">Email</div>+ <div className="col-span-4 px-1 text-sm text-custom-text-200 font-medium">Role</div>+ </div>+ <div className="mb-3 space-y-3 sm:space-y-4">+ {fields.map((field, index) => (+ <InviteMemberInput+ watch={watch}+ getValues={getValues}+ setValue={setValue}+ isInvitationDisabled={isInvitationDisabled}+ setIsInvitationDisabled={(value: boolean) => setIsInvitationDisabled(value)}+ control={control}+ errors={errors}+ field={field}+ fields={fields}+ index={index}+ remove={remove}+ key={field.id}+ />+ ))}+ </div>+ <button+ type="button"+ className="flex items-center mx-8 gap-1.5 bg-transparent text-sm font-medium text-custom-primary-100 outline-custom-primary-100"+ onClick={appendField}+ >+ <Plus className="h-4 w-4" strokeWidth={2} />+ Add another+ </button>+ </div>+ <div className="flex flex-col mx-auto px-8 sm:px-2 items-center justify-center gap-4 w-full">+ <Button+ variant="primary"+ type="submit"+ size="lg"+ className="w-full"+ disabled={isInvitationDisabled || !isValid || isSubmitting}+ data-ph-element={MEMBER_TRACKER_ELEMENTS.ONBOARDING_INVITE_MEMBER}+ >+ {isSubmitting ? <Spinner height="20px" width="20px" /> : "Continue"}+ </Button>+ <Button variant="link-neutral" size="lg" className="w-full" onClick={nextStep}>+ I’ll do it later+ </Button>+ </div>+ </form>+ );+});diff --git a/apps/web/core/components/onboarding/steps/usecase/index.ts b/apps/web/core/components/onboarding/steps/usecase/index.tsnew file mode 100644index 0000000000..1efe34c51e--- /dev/null+++ b/apps/web/core/components/onboarding/steps/usecase/index.ts@@ -0,0 +1 @@+export * from "./root";diff --git a/apps/web/core/components/onboarding/steps/usecase/root.tsx b/apps/web/core/components/onboarding/steps/usecase/root.tsxnew file mode 100644index 0000000000..97d39696ce--- /dev/null+++ b/apps/web/core/components/onboarding/steps/usecase/root.tsx@@ -0,0 +1,164 @@+"use client";++import {FC} from "react";+import { observer } from "mobx-react";+import { Controller, useForm } from "react-hook-form";+import { Check } from "lucide-react";+// plane imports+import { ONBOARDING_TRACKER_ELEMENTS, USER_TRACKER_EVENTS, USE_CASES } from "@plane/constants";+import { EOnboardingSteps, TUserProfile } from "@plane/types";+import { Button, TOAST_TYPE, setToast } from "@plane/ui";+import { cn } from "@plane/utils";+// helpers+import { captureError, captureSuccess, captureView } from "@/helpers/event-tracker.helper";+// hooks+import { useUserProfile } from "@/hooks/store";+// local imports+import { CommonOnboardingHeader } from "../common";+import { TProfileSetupFormValues } from "../profile/root";++type Props = {+ handleStepChange: (step: EOnboardingSteps, skipInvites?: boolean) => void;+};++const defaultValues = {+ use_case: "",+};++export const UseCaseSetupStep: FC<Props> = observer(({ handleStepChange }) => {+ // store hooks+ const { data: profile, updateUserProfile } = useUserProfile();+ // form info+ const {+ handleSubmit,+ control,+ formState: { errors, isSubmitting, isValid },+ } = useForm<TProfileSetupFormValues>({+ defaultValues: {+ ...defaultValues,+ use_case: profile?.use_case,+ },+ mode: "onChange",+ });++ // handle submit+ const handleSubmitUserPersonalization = async (formData: TProfileSetupFormValues) => {+ const profileUpdatePayload: Partial<TUserProfile> = {+ use_case: formData.use_case,+ };+ try {+ await Promise.all([+ updateUserProfile(profileUpdatePayload),+ // totalSteps > 2 && stepChange({ profile_complete: true }),+ ]);+ captureSuccess({+ eventName: USER_TRACKER_EVENTS.add_details,+ payload: {+ use_case: formData.use_case,+ },+ });+ setToast({+ type: TOAST_TYPE.SUCCESS,+ title: "Success",+ message: "Profile setup completed!",+ });+ } catch {+ captureError({+ eventName: USER_TRACKER_EVENTS.add_details,+ });+ setToast({+ type: TOAST_TYPE.ERROR,+ title: "Error",+ message: "Profile setup failed. Please try again!",+ });+ }+ };++ // on submit+ const onSubmit = async (formData: TProfileSetupFormValues) => {+ if (!profile) return;+ captureView({+ elementName: ONBOARDING_TRACKER_ELEMENTS.PROFILE_SETUP_FORM,+ });+ await handleSubmitUserPersonalization(formData).then(() => {+ handleStepChange(EOnboardingSteps.USE_CASE_SETUP);+ });+ };++ // handle skip+ const handleSkip = () => {+ handleStepChange(EOnboardingSteps.USE_CASE_SETUP);+ };++ // derived values+ const isButtonDisabled = !isSubmitting && isValid ? false : true;++ return (+ <form onSubmit={handleSubmit(onSubmit)} className="flex flex-col gap-10">+ {/* Header */}+ <CommonOnboardingHeader title="What brings you to Plane?" description="Tell us your goals and team size." />++ {/* Use Case Selection */}+ <div className="flex flex-col gap-3">+ <p className="text-sm font-medium text-custom-text-400">Select any</p>++ <Controller+ control={control}+ name="use_case"+ rules={{+ required: "This field is required",+ }}+ render={({ field: { value, onChange } }) => (+ <div className="flex flex-col gap-3">+ {USE_CASES.map((useCase) => {+ const isSelected = value === useCase;+ return (+ <button+ key={useCase}+ onClick={(e) => {+ e.preventDefault();+ e.stopPropagation();+ onChange(useCase);+ }}+ className={`w-full px-3 py-2 rounded-lg border transition-all duration-200 flex items-center gap-2 ${+ isSelected+ ? "border-custom-primary-100 bg-custom-primary-10 text-custom-primary-100"+ : "border-custom-border-200 hover:border-custom-border-300 text-custom-text-300"+ }`}+ >+ <span+ className={cn(`size-4 rounded border-2 flex items-center justify-center`, {+ "bg-custom-primary-100 border-custom-primary-100": isSelected,+ "border-custom-border-300": !isSelected,+ })}+ >+ <Check+ className={cn("w-3 h-3 text-white", {+ "opacity-100": isSelected,+ "opacity-0": !isSelected,+ })}+ />+ </span>++ <span className="font-medium">{useCase}</span>+ </button>+ );+ })}+ </div>+ )}+ />+ {errors.use_case && <span className="text-sm text-red-500">{errors.use_case.message}</span>}+ </div>++ {/* Action Buttons */}+ <div className="space-y-3">+ <Button variant="primary" type="submit" className="w-full" size="lg" disabled={isButtonDisabled}>+ Continue+ </Button>+ <Button variant="link-neutral" onClick={handleSkip} className="w-full" size="lg">+ Skip+ </Button>+ </div>+ </form>+ );+});diff --git a/apps/web/core/components/onboarding/steps/workspace/create.tsx b/apps/web/core/components/onboarding/steps/workspace/create.tsxnew file mode 100644index 0000000000..b14df36fd2--- /dev/null+++ b/apps/web/core/components/onboarding/steps/workspace/create.tsx@@ -0,0 +1,315 @@+"use client";++import React, { useState } from "react";+import { observer } from "mobx-react";+import { Controller, useForm } from "react-hook-form";+import { CircleCheck } from "lucide-react";+// plane imports+import {+ ORGANIZATION_SIZE,+ RESTRICTED_URLS,+ WORKSPACE_TRACKER_ELEMENTS,+ WORKSPACE_TRACKER_EVENTS,+} from "@plane/constants";+import { useTranslation } from "@plane/i18n";+import { IUser, IWorkspace } from "@plane/types";+import { Button, Spinner, TOAST_TYPE, setToast } from "@plane/ui";+import { cn } from "@plane/utils";+// helpers+import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";+// hooks+import { useUserProfile, useUserSettings, useWorkspace } from "@/hooks/store";+// plane-web imports+import { getIsWorkspaceCreationDisabled } from "@/plane-web/helpers/instance.helper";+import { WorkspaceService } from "@/plane-web/services";+// local components+import { CommonOnboardingHeader } from "../common";++type Props = {+ user: IUser | undefined;+ onComplete: (skipInvites?: boolean) => void;+ handleCurrentViewChange: () => void;+ hasInvitations?: boolean;+};++const workspaceService = new WorkspaceService();++export const WorkspaceCreateStep: React.FC<Props> = observer(+ ({ user, onComplete, handleCurrentViewChange, hasInvitations = false }) => {+ // states+ const [slugError, setSlugError] = useState(false);+ const [invalidSlug, setInvalidSlug] = useState(false);+ // plane hooks+ const { t } = useTranslation();+ // store hooks+ const { updateUserProfile } = useUserProfile();+ const { fetchCurrentUserSettings } = useUserSettings();+ const { createWorkspace, fetchWorkspaces } = useWorkspace();++ const isWorkspaceCreationEnabled = getIsWorkspaceCreationDisabled() === false;++ // form info+ const {+ handleSubmit,+ control,+ setValue,+ formState: { errors, isSubmitting, isValid },+ } = useForm<IWorkspace>({+ defaultValues: {+ name: "",+ slug: "",+ organization_size: "",+ },+ mode: "onChange",+ });++ const handleCreateWorkspace = async (formData: IWorkspace) => {+ if (isSubmitting) return;++ await workspaceService+ .workspaceSlugCheck(formData.slug)+ .then(async (res) => {+ if (res.status === true && !RESTRICTED_URLS.includes(formData.slug)) {+ setSlugError(false);+ await createWorkspace(formData)+ .then(async (workspaceResponse) => {+ setToast({+ type: TOAST_TYPE.SUCCESS,+ title: t("workspace_creation.toast.success.title"),+ message: t("workspace_creation.toast.success.message"),+ });+ captureSuccess({+ eventName: WORKSPACE_TRACKER_EVENTS.create,+ payload: { slug: formData.slug },+ });+ await fetchWorkspaces();+ await completeStep(workspaceResponse.id);+ onComplete(formData.organization_size === "Just myself");+ })+ .catch(() => {+ captureError({+ eventName: WORKSPACE_TRACKER_EVENTS.create,+ payload: { slug: formData.slug },+ error: new Error("Error creating workspace"),+ });+ setToast({+ type: TOAST_TYPE.ERROR,+ title: t("workspace_creation.toast.error.title"),+ message: t("workspace_creation.toast.error.message"),+ });+ });+ } else setSlugError(true);+ })+ .catch(() =>+ setToast({+ type: TOAST_TYPE.ERROR,+ title: t("workspace_creation.toast.error.title"),+ message: t("workspace_creation.toast.error.message"),+ })+ );+ };++ const completeStep = async (workspaceId: string) => {+ if (!user) return;+ await updateUserProfile({+ last_workspace_id: workspaceId,+ });+ await fetchCurrentUserSettings();+ };++ const isButtonDisabled = !isValid || invalidSlug || isSubmitting;++ if (!isWorkspaceCreationEnabled) {+ return (+ <div className="flex flex-col gap-10">+ <span className="text-center text-base text-custom-text-300">+ You don't seem to have any invites to a workspace and your instance admin has restricted creation of+ new workspaces. Please ask a workspace owner or admin to invite you to a workspace first and come back to+ this screen to join.+ </span>+ </div>+ );+ }+ return (+ <form className="flex flex-col gap-10" onSubmit={handleSubmit(handleCreateWorkspace)}>+ <CommonOnboardingHeader title="Create your workspace" description="All your work — unified." />++ <div className="flex flex-col gap-8">+ <div className="flex flex-col gap-2">+ <label+ className="text-sm text-custom-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"+ htmlFor="name"+ >+ {t("workspace_creation.form.name.label")}+ </label>+ <Controller+ control={control}+ name="name"+ rules={{+ required: t("common.errors.required"),+ validate: (value) =>+ /^[\w\s-]*$/.test(value) || t("workspace_creation.errors.validation.name_alphanumeric"),+ maxLength: {+ value: 80,+ message: t("workspace_creation.errors.validation.name_length"),+ },+ }}+ render={({ field: { value, ref, onChange } }) => (+ <div className="relative flex items-center rounded-md">+ <input+ id="name"+ name="name"+ type="text"+ value={value}+ onChange={(event) => {+ onChange(event.target.value);+ setValue("name", event.target.value);+ setValue("slug", event.target.value.toLocaleLowerCase().trim().replace(/ /g, "-"), {+ shouldValidate: true,+ });+ }}+ placeholder="Enter workspace name"+ ref={ref}+ className={cn(+ "w-full px-3 py-2 text-custom-text-200 border border-custom-border-300 rounded-md bg-custom-background-100 focus:outline-none focus:ring-2 focus:ring-custom-primary-100 placeholder:text-custom-text-400 focus:border-transparent transition-all duration-200",+ {+ "border-custom-border-300": !errors.name,+ "border-red-500": errors.name,+ }+ )}+ autoFocus+ />+ </div>+ )}+ />+ {errors.name && <span className="text-sm text-red-500">{errors.name.message}</span>}+ </div>+ <div className="flex flex-col gap-2">+ <label+ className="text-sm text-custom-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"+ htmlFor="slug"+ >+ {t("workspace_creation.form.url.label")}+ </label>+ <Controller+ control={control}+ name="slug"+ rules={{+ required: t("common.errors.required"),+ maxLength: {+ value: 48,+ message: t("workspace_creation.errors.validation.url_length"),+ },+ }}+ render={({ field: { value, ref, onChange } }) => (+ <div+ className={cn(+ "flex items-center w-full px-3 py-2 text-custom-text-200 border border-custom-border-300 rounded-md bg-custom-background-100 focus:outline-none focus:ring-2 focus:ring-custom-primary-100 focus:border-transparent transition-all duration-200",+ {+ "border-custom-border-300": !errors.name,+ "border-red-500": errors.name,+ }+ )}+ >+ <span className={cn("pr-0 text-custom-text-200 rounded-md whitespace-nowrap")}>+ {window && window.location.host}/+ </span>+ <input+ id="slug"+ name="slug"+ type="text"+ value={value.toLocaleLowerCase().trim().replace(/ /g, "-")}+ onChange={(e) => {+ if (/^[a-zA-Z0-9_-]+$/.test(e.target.value)) setInvalidSlug(false);+ else setInvalidSlug(true);+ onChange(e.target.value.toLowerCase());+ }}+ ref={ref}+ placeholder={t("workspace_creation.form.url.placeholder")}+ className={cn(+ "w-full px-3 py-0 pl-0 text-custom-text-200 border-none ring-none outline-none rounded-md bg-custom-background-100 placeholder:text-custom-text-400"+ )}+ />+ </div>+ )}+ />+ <p className="text-sm text-custom-text-300">{t("workspace_creation.form.url.edit_slug")}</p>+ {slugError && (+ <p className="-mt-3 text-sm text-red-500">+ {t("workspace_creation.errors.validation.url_already_taken")}+ </p>+ )}+ {invalidSlug && (+ <p className="text-sm text-red-500">{t("workspace_creation.errors.validation.url_alphanumeric")}</p>+ )}+ {errors.slug && <span className="text-sm text-red-500">{errors.slug.message}</span>}+ </div>+ <div className="flex flex-col gap-2">+ <label+ className="text-sm text-custom-text-300 font-medium after:content-['*'] after:ml-0.5 after:text-red-500"+ htmlFor="organization_size"+ >+ {t("workspace_creation.form.organization_size.label")}+ </label>+ <div className="w-full">+ <Controller+ name="organization_size"+ control={control}+ rules={{ required: t("common.errors.required") }}+ render={({ field: { value, onChange } }) => (+ <div className="flex flex-wrap gap-3">+ {ORGANIZATION_SIZE.map((size) => {+ const isSelected = value === size;+ return (+ <button+ key={size}+ onClick={(e) => {+ e.preventDefault();+ e.stopPropagation();+ onChange(size);+ }}+ className={`text-sm px-3 py-2 rounded-lg border transition-all duration-200 flex gap-1 items-center justify-between ${+ isSelected+ ? "border-custom-border-200 bg-custom-background-80 text-custom-text-200"+ : "border-custom-border-200 hover:border-custom-border-300 text-custom-text-300"+ }`}+ >+ <CircleCheck+ className={cn("size-4 text-custom-text-400", isSelected && "text-custom-text-200")}+ />++ <span className="font-medium">{size}</span>+ </button>+ );+ })}+ </div>+ )}+ />+ {errors.organization_size && (+ <span className="text-sm text-red-500">{errors.organization_size.message}</span>+ )}+ </div>+ </div>+ </div>++ <div className="flex flex-col gap-4">+ <Button+ data-ph-element={WORKSPACE_TRACKER_ELEMENTS.ONBOARDING_CREATE_WORKSPACE_BUTTON}+ variant="primary"+ type="submit"+ size="lg"+ className="w-full"+ disabled={isButtonDisabled}+ >+ {isSubmitting ? <Spinner height="20px" width="20px" /> : t("workspace_creation.button.default")}+ </Button>+ {hasInvitations && (+ <Button variant="link-neutral" size="lg" className="w-full" onClick={handleCurrentViewChange}>+ Join existing workspace+ </Button>+ )}+ </div>+ </form>+ );+ }+);diff --git a/apps/web/core/components/onboarding/steps/workspace/index.ts b/apps/web/core/components/onboarding/steps/workspace/index.tsnew file mode 100644index 0000000000..2cce58b07f--- /dev/null+++ b/apps/web/core/components/onboarding/steps/workspace/index.ts@@ -0,0 +1,3 @@+export * from "./create";+export * from "./join-invites";+export * from "./root";diff --git a/apps/web/core/components/onboarding/steps/workspace/join-invites.tsx b/apps/web/core/components/onboarding/steps/workspace/join-invites.tsxnew file mode 100644index 0000000000..680661eb50--- /dev/null+++ b/apps/web/core/components/onboarding/steps/workspace/join-invites.tsx@@ -0,0 +1,135 @@+"use client";++import React, { useState } from "react";+// plane imports+import { MEMBER_TRACKER_ELEMENTS, MEMBER_TRACKER_EVENTS, ROLE } from "@plane/constants";+import { IWorkspaceMemberInvitation } from "@plane/types";+import { Button, Checkbox, Spinner } from "@plane/ui";+import { truncateText } from "@plane/utils";+// constants+import { WorkspaceLogo } from "@/components/workspace/logo";+// helpers+import { captureError, captureSuccess } from "@/helpers/event-tracker.helper";+// hooks+import { useUserSettings, useWorkspace } from "@/hooks/store";+// services+import { WorkspaceService } from "@/plane-web/services";+// local components+import { CommonOnboardingHeader } from "../common";++type Props = {+ invitations: IWorkspaceMemberInvitation[];+ handleNextStep: () => Promise<void>;+ handleCurrentViewChange: () => void;+};+const workspaceService = new WorkspaceService();++export const WorkspaceJoinInvitesStep: React.FC<Props> = (props) => {+ const { invitations, handleNextStep, handleCurrentViewChange } = props;+ // states+ const [isJoiningWorkspaces, setIsJoiningWorkspaces] = useState(false);+ const [invitationsRespond, setInvitationsRespond] = useState<string[]>([]);+ // store hooks+ const { fetchWorkspaces } = useWorkspace();+ const { fetchCurrentUserSettings } = useUserSettings();++ // handle invitation+ const handleInvitation = (workspace_invitation: IWorkspaceMemberInvitation, action: "accepted" | "withdraw") => {+ if (action === "accepted") {+ setInvitationsRespond((prevData) => [...prevData, workspace_invitation.id]);+ } else if (action === "withdraw") {+ setInvitationsRespond((prevData) => prevData.filter((item: string) => item !== workspace_invitation.id));+ }+ };++ // submit invitations+ const submitInvitations = async () => {+ const invitation = invitations?.find((invitation) => invitation.id === invitationsRespond[0]);++ if (invitationsRespond.length <= 0 && !invitation?.role) return;++ setIsJoiningWorkspaces(true);++ try {+ await workspaceService.joinWorkspaces({ invitations: invitationsRespond });+ captureSuccess({+ eventName: MEMBER_TRACKER_EVENTS.accept,+ payload: {+ member_id: invitation?.id,+ },+ });+ await fetchWorkspaces();+ await fetchCurrentUserSettings();+ await handleNextStep();+ } catch (error: any) {+ console.error(error);+ captureError({+ eventName: MEMBER_TRACKER_EVENTS.accept,+ payload: {+ member_id: invitation?.id,+ },+ error: error,+ });+ setIsJoiningWorkspaces(false);+ }+ };++ return invitations && invitations.length > 0 ? (+ <div className="flex flex-col gap-10">+ <CommonOnboardingHeader title="Join invites or create a workspace" description="All your work — unified." />+ <div className="flex flex-col gap-3">+ {invitations &&+ invitations.length > 0 &&+ invitations.map((invitation) => {+ const isSelected = invitationsRespond.includes(invitation.id);+ const invitedWorkspace = invitation.workspace;+ return (+ <div+ key={invitation.id}+ className={`flex cursor-pointer items-center gap-2 rounded-lg border px-3 py-2 border-custom-border-200 hover:bg-custom-background-90`}+ onClick={() => handleInvitation(invitation, isSelected ? "withdraw" : "accepted")}+ >+ <div className="flex-shrink-0">+ <WorkspaceLogo+ logo={invitedWorkspace?.logo_url}+ name={invitedWorkspace?.name}+ classNames="size-8 flex-shrink-0 rounded-lg"+ />+ </div>+ <div className="min-w-0 flex-1">+ <div className="text-sm font-medium">{truncateText(invitedWorkspace?.name, 30)}</div>+ <p className="text-xs text-custom-text-200">{ROLE[invitation.role]}</p>+ </div>+ <span className={`flex-shrink-0`}>+ <Checkbox checked={isSelected} />+ </span>+ </div>+ );+ })}+ </div>+ <div className="flex flex-col gap-4">+ <Button+ variant="primary"+ size="lg"+ className="w-full"+ onClick={submitInvitations}+ disabled={isJoiningWorkspaces || !invitationsRespond.length}+ data-ph-element={MEMBER_TRACKER_ELEMENTS.ONBOARDING_JOIN_WORKSPACE}+ >+ {isJoiningWorkspaces ? <Spinner height="20px" width="20px" /> : "Continue"}+ </Button>+ <Button+ variant="link-neutral"+ size="lg"+ className="w-full"+ onClick={handleCurrentViewChange}+ disabled={isJoiningWorkspaces}+ >+ Create new workspace+ </Button>+ </div>+ </div>+ ) : (+ <div>No Invitations found</div>+ );+};diff --git a/apps/web/core/components/onboarding/steps/workspace/root.tsx b/apps/web/core/components/onboarding/steps/workspace/root.tsxnew file mode 100644index 0000000000..e2043f4d1a--- /dev/null+++ b/apps/web/core/components/onboarding/steps/workspace/root.tsx@@ -0,0 +1,51 @@+"use client";++import React, { useEffect, useState } from "react";+import { observer } from "mobx-react";+// plane imports+import { ECreateOrJoinWorkspaceViews, EOnboardingSteps, IWorkspaceMemberInvitation } from "@plane/types";+// hooks+import { useUser } from "@/hooks/store";+// local components+import { WorkspaceCreateStep, WorkspaceJoinInvitesStep } from "./";++type Props = {+ invitations: IWorkspaceMemberInvitation[];+ handleStepChange: (step: EOnboardingSteps, skipInvites?: boolean) => void;+};++export const WorkspaceSetupStep: React.FC<Props> = observer(({ invitations, handleStepChange }) => {+ // states+ const [currentView, setCurrentView] = useState<ECreateOrJoinWorkspaceViews | null>(null);+ // store hooks+ const { data: user } = useUser();++ useEffect(() => {+ if (invitations.length > 0) {+ setCurrentView(ECreateOrJoinWorkspaceViews.WORKSPACE_JOIN);+ } else {+ setCurrentView(ECreateOrJoinWorkspaceViews.WORKSPACE_CREATE);+ }+ }, [invitations]);++ return (+ <>+ {currentView === ECreateOrJoinWorkspaceViews.WORKSPACE_JOIN ? (+ <WorkspaceJoinInvitesStep+ invitations={invitations}+ handleNextStep={async () => {+ handleStepChange(EOnboardingSteps.WORKSPACE_CREATE_OR_JOIN, true);+ }}+ handleCurrentViewChange={() => setCurrentView(ECreateOrJoinWorkspaceViews.WORKSPACE_CREATE)}+ />+ ) : (+ <WorkspaceCreateStep+ user={user}+ onComplete={(skipInvites) => handleStepChange(EOnboardingSteps.WORKSPACE_CREATE_OR_JOIN, skipInvites)}+ handleCurrentViewChange={() => setCurrentView(ECreateOrJoinWorkspaceViews.WORKSPACE_JOIN)}+ hasInvitations={invitations.length > 0}+ />+ )}+ </>+ );+});diff --git a/apps/web/core/components/onboarding/switch-account-dropdown.tsx b/apps/web/core/components/onboarding/switch-account-dropdown.tsxindex 4769966ffc..c8c19b8113 100644--- a/apps/web/core/components/onboarding/switch-account-dropdown.tsx+++ b/apps/web/core/components/onboarding/switch-account-dropdown.tsx@@ -2,10 +2,8 @@import { FC, useState } from "react";import { observer } from "mobx-react";-import { ChevronDown } from "lucide-react";import { Menu, Transition } from "@headlessui/react";// ui-import { Avatar } from "@plane/ui";import { cn, getFileURL } from "@plane/utils";// helpers// hooks@@ -30,50 +28,50 @@ export const SwitchAccountDropdown: FC<TSwitchAccountDropdownProps> = observer((? fullName: user?.email;+ if (!displayName && !fullName) return null;+return (- <div className="flex w-full shrink-0 justify-end">+ <><SwitchAccountModal isOpen={showSwitchAccountModal} onClose={() => setShowSwitchAccountModal(false)} />- <div className="flex items-center gap-x-2 pr-4 z-10">- {user?.avatar_url && (- <Avatar- name={displayName}- src={getFileURL(user?.avatar_url)}- size={24}- shape="square"- fallbackBackgroundColor="#FCBE1D"- className="!text-base capitalize"- />- )}- <Menu as="div" className="relative">- <Menu.Button className="flex items-center gap-x-1 z-10">- <span className="text-sm font-medium text-custom-text-200">{displayName}</span>- <ChevronDown className="h-4 w-4 text-custom-text-300" />- </Menu.Button>- <Transition- enter="transition duration-100 ease-out"- enterFrom="transform scale-95 opacity-0"- enterTo="transform scale-100 opacity-100"- leave="transition duration-75 ease-out"- leaveFrom="transform scale-100 opacity-100"- leaveTo="transform scale-95 opacity-0"- >- <Menu.Items className="absolute z-10 right-0 rounded-md border-[0.5px] border-custom-border-300 mt-2 bg-custom-background-100 px-2 py-2.5 text-sm min-w-[12rem] shadow-custom-shadow-rg">- <Menu.Item- as="button"- type="button"- className={({ active }) =>- cn("text-red-500 px-1 py-1.5 whitespace-nowrap text-left rounded w-full", {- "bg-custom-background-80": active,- })- }- onClick={() => setShowSwitchAccountModal(true)}- >- Wrong e-mail address?- </Menu.Item>- </Menu.Items>- </Transition>- </Menu>- </div>- </div>+ <Menu as="div" className="relative">+ <Menu.Button className="flex items-center gap-x-2.5 px-2 py-1.5 rounded-lg bg-custom-background-90 z-10">+ <div className="size-6 rounded-full bg-green-700 flex items-center justify-center text-white font-semibold text-sm capitalize">+ {user?.avatar_url ? (+ <img+ src={getFileURL(user?.avatar_url)}+ alt={user?.display_name}+ className="w-full h-full rounded-full object-cover"+ />+ ) : (+ <>{fullName?.[0] ?? "R"}</>+ )}+ </div>+ <span className="text-sm font-medium text-custom-text-200">{displayName}</span>+ </Menu.Button>+ <Transition+ enter="transition duration-100 ease-out"+ enterFrom="transform scale-95 opacity-0"+ enterTo="transform scale-100 opacity-100"+ leave="transition duration-75 ease-out"+ leaveFrom="transform scale-100 opacity-100"+ leaveTo="transform scale-95 opacity-0"+ >+ <Menu.Items className="absolute z-10 right-0 rounded-md border-[0.5px] border-custom-border-300 mt-2 bg-custom-background-100 px-2 py-2.5 text-sm min-w-[12rem] shadow-custom-shadow-rg">+ <Menu.Item+ as="button"+ type="button"+ className={({ active }) =>+ cn("text-red-500 px-1 py-1.5 whitespace-nowrap text-left rounded w-full", {+ "bg-custom-background-80": active,+ })+ }+ onClick={() => setShowSwitchAccountModal(true)}+ >+ Wrong e-mail address?+ </Menu.Item>+ </Menu.Items>+ </Transition>+ </Menu>+ </>);});diff --git a/apps/web/core/components/onboarding/switch-account-modal.tsx b/apps/web/core/components/onboarding/switch-account-modal.tsxindex c4c36fe36a..e42257a5ef 100644--- a/apps/web/core/components/onboarding/switch-account-modal.tsx+++ b/apps/web/core/components/onboarding/switch-account-modal.tsx@@ -86,11 +86,11 @@ export const SwitchAccountModal: React.FC<Props> = (props) => {</div></div><div className="flex flex-col py-3 gap-y-6">- <Dialog.Title as="h3" className="text-2xl font-medium leading-6 text-onboarding-text-100">+ <Dialog.Title as="h3" className="text-2xl font-medium leading-6 text-custom-text-100">Switch account</Dialog.Title>{userData?.email && (- <div className="text-base font-normal text-onboarding-text-200">+ <div className="text-base font-normal text-custom-text-200">If you have signed up via <span className="text-custom-primary-100">{userData.email}</span>{" "}un-intentionally, you can switch your account to a different one from here.</div>diff --git a/apps/web/core/components/onboarding/tour/root.tsx b/apps/web/core/components/onboarding/tour/root.tsxindex 167ee752f5..529232b443 100644--- a/apps/web/core/components/onboarding/tour/root.tsx+++ b/apps/web/core/components/onboarding/tour/root.tsx@@ -6,7 +6,7 @@ import Image, { StaticImageData } from "next/image";import { X } from "lucide-react";// uiimport { PRODUCT_TOUR_TRACKER_ELEMENTS } from "@plane/constants";-import { Button } from "@plane/ui";+import { Button, PlaneLockup } from "@plane/ui";// componentsimport { TourSidebar } from "@/components/onboarding";// constants@@ -19,7 +19,6 @@ import IssuesTour from "@/public/onboarding/issues.webp";import ModulesTour from "@/public/onboarding/modules.webp";import PagesTour from "@/public/onboarding/pages.webp";import ViewsTour from "@/public/onboarding/views.webp";-import PlaneWhiteLogo from "@/public/plane-logos/white-horizontal.svg";// constants@@ -97,7 +96,7 @@ export const TourRoot: React.FC<Props> = observer((props) => {<div className="h-3/4 w-4/5 overflow-hidden rounded-[10px] bg-custom-background-100 md:w-1/2 lg:w-2/5"><div className="h-full overflow-hidden"><div className="grid h-3/5 place-items-center bg-custom-primary-100">- <Image src={PlaneWhiteLogo} alt="Plane White Logo" />+ <PlaneLockup className="h-10 w-auto text-custom-text-100" /></div><div className="flex h-2/5 flex-col overflow-y-auto p-6"><h3 className="font-semibold sm:text-xl">diff --git a/apps/web/core/components/pages/pages-list-main-content.tsx b/apps/web/core/components/pages/pages-list-main-content.tsxindex 625f35244c..c5e466e892 100644--- a/apps/web/core/components/pages/pages-list-main-content.tsx+++ b/apps/web/core/components/pages/pages-list-main-content.tsx@@ -12,9 +12,6 @@ import { useCommandPalette, useUserPermissions } from "@/hooks/store";import { useResolvedAssetPath } from "@/hooks/use-resolved-asset-path";// plane web hooksimport { EPageStoreType, usePageStore } from "@/plane-web/hooks/store";-// assets-import AllFiltersImage from "@/public/empty-state/pages/all-filters.svg";-import NameFilterImage from "@/public/empty-state/pages/name-filter.svg";type Props = {children: React.ReactNode;@@ -50,6 +47,11 @@ export const PagesListMainContent: React.FC<Props> = observer((props) => {const archivedPageResolvedPath = useResolvedAssetPath({basePath: "/empty-state/pages/archived",});+ const resolvedFiltersImage = useResolvedAssetPath({ basePath: "/empty-state/pages/all-filters", extension: "svg" });+ const resolvedNameFilterImage = useResolvedAssetPath({+ basePath: "/empty-state/pages/name-filter",+ extension: "svg",+ });if (loader === "init-loader") return <PageLoader />;// if no pages exist in the active page type@@ -118,7 +120,7 @@ export const PagesListMainContent: React.FC<Props> = observer((props) => {<div className="h-full w-full grid place-items-center"><div className="text-center"><Image- src={filters.searchQuery.length > 0 ? NameFilterImage : AllFiltersImage}+ src={filters.searchQuery.length > 0 ? resolvedNameFilterImage : resolvedFiltersImage}className="h-36 sm:h-48 w-36 sm:w-48 mx-auto"alt="No matching modules"/>diff --git a/apps/web/core/components/project/card-list.tsx b/apps/web/core/components/project/card-list.tsxindex d2c1f7dad8..87a5520329 100644--- a/apps/web/core/components/project/card-list.tsx+++ b/apps/web/core/components/project/card-list.tsx@@ -12,9 +12,6 @@ import { captureClick } from "@/helpers/event-tracker.helper";// hooksimport { useCommandPalette, useProject, useProjectFilter, useUserPermissions } from "@/hooks/store";import { useResolvedAssetPath } from "@/hooks/use-resolved-asset-path";-// assets-import AllFiltersImage from "@/public/empty-state/project/all-filters.svg";-import NameFilterImage from "@/public/empty-state/project/name-filter.svg";type TProjectCardListProps = {totalProjectIds?: string[];@@ -39,6 +36,14 @@ export const ProjectCardList = observer((props: TProjectCardListProps) => {// helper hooksconst resolvedPath = useResolvedAssetPath({ basePath: "/empty-state/onboarding/projects" });+ const resolvedFiltersImage = useResolvedAssetPath({+ basePath: "/empty-state/project/all-filters",+ extension: "svg",+ });+ const resolvedNameFilterImage = useResolvedAssetPath({+ basePath: "/empty-state/project/name-filter",+ extension: "svg",+ });// derived valuesconst workspaceProjectIds = totalProjectIdsProps ?? storeWorkspaceProjectIds;@@ -79,7 +84,7 @@ export const ProjectCardList = observer((props: TProjectCardListProps) => {<div className="grid h-full w-full place-items-center"><div className="text-center"><Image- src={searchQuery.trim() === "" ? AllFiltersImage : NameFilterImage}+ src={searchQuery.trim() === "" ? resolvedFiltersImage : resolvedNameFilterImage}className="mx-auto h-36 w-36 sm:h-48 sm:w-48"alt="No matching projects"/>diff --git a/apps/web/core/components/workspace/logo.tsx b/apps/web/core/components/workspace/logo.tsxindex 77b6ed97db..94eb7364a2 100644--- a/apps/web/core/components/workspace/logo.tsx+++ b/apps/web/core/components/workspace/logo.tsx@@ -17,7 +17,7 @@ export const WorkspaceLogo = observer((props: Props) => {<divclassName={cn(`relative grid h-6 w-6 flex-shrink-0 place-items-center uppercase ${- !props.logo && "rounded bg-custom-primary-500 text-white"+ !props.logo && "rounded bg-[#026292] text-white"} ${props.classNames ? props.classNames : ""}`)}>diff --git a/apps/web/core/components/workspace/settings/workspace-details.tsx b/apps/web/core/components/workspace/settings/workspace-details.tsxindex 577f5acd0b..da3dbe3d13 100644--- a/apps/web/core/components/workspace/settings/workspace-details.tsx+++ b/apps/web/core/components/workspace/settings/workspace-details.tsx@@ -167,7 +167,7 @@ export const WorkspaceDetails: FC = observer(() => {/></div>) : (- <div className="relative flex h-14 w-14 items-center justify-center rounded bg-gray-700 p-4 uppercase text-white">+ <div className="relative flex h-14 w-14 items-center justify-center rounded bg-[#026292] p-4 uppercase text-white">{currentWorkspace?.name?.charAt(0) ?? "N"}</div>)}diff --git a/apps/web/core/components/workspace/sidebar/dropdown-item.tsx b/apps/web/core/components/workspace/sidebar/dropdown-item.tsxindex 97d2263073..f15c0b3e49 100644--- a/apps/web/core/components/workspace/sidebar/dropdown-item.tsx+++ b/apps/web/core/components/workspace/sidebar/dropdown-item.tsx@@ -49,7 +49,7 @@ const SidebarDropdownItem = observer((props: TProps) => {<div className="flex items-center justify-start gap-2.5 w-[80%] relative"><spanclassName={`relative flex h-8 w-8 flex-shrink-0 items-center justify-center p-2 text-base uppercase font-medium border-custom-border-200 ${- !workspace?.logo_url && "rounded-md bg-custom-primary-500 text-white"+ !workspace?.logo_url && "rounded-md bg-[#026292] text-white"}`}>{workspace?.logo_url && workspace.logo_url !== "" ? (diff --git a/apps/web/core/components/workspace/sidebar/user-menu-root.tsx b/apps/web/core/components/workspace/sidebar/user-menu-root.tsxindex 1dda949959..4a874c9e94 100644--- a/apps/web/core/components/workspace/sidebar/user-menu-root.tsx+++ b/apps/web/core/components/workspace/sidebar/user-menu-root.tsx@@ -103,7 +103,7 @@ export const UserMenuRoot = observer((props: Props) => {{...attributes.popper}><div className="flex flex-col gap-2.5 pb-2">- <span className="px-2 text-custom-sidebar-text-200">{currentUser?.email}</span>+ <span className="px-2 text-custom-sidebar-text-200 truncate">{currentUser?.email}</span><Link href={`/${workspaceSlug}/settings/account`}><Menu.Item as="div"><span className="flex w-full items-center gap-2 rounded px-2 py-1 hover:bg-custom-sidebar-background-80">diff --git a/apps/web/core/layouts/auth-layout/workspace-wrapper.tsx b/apps/web/core/layouts/auth-layout/workspace-wrapper.tsxindex c711870d4d..42d7d46548 100644--- a/apps/web/core/layouts/auth-layout/workspace-wrapper.tsx+++ b/apps/web/core/layouts/auth-layout/workspace-wrapper.tsx@@ -11,7 +11,7 @@ import useSWRImmutable from "swr/immutable";// uiimport { LogOut } from "lucide-react";import { EUserPermissions, EUserPermissionsLevel } from "@plane/constants";-import { Button, getButtonStyling, setToast, TOAST_TYPE, Tooltip } from "@plane/ui";+import { Button, getButtonStyling, PlaneLogo, setToast, TOAST_TYPE, Tooltip } from "@plane/ui";// componentsimport { cn } from "@plane/utils";import { LogoSpinner } from "@/components/common";@@ -150,7 +150,7 @@ export const WorkspaceAuthWrapper: FC<IWorkspaceAuthWrapper> = observer((props)<div className="container relative mx-auto flex h-full w-full flex-col overflow-hidden overflow-y-auto px-5 py-14 md:px-0"><div className="relative flex flex-shrink-0 items-center justify-between gap-4"><div className="z-10 flex-shrink-0 bg-custom-background-90 py-4">- <Image src={planeLogo} height={26} className="h-[26px]" alt="Plane logo" />+ <PlaneLogo className="h-9 w-auto text-custom-text-100" /></div><div className="relative flex items-center gap-2"><div className="text-sm font-medium">{currentUser?.email}</div>diff --git a/apps/web/core/lib/n-progress/AppProgressBar.tsx b/apps/web/core/lib/n-progress/AppProgressBar.tsxindex ffbcd79458..9c3ce57032 100644--- a/apps/web/core/lib/n-progress/AppProgressBar.tsx+++ b/apps/web/core/lib/n-progress/AppProgressBar.tsx@@ -10,7 +10,7 @@ type PushStateInput = [data: any, unused: string, url?: string | URL | null | unexport const AppProgressBar = React.memo(({- color = "#0A2FFF",+ color = "rgb(var(--color-primary-100))",height = "2px",options,shallowRouting = false,diff --git a/apps/web/core/store/user/profile.store.ts b/apps/web/core/store/user/profile.store.tsindex 6c7d12545d..386f1af38f 100644--- a/apps/web/core/store/user/profile.store.ts+++ b/apps/web/core/store/user/profile.store.ts@@ -56,6 +56,7 @@ export class ProfileStore implements IUserProfileStore {billing_address_country: undefined,billing_address: undefined,has_billing_address: false,+ has_marketing_email_consent: false,created_at: "",updated_at: "",language: "",diff --git a/apps/web/public/empty-state/all-issues/all-issues-dark.webp b/apps/web/public/empty-state/all-issues/all-issues-dark.webpindex 6221d397fe..f570ad5026 100644Binary files a/apps/web/public/empty-state/all-issues/all-issues-dark.webp and b/apps/web/public/empty-state/all-issues/all-issues-dark.webp differdiff --git a/apps/web/public/empty-state/all-issues/all-issues-light.webp b/apps/web/public/empty-state/all-issues/all-issues-light.webpindex bb7e862942..eba388d028 100644Binary files a/apps/web/public/empty-state/all-issues/all-issues-light.webp and b/apps/web/public/empty-state/all-issues/all-issues-light.webp differdiff --git a/apps/web/public/empty-state/all-issues/assigned-dark.webp b/apps/web/public/empty-state/all-issues/assigned-dark.webpindex 21b9162a58..23bc60acea 100644Binary files a/apps/web/public/empty-state/all-issues/assigned-dark.webp and b/apps/web/public/empty-state/all-issues/assigned-dark.webp differdiff --git a/apps/web/public/empty-state/all-issues/assigned-light.webp b/apps/web/public/empty-state/all-issues/assigned-light.webpindex 8e9247850e..f48b9cf7bd 100644Binary files a/apps/web/public/empty-state/all-issues/assigned-light.webp and b/apps/web/public/empty-state/all-issues/assigned-light.webp differdiff --git a/apps/web/public/empty-state/all-issues/created-dark.webp b/apps/web/public/empty-state/all-issues/created-dark.webpindex 1e2b9abafe..69d35fc107 100644Binary files a/apps/web/public/empty-state/all-issues/created-dark.webp and b/apps/web/public/empty-state/all-issues/created-dark.webp differdiff --git a/apps/web/public/empty-state/all-issues/created-light.webp b/apps/web/public/empty-state/all-issues/created-light.webpindex 17d33cd013..be4f67d670 100644Binary files a/apps/web/public/empty-state/all-issues/created-light.webp and b/apps/web/public/empty-state/all-issues/created-light.webp differdiff --git a/apps/web/public/empty-state/all-issues/custom-view-dark.webp b/apps/web/public/empty-state/all-issues/custom-view-dark.webpindex 2127ef965f..48dec16a91 100644Binary files a/apps/web/public/empty-state/all-issues/custom-view-dark.webp and b/apps/web/public/empty-state/all-issues/custom-view-dark.webp differdiff --git a/apps/web/public/empty-state/all-issues/custom-view-light.webp b/apps/web/public/empty-state/all-issues/custom-view-light.webpindex 110a08c25b..53b551c7b4 100644Binary files a/apps/web/public/empty-state/all-issues/custom-view-light.webp and b/apps/web/public/empty-state/all-issues/custom-view-light.webp differdiff --git a/apps/web/public/empty-state/all-issues/no-project-dark.webp b/apps/web/public/empty-state/all-issues/no-project-dark.webpindex a6501a1eab..641ec828d6 100644Binary files a/apps/web/public/empty-state/all-issues/no-project-dark.webp and b/apps/web/public/empty-state/all-issues/no-project-dark.webp differdiff --git a/apps/web/public/empty-state/all-issues/no-project-light.webp b/apps/web/public/empty-state/all-issues/no-project-light.webpindex d1f5532489..1c7a810f57 100644Binary files a/apps/web/public/empty-state/all-issues/no-project-light.webp and b/apps/web/public/empty-state/all-issues/no-project-light.webp differdiff --git a/apps/web/public/empty-state/all-issues/subscribed-dark.webp b/apps/web/public/empty-state/all-issues/subscribed-dark.webpindex fbc5270e84..68b3b30b3b 100644Binary files a/apps/web/public/empty-state/all-issues/subscribed-dark.webp and b/apps/web/public/empty-state/all-issues/subscribed-dark.webp differdiff --git a/apps/web/public/empty-state/all-issues/subscribed-light.webp b/apps/web/public/empty-state/all-issues/subscribed-light.webpindex 216c423939..4dbbedca00 100644Binary files a/apps/web/public/empty-state/all-issues/subscribed-light.webp and b/apps/web/public/empty-state/all-issues/subscribed-light.webp differdiff --git a/apps/web/public/empty-state/archived/empty-issues-dark.webp b/apps/web/public/empty-state/archived/empty-issues-dark.webpindex 01abef1fee..c18e94629a 100644Binary files a/apps/web/public/empty-state/archived/empty-issues-dark.webp and b/apps/web/public/empty-state/archived/empty-issues-dark.webp differdiff --git a/apps/web/public/empty-state/archived/empty-issues-light.webp b/apps/web/public/empty-state/archived/empty-issues-light.webpindex f010155fc9..d99a5017ea 100644Binary files a/apps/web/public/empty-state/archived/empty-issues-light.webp and b/apps/web/public/empty-state/archived/empty-issues-light.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/calendar-dark-resp.webp b/apps/web/public/empty-state/cycle-issues/calendar-dark-resp.webpindex 8ef6659090..5f0c21979c 100644Binary files a/apps/web/public/empty-state/cycle-issues/calendar-dark-resp.webp and b/apps/web/public/empty-state/cycle-issues/calendar-dark-resp.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/calendar-dark.webp b/apps/web/public/empty-state/cycle-issues/calendar-dark.webpindex 1ad89607dd..312b138904 100644Binary files a/apps/web/public/empty-state/cycle-issues/calendar-dark.webp and b/apps/web/public/empty-state/cycle-issues/calendar-dark.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/calendar-light-resp.webp b/apps/web/public/empty-state/cycle-issues/calendar-light-resp.webpindex 0706693b88..556a450808 100644Binary files a/apps/web/public/empty-state/cycle-issues/calendar-light-resp.webp and b/apps/web/public/empty-state/cycle-issues/calendar-light-resp.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/calendar-light.webp b/apps/web/public/empty-state/cycle-issues/calendar-light.webpindex c844daf5a9..aef2ff176e 100644Binary files a/apps/web/public/empty-state/cycle-issues/calendar-light.webp and b/apps/web/public/empty-state/cycle-issues/calendar-light.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/gantt_chart-dark-resp.webp b/apps/web/public/empty-state/cycle-issues/gantt_chart-dark-resp.webpindex d824ba289e..e2eda05289 100644Binary files a/apps/web/public/empty-state/cycle-issues/gantt_chart-dark-resp.webp and b/apps/web/public/empty-state/cycle-issues/gantt_chart-dark-resp.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/gantt_chart-dark.webp b/apps/web/public/empty-state/cycle-issues/gantt_chart-dark.webpindex d03aac9e0e..d2a9dfbb5c 100644Binary files a/apps/web/public/empty-state/cycle-issues/gantt_chart-dark.webp and b/apps/web/public/empty-state/cycle-issues/gantt_chart-dark.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/gantt_chart-light-resp.webp b/apps/web/public/empty-state/cycle-issues/gantt_chart-light-resp.webpindex 6309d98541..1a915d32d4 100644Binary files a/apps/web/public/empty-state/cycle-issues/gantt_chart-light-resp.webp and b/apps/web/public/empty-state/cycle-issues/gantt_chart-light-resp.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/gantt_chart-light.webp b/apps/web/public/empty-state/cycle-issues/gantt_chart-light.webpindex b77192863b..9dcbdd6f46 100644Binary files a/apps/web/public/empty-state/cycle-issues/gantt_chart-light.webp and b/apps/web/public/empty-state/cycle-issues/gantt_chart-light.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/kanban-dark-resp.webp b/apps/web/public/empty-state/cycle-issues/kanban-dark-resp.webpindex f2ce02bfa8..227dd488e7 100644Binary files a/apps/web/public/empty-state/cycle-issues/kanban-dark-resp.webp and b/apps/web/public/empty-state/cycle-issues/kanban-dark-resp.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/kanban-dark.webp b/apps/web/public/empty-state/cycle-issues/kanban-dark.webpindex 19785a8ba8..b161dbc7dc 100644Binary files a/apps/web/public/empty-state/cycle-issues/kanban-dark.webp and b/apps/web/public/empty-state/cycle-issues/kanban-dark.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/kanban-light-resp.webp b/apps/web/public/empty-state/cycle-issues/kanban-light-resp.webpindex 355b007ebb..c377068c70 100644Binary files a/apps/web/public/empty-state/cycle-issues/kanban-light-resp.webp and b/apps/web/public/empty-state/cycle-issues/kanban-light-resp.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/kanban-light.webp b/apps/web/public/empty-state/cycle-issues/kanban-light.webpindex c22f8308cd..0958f212af 100644Binary files a/apps/web/public/empty-state/cycle-issues/kanban-light.webp and b/apps/web/public/empty-state/cycle-issues/kanban-light.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/list-dark-resp.webp b/apps/web/public/empty-state/cycle-issues/list-dark-resp.webpindex c631e36bf9..4088595c25 100644Binary files a/apps/web/public/empty-state/cycle-issues/list-dark-resp.webp and b/apps/web/public/empty-state/cycle-issues/list-dark-resp.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/list-dark.webp b/apps/web/public/empty-state/cycle-issues/list-dark.webpindex 89a83d9f81..7e9f8c6547 100644Binary files a/apps/web/public/empty-state/cycle-issues/list-dark.webp and b/apps/web/public/empty-state/cycle-issues/list-dark.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/list-light-resp.webp b/apps/web/public/empty-state/cycle-issues/list-light-resp.webpindex 5d54bc6b3d..862544a056 100644Binary files a/apps/web/public/empty-state/cycle-issues/list-light-resp.webp and b/apps/web/public/empty-state/cycle-issues/list-light-resp.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/list-light.webp b/apps/web/public/empty-state/cycle-issues/list-light.webpindex 2769501a99..fb01bff1dd 100644Binary files a/apps/web/public/empty-state/cycle-issues/list-light.webp and b/apps/web/public/empty-state/cycle-issues/list-light.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/spreadsheet-dark-resp.webp b/apps/web/public/empty-state/cycle-issues/spreadsheet-dark-resp.webpindex 9c4ecbd877..baccb3fb75 100644Binary files a/apps/web/public/empty-state/cycle-issues/spreadsheet-dark-resp.webp and b/apps/web/public/empty-state/cycle-issues/spreadsheet-dark-resp.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/spreadsheet-dark.webp b/apps/web/public/empty-state/cycle-issues/spreadsheet-dark.webpindex f4015a0262..6f6036198a 100644Binary files a/apps/web/public/empty-state/cycle-issues/spreadsheet-dark.webp and b/apps/web/public/empty-state/cycle-issues/spreadsheet-dark.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/spreadsheet-light-resp.webp b/apps/web/public/empty-state/cycle-issues/spreadsheet-light-resp.webpindex 89c90d4e86..c7889d6680 100644Binary files a/apps/web/public/empty-state/cycle-issues/spreadsheet-light-resp.webp and b/apps/web/public/empty-state/cycle-issues/spreadsheet-light-resp.webp differdiff --git a/apps/web/public/empty-state/cycle-issues/spreadsheet-light.webp b/apps/web/public/empty-state/cycle-issues/spreadsheet-light.webpindex 055638b428..0f35b4ebf3 100644Binary files a/apps/web/public/empty-state/cycle-issues/spreadsheet-light.webp and b/apps/web/public/empty-state/cycle-issues/spreadsheet-light.webp differdiff --git a/apps/web/public/empty-state/cycle/active-dark.webp b/apps/web/public/empty-state/cycle/active-dark.webpindex 336fd8173c..68317b1be0 100644Binary files a/apps/web/public/empty-state/cycle/active-dark.webp and b/apps/web/public/empty-state/cycle/active-dark.webp differdiff --git a/apps/web/public/empty-state/cycle/active-light.webp b/apps/web/public/empty-state/cycle/active-light.webpindex 2ea9a8a88c..2341a90538 100644Binary files a/apps/web/public/empty-state/cycle/active-light.webp and b/apps/web/public/empty-state/cycle/active-light.webp differdiff --git a/apps/web/public/empty-state/dashboard/widgets-dark.webp b/apps/web/public/empty-state/dashboard/widgets-dark.webpindex 4c185294b8..3a626f78e1 100644Binary files a/apps/web/public/empty-state/dashboard/widgets-dark.webp and b/apps/web/public/empty-state/dashboard/widgets-dark.webp differdiff --git a/apps/web/public/empty-state/dashboard/widgets-light.webp b/apps/web/public/empty-state/dashboard/widgets-light.webpindex 3230b29fd9..6161c57c23 100644Binary files a/apps/web/public/empty-state/dashboard/widgets-light.webp and b/apps/web/public/empty-state/dashboard/widgets-light.webp differdiff --git a/apps/web/public/empty-state/disabled-feature/cycles-dark.webp b/apps/web/public/empty-state/disabled-feature/cycles-dark.webpindex 5b2234984d..5897062803 100644Binary files a/apps/web/public/empty-state/disabled-feature/cycles-dark.webp and b/apps/web/public/empty-state/disabled-feature/cycles-dark.webp differdiff --git a/apps/web/public/empty-state/disabled-feature/cycles-light.webp b/apps/web/public/empty-state/disabled-feature/cycles-light.webpindex 2e6e01e3b8..c13d0826d0 100644Binary files a/apps/web/public/empty-state/disabled-feature/cycles-light.webp and b/apps/web/public/empty-state/disabled-feature/cycles-light.webp differdiff --git a/apps/web/public/empty-state/draft/draft-issues-empty-dark.webp b/apps/web/public/empty-state/draft/draft-issues-empty-dark.webpindex 0a3689022f..c50ed24b53 100644Binary files a/apps/web/public/empty-state/draft/draft-issues-empty-dark.webp and b/apps/web/public/empty-state/draft/draft-issues-empty-dark.webp differdiff --git a/apps/web/public/empty-state/draft/draft-issues-empty-light.webp b/apps/web/public/empty-state/draft/draft-issues-empty-light.webpindex c4e84a9d3f..c6ded2b046 100644Binary files a/apps/web/public/empty-state/draft/draft-issues-empty-light.webp and b/apps/web/public/empty-state/draft/draft-issues-empty-light.webp differdiff --git a/apps/web/public/empty-state/empty-filters/calendar-dark.webp b/apps/web/public/empty-state/empty-filters/calendar-dark.webpindex 18fa5dfdd5..872be08bc1 100644Binary files a/apps/web/public/empty-state/empty-filters/calendar-dark.webp and b/apps/web/public/empty-state/empty-filters/calendar-dark.webp differdiff --git a/apps/web/public/empty-state/empty-filters/calendar-light.webp b/apps/web/public/empty-state/empty-filters/calendar-light.webpindex 3c443cef84..50e56eb904 100644Binary files a/apps/web/public/empty-state/empty-filters/calendar-light.webp and b/apps/web/public/empty-state/empty-filters/calendar-light.webp differdiff --git a/apps/web/public/empty-state/empty-filters/gantt_chart-dark.webp b/apps/web/public/empty-state/empty-filters/gantt_chart-dark.webpindex 0dd590ef74..c587d968b9 100644Binary files a/apps/web/public/empty-state/empty-filters/gantt_chart-dark.webp and b/apps/web/public/empty-state/empty-filters/gantt_chart-dark.webp differdiff --git a/apps/web/public/empty-state/empty-filters/gantt_chart-light.webp b/apps/web/public/empty-state/empty-filters/gantt_chart-light.webpindex 348d8a72c5..8c874ea6e5 100644Binary files a/apps/web/public/empty-state/empty-filters/gantt_chart-light.webp and b/apps/web/public/empty-state/empty-filters/gantt_chart-light.webp differdiff --git a/apps/web/public/empty-state/empty-filters/kanban-dark.webp b/apps/web/public/empty-state/empty-filters/kanban-dark.webpindex 8a742ab197..a368c68674 100644Binary files a/apps/web/public/empty-state/empty-filters/kanban-dark.webp and b/apps/web/public/empty-state/empty-filters/kanban-dark.webp differdiff --git a/apps/web/public/empty-state/empty-filters/kanban-light.webp b/apps/web/public/empty-state/empty-filters/kanban-light.webpindex d0c8acf65a..50507e7ee2 100644Binary files a/apps/web/public/empty-state/empty-filters/kanban-light.webp and b/apps/web/public/empty-state/empty-filters/kanban-light.webp differdiff --git a/apps/web/public/empty-state/empty-filters/list-dark.webp b/apps/web/public/empty-state/empty-filters/list-dark.webpindex 2edf6eecca..6c49f29f36 100644Binary files a/apps/web/public/empty-state/empty-filters/list-dark.webp and b/apps/web/public/empty-state/empty-filters/list-dark.webp differdiff --git a/apps/web/public/empty-state/empty-filters/list-light.webp b/apps/web/public/empty-state/empty-filters/list-light.webpindex e034115e7e..bc4f28475b 100644Binary files a/apps/web/public/empty-state/empty-filters/list-light.webp and b/apps/web/public/empty-state/empty-filters/list-light.webp differdiff --git a/apps/web/public/empty-state/empty-filters/spreadsheet-dark.webp b/apps/web/public/empty-state/empty-filters/spreadsheet-dark.webpindex 1d8a3d6bee..2e9ff4c9f0 100644Binary files a/apps/web/public/empty-state/empty-filters/spreadsheet-dark.webp and b/apps/web/public/empty-state/empty-filters/spreadsheet-dark.webp differdiff --git a/apps/web/public/empty-state/empty-filters/spreadsheet-light.webp b/apps/web/public/empty-state/empty-filters/spreadsheet-light.webpindex b4ee9ee4c5..174b3d0845 100644Binary files a/apps/web/public/empty-state/empty-filters/spreadsheet-light.webp and b/apps/web/public/empty-state/empty-filters/spreadsheet-light.webp differdiff --git a/apps/web/public/empty-state/empty-updates-light.png b/apps/web/public/empty-state/empty-updates-light.pngnew file mode 100644index 0000000000..a92c09371aBinary files /dev/null and b/apps/web/public/empty-state/empty-updates-light.png differdiff --git a/apps/web/public/empty-state/epics/epics-dark.webp b/apps/web/public/empty-state/epics/epics-dark.webpindex ee8da30145..648392af42 100644Binary files a/apps/web/public/empty-state/epics/epics-dark.webp and b/apps/web/public/empty-state/epics/epics-dark.webp differdiff --git a/apps/web/public/empty-state/epics/epics-light.webp b/apps/web/public/empty-state/epics/epics-light.webpindex 179acf0add..f677e5d662 100644Binary files a/apps/web/public/empty-state/epics/epics-light.webp and b/apps/web/public/empty-state/epics/epics-light.webp differdiff --git a/apps/web/public/empty-state/epics/settings-dark.webp b/apps/web/public/empty-state/epics/settings-dark.webpnew file mode 100644index 0000000000..31931379d6Binary files /dev/null and b/apps/web/public/empty-state/epics/settings-dark.webp differdiff --git a/apps/web/public/empty-state/epics/settings-light.webp b/apps/web/public/empty-state/epics/settings-light.webpnew file mode 100644index 0000000000..1f9596eacfBinary files /dev/null and b/apps/web/public/empty-state/epics/settings-light.webp differdiff --git a/apps/web/public/empty-state/intake/filter-issue-dark.webp b/apps/web/public/empty-state/intake/filter-issue-dark.webpindex 95337a59c1..dab3eb78ce 100644Binary files a/apps/web/public/empty-state/intake/filter-issue-dark.webp and b/apps/web/public/empty-state/intake/filter-issue-dark.webp differdiff --git a/apps/web/public/empty-state/intake/filter-issue-light.webp b/apps/web/public/empty-state/intake/filter-issue-light.webpindex 24f96534af..6716706728 100644Binary files a/apps/web/public/empty-state/intake/filter-issue-light.webp and b/apps/web/public/empty-state/intake/filter-issue-light.webp differdiff --git a/apps/web/public/empty-state/intake/intake-issue-dark.webp b/apps/web/public/empty-state/intake/intake-issue-dark.webpindex bce391bcdf..0c14ce2499 100644Binary files a/apps/web/public/empty-state/intake/intake-issue-dark.webp and b/apps/web/public/empty-state/intake/intake-issue-dark.webp differdiff --git a/apps/web/public/empty-state/intake/intake-issue-light.webp b/apps/web/public/empty-state/intake/intake-issue-light.webpindex 9473797446..c557f5dc0d 100644Binary files a/apps/web/public/empty-state/intake/intake-issue-light.webp and b/apps/web/public/empty-state/intake/intake-issue-light.webp differdiff --git a/apps/web/public/empty-state/module-issues/calendar-dark-resp.webp b/apps/web/public/empty-state/module-issues/calendar-dark-resp.webpindex 80d7637c5d..5e6404e752 100644Binary files a/apps/web/public/empty-state/module-issues/calendar-dark-resp.webp and b/apps/web/public/empty-state/module-issues/calendar-dark-resp.webp differdiff --git a/apps/web/public/empty-state/module-issues/calendar-dark.webp b/apps/web/public/empty-state/module-issues/calendar-dark.webpindex 18adf277cf..5170f6c043 100644Binary files a/apps/web/public/empty-state/module-issues/calendar-dark.webp and b/apps/web/public/empty-state/module-issues/calendar-dark.webp differdiff --git a/apps/web/public/empty-state/module-issues/calendar-light-resp.webp b/apps/web/public/empty-state/module-issues/calendar-light-resp.webpindex acc31bc190..0d890af683 100644Binary files a/apps/web/public/empty-state/module-issues/calendar-light-resp.webp and b/apps/web/public/empty-state/module-issues/calendar-light-resp.webp differdiff --git a/apps/web/public/empty-state/module-issues/calendar-light.webp b/apps/web/public/empty-state/module-issues/calendar-light.webpindex f542f91e14..5bee9c91de 100644Binary files a/apps/web/public/empty-state/module-issues/calendar-light.webp and b/apps/web/public/empty-state/module-issues/calendar-light.webp differdiff --git a/apps/web/public/empty-state/module-issues/gantt_chart-dark-resp.webp b/apps/web/public/empty-state/module-issues/gantt_chart-dark-resp.webpindex 90bf1dd8f7..90d7985ab3 100644Binary files a/apps/web/public/empty-state/module-issues/gantt_chart-dark-resp.webp and b/apps/web/public/empty-state/module-issues/gantt_chart-dark-resp.webp differdiff --git a/apps/web/public/empty-state/module-issues/gantt_chart-dark.webp b/apps/web/public/empty-state/module-issues/gantt_chart-dark.webpindex 365ab04c72..d382198324 100644Binary files a/apps/web/public/empty-state/module-issues/gantt_chart-dark.webp and b/apps/web/public/empty-state/module-issues/gantt_chart-dark.webp differdiff --git a/apps/web/public/empty-state/module-issues/gantt_chart-light-resp.webp b/apps/web/public/empty-state/module-issues/gantt_chart-light-resp.webpindex c160bf4a33..ccaadee83c 100644Binary files a/apps/web/public/empty-state/module-issues/gantt_chart-light-resp.webp and b/apps/web/public/empty-state/module-issues/gantt_chart-light-resp.webp differdiff --git a/apps/web/public/empty-state/module-issues/gantt_chart-light.webp b/apps/web/public/empty-state/module-issues/gantt_chart-light.webpindex 19531a8eb5..e51bbeea71 100644Binary files a/apps/web/public/empty-state/module-issues/gantt_chart-light.webp and b/apps/web/public/empty-state/module-issues/gantt_chart-light.webp differdiff --git a/apps/web/public/empty-state/module-issues/kanban-dark-resp.webp b/apps/web/public/empty-state/module-issues/kanban-dark-resp.webpindex d6fa66d3ef..b447fb6c65 100644Binary files a/apps/web/public/empty-state/module-issues/kanban-dark-resp.webp and b/apps/web/public/empty-state/module-issues/kanban-dark-resp.webp differdiff --git a/apps/web/public/empty-state/module-issues/kanban-dark.webp b/apps/web/public/empty-state/module-issues/kanban-dark.webpindex ad1b9dcadc..5e978d5981 100644Binary files a/apps/web/public/empty-state/module-issues/kanban-dark.webp and b/apps/web/public/empty-state/module-issues/kanban-dark.webp differdiff --git a/apps/web/public/empty-state/module-issues/kanban-light-resp.webp b/apps/web/public/empty-state/module-issues/kanban-light-resp.webpindex 97dd429ed3..2be0b8f187 100644Binary files a/apps/web/public/empty-state/module-issues/kanban-light-resp.webp and b/apps/web/public/empty-state/module-issues/kanban-light-resp.webp differdiff --git a/apps/web/public/empty-state/module-issues/kanban-light.webp b/apps/web/public/empty-state/module-issues/kanban-light.webpindex cad700e034..5d30a652ec 100644Binary files a/apps/web/public/empty-state/module-issues/kanban-light.webp and b/apps/web/public/empty-state/module-issues/kanban-light.webp differdiff --git a/apps/web/public/empty-state/module-issues/list-dark-resp.webp b/apps/web/public/empty-state/module-issues/list-dark-resp.webpindex f60248bfc1..84d92aaa13 100644Binary files a/apps/web/public/empty-state/module-issues/list-dark-resp.webp and b/apps/web/public/empty-state/module-issues/list-dark-resp.webp differdiff --git a/apps/web/public/empty-state/module-issues/list-dark.webp b/apps/web/public/empty-state/module-issues/list-dark.webpindex 3b00a2c2d0..96e9518c2e 100644Binary files a/apps/web/public/empty-state/module-issues/list-dark.webp and b/apps/web/public/empty-state/module-issues/list-dark.webp differdiff --git a/apps/web/public/empty-state/module-issues/list-light-resp.webp b/apps/web/public/empty-state/module-issues/list-light-resp.webpindex 2226988ae7..b688add24b 100644Binary files a/apps/web/public/empty-state/module-issues/list-light-resp.webp and b/apps/web/public/empty-state/module-issues/list-light-resp.webp differdiff --git a/apps/web/public/empty-state/module-issues/list-light.webp b/apps/web/public/empty-state/module-issues/list-light.webpindex 5d9735ee1e..d9b1c4c229 100644Binary files a/apps/web/public/empty-state/module-issues/list-light.webp and b/apps/web/public/empty-state/module-issues/list-light.webp differdiff --git a/apps/web/public/empty-state/module-issues/spreadsheet-dark-resp.webp b/apps/web/public/empty-state/module-issues/spreadsheet-dark-resp.webpindex 1beb57b090..afb2f1cbc9 100644Binary files a/apps/web/public/empty-state/module-issues/spreadsheet-dark-resp.webp and b/apps/web/public/empty-state/module-issues/spreadsheet-dark-resp.webp differdiff --git a/apps/web/public/empty-state/module-issues/spreadsheet-dark.webp b/apps/web/public/empty-state/module-issues/spreadsheet-dark.webpindex 58698ed74b..1894cfe753 100644Binary files a/apps/web/public/empty-state/module-issues/spreadsheet-dark.webp and b/apps/web/public/empty-state/module-issues/spreadsheet-dark.webp differdiff --git a/apps/web/public/empty-state/module-issues/spreadsheet-light-resp.webp b/apps/web/public/empty-state/module-issues/spreadsheet-light-resp.webpindex 8f3a0679b4..11115d4d42 100644Binary files a/apps/web/public/empty-state/module-issues/spreadsheet-light-resp.webp and b/apps/web/public/empty-state/module-issues/spreadsheet-light-resp.webp differdiff --git a/apps/web/public/empty-state/module-issues/spreadsheet-light.webp b/apps/web/public/empty-state/module-issues/spreadsheet-light.webpindex a1735e1d17..aa3813f585 100644Binary files a/apps/web/public/empty-state/module-issues/spreadsheet-light.webp and b/apps/web/public/empty-state/module-issues/spreadsheet-light.webp differdiff --git a/apps/web/public/empty-state/onboarding/analytics-dark.webp b/apps/web/public/empty-state/onboarding/analytics-dark.webpindex a8a1d95761..a83d55de9a 100644Binary files a/apps/web/public/empty-state/onboarding/analytics-dark.webp and b/apps/web/public/empty-state/onboarding/analytics-dark.webp differdiff --git a/apps/web/public/empty-state/onboarding/analytics-light.webp b/apps/web/public/empty-state/onboarding/analytics-light.webpindex 76d5cfc282..64a762f998 100644Binary files a/apps/web/public/empty-state/onboarding/analytics-light.webp and b/apps/web/public/empty-state/onboarding/analytics-light.webp differdiff --git a/apps/web/public/empty-state/onboarding/issues-dark.webp b/apps/web/public/empty-state/onboarding/issues-dark.webpindex bbcf81b19a..39ffb5c17a 100644Binary files a/apps/web/public/empty-state/onboarding/issues-dark.webp and b/apps/web/public/empty-state/onboarding/issues-dark.webp differdiff --git a/apps/web/public/empty-state/onboarding/issues-light.webp b/apps/web/public/empty-state/onboarding/issues-light.webpindex 0e67d81a33..18d42b19cd 100644Binary files a/apps/web/public/empty-state/onboarding/issues-light.webp and b/apps/web/public/empty-state/onboarding/issues-light.webp differdiff --git a/apps/web/public/empty-state/onboarding/modules-dark.webp b/apps/web/public/empty-state/onboarding/modules-dark.webpindex 3e16dfc42c..d855df030f 100644Binary files a/apps/web/public/empty-state/onboarding/modules-dark.webp and b/apps/web/public/empty-state/onboarding/modules-dark.webp differdiff --git a/apps/web/public/empty-state/onboarding/modules-light.webp b/apps/web/public/empty-state/onboarding/modules-light.webpindex 47d319feea..ff3e6ac319 100644Binary files a/apps/web/public/empty-state/onboarding/modules-light.webp and b/apps/web/public/empty-state/onboarding/modules-light.webp differdiff --git a/apps/web/public/empty-state/onboarding/pages-dark.webp b/apps/web/public/empty-state/onboarding/pages-dark.webpindex def65dd515..bc592703f1 100644Binary files a/apps/web/public/empty-state/onboarding/pages-dark.webp and b/apps/web/public/empty-state/onboarding/pages-dark.webp differdiff --git a/apps/web/public/empty-state/onboarding/pages-light.webp b/apps/web/public/empty-state/onboarding/pages-light.webpindex b7826e2447..1e28c0d319 100644Binary files a/apps/web/public/empty-state/onboarding/pages-light.webp and b/apps/web/public/empty-state/onboarding/pages-light.webp differdiff --git a/apps/web/public/empty-state/onboarding/projects-dark.webp b/apps/web/public/empty-state/onboarding/projects-dark.webpindex c5482908a0..d4f6c627d5 100644Binary files a/apps/web/public/empty-state/onboarding/projects-dark.webp and b/apps/web/public/empty-state/onboarding/projects-dark.webp differdiff --git a/apps/web/public/empty-state/onboarding/projects-light.webp b/apps/web/public/empty-state/onboarding/projects-light.webpindex 20206adfb0..c475c8ff5d 100644Binary files a/apps/web/public/empty-state/onboarding/projects-light.webp and b/apps/web/public/empty-state/onboarding/projects-light.webp differdiff --git a/apps/web/public/empty-state/onboarding/views-dark.webp b/apps/web/public/empty-state/onboarding/views-dark.webpindex bfdb573fec..0a7fe7b22c 100644Binary files a/apps/web/public/empty-state/onboarding/views-dark.webp and b/apps/web/public/empty-state/onboarding/views-dark.webp differdiff --git a/apps/web/public/empty-state/onboarding/views-light.webp b/apps/web/public/empty-state/onboarding/views-light.webpindex e318e27179..cfb2031b15 100644Binary files a/apps/web/public/empty-state/onboarding/views-light.webp and b/apps/web/public/empty-state/onboarding/views-light.webp differdiff --git a/apps/web/public/empty-state/onboarding/workspace-active-cycles-dark.webp b/apps/web/public/empty-state/onboarding/workspace-active-cycles-dark.webpnew file mode 100644index 0000000000..68317b1be0Binary files /dev/null and b/apps/web/public/empty-state/onboarding/workspace-active-cycles-dark.webp differdiff --git a/apps/web/public/empty-state/onboarding/workspace-active-cycles-light.webp b/apps/web/public/empty-state/onboarding/workspace-active-cycles-light.webpnew file mode 100644index 0000000000..2341a90538Binary files /dev/null and b/apps/web/public/empty-state/onboarding/workspace-active-cycles-light.webp differdiff --git a/apps/web/public/empty-state/pages/all-dark.webp b/apps/web/public/empty-state/pages/all-dark.webpindex 9ce16f6d4a..81ef36de51 100644Binary files a/apps/web/public/empty-state/pages/all-dark.webp and b/apps/web/public/empty-state/pages/all-dark.webp differdiff --git a/apps/web/public/empty-state/pages/all-filters-dark.svg b/apps/web/public/empty-state/pages/all-filters-dark.svgnew file mode 100644index 0000000000..037a2fd6f2--- /dev/null+++ b/apps/web/public/empty-state/pages/all-filters-dark.svg@@ -0,0 +1,50 @@+<svg width="205" height="205" viewBox="0 0 205 205" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_935_236572)">+<circle cx="102.5" cy="102.5" r="102.5" fill="url(#paint0_linear_935_236572)"/>+<path d="M120.5 44.667H67.9997C64.9055 44.667 61.938 45.8962 59.7501 48.0841C57.5622 50.272 56.333 53.2395 56.333 56.3337V149.667C56.333 152.761 57.5622 155.729 59.7501 157.917C61.938 160.104 64.9055 161.334 67.9997 161.334H138C141.094 161.334 144.061 160.104 146.249 157.917C148.437 155.729 149.666 152.761 149.666 149.667V73.8337L120.5 44.667Z" stroke="#4E4E54" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M114.667 44.667V68.0003C114.667 71.0945 115.896 74.062 118.084 76.2499C120.272 78.4378 123.239 79.667 126.334 79.667H149.667" stroke="#4E4E54" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M91.3337 85.5H79.667" stroke="#4E4E54" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M126.334 108.833H79.667" stroke="#4E4E54" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M126.334 132.167H79.667" stroke="#4E4E54" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<g filter="url(#filter0_ddd_935_236572)">+<circle cx="103.254" cy="173.828" r="31" fill="#006399"/>+<path d="M88 164H118" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M94.667 174H111.334" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M99.667 184H106.334" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>+</g>+</g>+<defs>+<filter id="filter0_ddd_935_236572" x="64.2539" y="137.828" width="78" height="79" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">+<feFlood flood-opacity="0" result="BackgroundImageFix"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_935_236572"/>+<feOffset dy="2"/>+<feGaussianBlur stdDeviation="1.5"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0 0 0 0.051 0"/>+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_935_236572"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_935_236572"/>+<feOffset dy="3"/>+<feGaussianBlur stdDeviation="6"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.055 0"/>+<feBlend mode="normal" in2="effect1_dropShadow_935_236572" result="effect2_dropShadow_935_236572"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="8" operator="erode" in="SourceAlpha" result="effect3_dropShadow_935_236572"/>+<feOffset dy="4"/>+<feGaussianBlur stdDeviation="8"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.078 0"/>+<feBlend mode="normal" in2="effect2_dropShadow_935_236572" result="effect3_dropShadow_935_236572"/>+<feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_935_236572" result="shape"/>+</filter>+<linearGradient id="paint0_linear_935_236572" x1="102.5" y1="0" x2="102.5" y2="207.52" gradientUnits="userSpaceOnUse">+<stop stop-color="#343434"/>+<stop offset="1" stop-color="#171717" stop-opacity="0.16"/>+</linearGradient>+<clipPath id="clip0_935_236572">+<rect width="205" height="205" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/apps/web/public/empty-state/pages/all-filters-light.svg b/apps/web/public/empty-state/pages/all-filters-light.svgnew file mode 100644index 0000000000..8ecd8d2e63--- /dev/null+++ b/apps/web/public/empty-state/pages/all-filters-light.svg@@ -0,0 +1,45 @@+<svg width="205" height="217" viewBox="0 0 205 217" fill="none" xmlns="http://www.w3.org/2000/svg">+<circle cx="102.5" cy="102.5" r="102.5" fill="url(#paint0_linear_935_236561)"/>+<path d="M120.5 44.667H67.9997C64.9055 44.667 61.938 45.8962 59.7501 48.0841C57.5622 50.272 56.333 53.2395 56.333 56.3337V149.667C56.333 152.761 57.5622 155.729 59.7501 157.917C61.938 160.104 64.9055 161.334 67.9997 161.334H138C141.094 161.334 144.061 160.104 146.249 157.917C148.437 155.729 149.666 152.761 149.666 149.667V73.8337L120.5 44.667Z" stroke="#D1D6E0" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M114.667 44.667V68.0003C114.667 71.0945 115.896 74.062 118.084 76.2499C120.272 78.4378 123.239 79.667 126.334 79.667H149.667" stroke="#D1D6E0" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M91.3337 85.5H79.667" stroke="#D1D6E0" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M126.334 108.833H79.667" stroke="#D1D6E0" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M126.334 132.167H79.667" stroke="#D1D6E0" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<g filter="url(#filter0_ddd_935_236561)">+<circle cx="103.254" cy="173.828" r="31" fill="#006399"/>+<path d="M88 164H118" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M94.667 174H111.334" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M99.667 184H106.334" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>+</g>+<defs>+<filter id="filter0_ddd_935_236561" x="64.2539" y="137.828" width="78" height="79" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">+<feFlood flood-opacity="0" result="BackgroundImageFix"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_935_236561"/>+<feOffset dy="2"/>+<feGaussianBlur stdDeviation="1.5"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0 0 0 0.051 0"/>+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_935_236561"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_935_236561"/>+<feOffset dy="3"/>+<feGaussianBlur stdDeviation="6"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.055 0"/>+<feBlend mode="normal" in2="effect1_dropShadow_935_236561" result="effect2_dropShadow_935_236561"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="8" operator="erode" in="SourceAlpha" result="effect3_dropShadow_935_236561"/>+<feOffset dy="4"/>+<feGaussianBlur stdDeviation="8"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.078 0"/>+<feBlend mode="normal" in2="effect2_dropShadow_935_236561" result="effect3_dropShadow_935_236561"/>+<feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_935_236561" result="shape"/>+</filter>+<linearGradient id="paint0_linear_935_236561" x1="102.5" y1="0" x2="102.5" y2="207.52" gradientUnits="userSpaceOnUse">+<stop stop-color="#F7F7F7"/>+<stop offset="1" stop-color="#F8F9FA" stop-opacity="0"/>+</linearGradient>+</defs>+</svg>diff --git a/apps/web/public/empty-state/pages/all-filters.svg b/apps/web/public/empty-state/pages/all-filters.svgdeleted file mode 100644index d0ecffbc69..0000000000--- a/apps/web/public/empty-state/pages/all-filters.svg+++ /dev/null@@ -1,45 +0,0 @@-<svg width="206" height="217" viewBox="0 0 206 217" fill="none" xmlns="http://www.w3.org/2000/svg">-<circle cx="103.5" cy="102.5" r="102.5" fill="url(#paint0_linear_8002_162251)"/>-<path d="M118.625 40.5H65.5C62.1848 40.5 59.0054 41.817 56.6612 44.1612C54.317 46.5054 53 49.6848 53 53V153C53 156.315 54.317 159.495 56.6612 161.839C59.0054 164.183 62.1848 165.5 65.5 165.5H140.5C143.815 165.5 146.995 164.183 149.339 161.839C151.683 159.495 153 156.315 153 153V74.875L118.625 40.5Z" stroke="#80838D" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M115.5 40.5V78H153" stroke="#80838D" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M128 109.25H78" stroke="#80838D" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M128 134.25H78" stroke="#80838D" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M90.5 84.25H78" stroke="#80838D" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>-<g filter="url(#filter0_ddd_8002_162251)">-<circle cx="103.754" cy="173.828" r="31" fill="#3A5BC7"/>-<path d="M92.75 166.5H115.25" stroke="#F9F9FB" stroke-width="3.57143" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M97.75 174H110.25" stroke="#F9F9FB" stroke-width="3.57143" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M101.5 181.5H106.5" stroke="#F9F9FB" stroke-width="3.57143" stroke-linecap="round" stroke-linejoin="round"/>-</g>-<defs>-<filter id="filter0_ddd_8002_162251" x="64.7539" y="137.828" width="78" height="79" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">-<feFlood flood-opacity="0" result="BackgroundImageFix"/>-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_8002_162251"/>-<feOffset dy="2"/>-<feGaussianBlur stdDeviation="1.5"/>-<feComposite in2="hardAlpha" operator="out"/>-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0 0 0 0.051 0"/>-<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_8002_162251"/>-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_8002_162251"/>-<feOffset dy="3"/>-<feGaussianBlur stdDeviation="6"/>-<feComposite in2="hardAlpha" operator="out"/>-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.055 0"/>-<feBlend mode="normal" in2="effect1_dropShadow_8002_162251" result="effect2_dropShadow_8002_162251"/>-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feMorphology radius="8" operator="erode" in="SourceAlpha" result="effect3_dropShadow_8002_162251"/>-<feOffset dy="4"/>-<feGaussianBlur stdDeviation="8"/>-<feComposite in2="hardAlpha" operator="out"/>-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.078 0"/>-<feBlend mode="normal" in2="effect2_dropShadow_8002_162251" result="effect3_dropShadow_8002_162251"/>-<feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_8002_162251" result="shape"/>-</filter>-<linearGradient id="paint0_linear_8002_162251" x1="103.5" y1="0" x2="103.5" y2="207.52" gradientUnits="userSpaceOnUse">-<stop stop-color="#F7F7F7"/>-<stop offset="1" stop-color="#F8F9FA" stop-opacity="0"/>-</linearGradient>-</defs>-</svg>diff --git a/apps/web/public/empty-state/pages/all-light.webp b/apps/web/public/empty-state/pages/all-light.webpindex ad70d20d8c..02b1d8897e 100644Binary files a/apps/web/public/empty-state/pages/all-light.webp and b/apps/web/public/empty-state/pages/all-light.webp differdiff --git a/apps/web/public/empty-state/pages/archived-dark.webp b/apps/web/public/empty-state/pages/archived-dark.webpindex 38a9481cf9..64700c83b8 100644Binary files a/apps/web/public/empty-state/pages/archived-dark.webp and b/apps/web/public/empty-state/pages/archived-dark.webp differdiff --git a/apps/web/public/empty-state/pages/archived-light.webp b/apps/web/public/empty-state/pages/archived-light.webpindex 0dbb1e8549..9412f73a4c 100644Binary files a/apps/web/public/empty-state/pages/archived-light.webp and b/apps/web/public/empty-state/pages/archived-light.webp differdiff --git a/apps/web/public/empty-state/pages/name-filter-dark.svg b/apps/web/public/empty-state/pages/name-filter-dark.svgnew file mode 100644index 0000000000..969a1fe6e8--- /dev/null+++ b/apps/web/public/empty-state/pages/name-filter-dark.svg@@ -0,0 +1,49 @@+<svg width="205" height="205" viewBox="0 0 205 205" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_935_236535)">+<circle cx="102.5" cy="102.5" r="102.5" fill="url(#paint0_linear_935_236535)"/>+<path d="M120.5 44.667H67.9997C64.9055 44.667 61.938 45.8962 59.7501 48.0841C57.5622 50.272 56.333 53.2395 56.333 56.3337V149.667C56.333 152.761 57.5622 155.729 59.7501 157.917C61.938 160.104 64.9055 161.334 67.9997 161.334H138C141.094 161.334 144.061 160.104 146.249 157.917C148.437 155.729 149.666 152.761 149.666 149.667V73.8337L120.5 44.667Z" stroke="#4E4E54" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M114.667 44.667V68.0003C114.667 71.0945 115.896 74.062 118.084 76.2499C120.272 78.4378 123.239 79.667 126.334 79.667H149.667" stroke="#4E4E54" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M91.3337 85.5H79.667" stroke="#4E4E54" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M126.334 108.833H79.667" stroke="#4E4E54" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M126.334 132.167H79.667" stroke="#4E4E54" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<g filter="url(#filter0_ddd_935_236535)">+<circle cx="103.254" cy="173.828" r="31" fill="#006399"/>+<path d="M101.573 185.582C108.992 185.582 115.006 179.568 115.006 172.149C115.006 164.73 108.992 158.716 101.573 158.716C94.154 158.716 88.1396 164.73 88.1396 172.149C88.1396 179.568 94.154 185.582 101.573 185.582Z" stroke="#1C2024" stroke-width="2.52049" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M118.364 188.94L111.144 181.72" stroke="#1C2024" stroke-width="2.52049" stroke-linecap="round" stroke-linejoin="round"/>+</g>+</g>+<defs>+<filter id="filter0_ddd_935_236535" x="64.2539" y="137.828" width="78" height="79" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">+<feFlood flood-opacity="0" result="BackgroundImageFix"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_935_236535"/>+<feOffset dy="2"/>+<feGaussianBlur stdDeviation="1.5"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0 0 0 0.051 0"/>+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_935_236535"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_935_236535"/>+<feOffset dy="3"/>+<feGaussianBlur stdDeviation="6"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.055 0"/>+<feBlend mode="normal" in2="effect1_dropShadow_935_236535" result="effect2_dropShadow_935_236535"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="8" operator="erode" in="SourceAlpha" result="effect3_dropShadow_935_236535"/>+<feOffset dy="4"/>+<feGaussianBlur stdDeviation="8"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.078 0"/>+<feBlend mode="normal" in2="effect2_dropShadow_935_236535" result="effect3_dropShadow_935_236535"/>+<feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_935_236535" result="shape"/>+</filter>+<linearGradient id="paint0_linear_935_236535" x1="102.5" y1="0" x2="102.5" y2="207.52" gradientUnits="userSpaceOnUse">+<stop stop-color="#343434"/>+<stop offset="1" stop-color="#171717" stop-opacity="0.16"/>+</linearGradient>+<clipPath id="clip0_935_236535">+<rect width="205" height="205" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/apps/web/public/empty-state/pages/name-filter-light.svg b/apps/web/public/empty-state/pages/name-filter-light.svgnew file mode 100644index 0000000000..bc2465ae22--- /dev/null+++ b/apps/web/public/empty-state/pages/name-filter-light.svg@@ -0,0 +1,44 @@+<svg width="205" height="217" viewBox="0 0 205 217" fill="none" xmlns="http://www.w3.org/2000/svg">+<circle cx="102.5" cy="102.5" r="102.5" fill="url(#paint0_linear_935_236528)"/>+<path d="M120.5 44.667H67.9997C64.9055 44.667 61.938 45.8962 59.7501 48.0841C57.5622 50.272 56.333 53.2395 56.333 56.3337V149.667C56.333 152.761 57.5622 155.729 59.7501 157.917C61.938 160.104 64.9055 161.334 67.9997 161.334H138C141.094 161.334 144.061 160.104 146.249 157.917C148.437 155.729 149.666 152.761 149.666 149.667V73.8337L120.5 44.667Z" stroke="#D1D6E0" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M114.667 44.667V68.0003C114.667 71.0945 115.896 74.062 118.084 76.2499C120.272 78.4378 123.239 79.667 126.334 79.667H149.667" stroke="#D1D6E0" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M91.3337 85.5H79.667" stroke="#D1D6E0" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M126.334 108.833H79.667" stroke="#D1D6E0" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M126.334 132.167H79.667" stroke="#D1D6E0" stroke-width="6" stroke-linecap="round" stroke-linejoin="round"/>+<g filter="url(#filter0_ddd_935_236528)">+<circle cx="103.254" cy="173.828" r="31" fill="#006399"/>+<path d="M101.575 185.582C108.994 185.582 115.008 179.568 115.008 172.149C115.008 164.73 108.994 158.716 101.575 158.716C94.1559 158.716 88.1416 164.73 88.1416 172.149C88.1416 179.568 94.1559 185.582 101.575 185.582Z" stroke="white" stroke-width="2.52049" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M118.366 188.94L111.146 181.72" stroke="white" stroke-width="2.52049" stroke-linecap="round" stroke-linejoin="round"/>+</g>+<defs>+<filter id="filter0_ddd_935_236528" x="64.2539" y="137.828" width="78" height="79" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">+<feFlood flood-opacity="0" result="BackgroundImageFix"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_935_236528"/>+<feOffset dy="2"/>+<feGaussianBlur stdDeviation="1.5"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0 0 0 0.051 0"/>+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_935_236528"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_935_236528"/>+<feOffset dy="3"/>+<feGaussianBlur stdDeviation="6"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.055 0"/>+<feBlend mode="normal" in2="effect1_dropShadow_935_236528" result="effect2_dropShadow_935_236528"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="8" operator="erode" in="SourceAlpha" result="effect3_dropShadow_935_236528"/>+<feOffset dy="4"/>+<feGaussianBlur stdDeviation="8"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.078 0"/>+<feBlend mode="normal" in2="effect2_dropShadow_935_236528" result="effect3_dropShadow_935_236528"/>+<feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_935_236528" result="shape"/>+</filter>+<linearGradient id="paint0_linear_935_236528" x1="102.5" y1="0" x2="102.5" y2="207.52" gradientUnits="userSpaceOnUse">+<stop stop-color="#F7F7F7"/>+<stop offset="1" stop-color="#F8F9FA" stop-opacity="0"/>+</linearGradient>+</defs>+</svg>diff --git a/apps/web/public/empty-state/pages/name-filter.svg b/apps/web/public/empty-state/pages/name-filter.svgdeleted file mode 100644index 2d8ff017d9..0000000000--- a/apps/web/public/empty-state/pages/name-filter.svg+++ /dev/null@@ -1,44 +0,0 @@-<svg width="206" height="217" viewBox="0 0 206 217" fill="none" xmlns="http://www.w3.org/2000/svg">-<circle cx="103.5" cy="102.5" r="102.5" fill="url(#paint0_linear_8002_161873)"/>-<path d="M118.625 40.5H65.5C62.1848 40.5 59.0054 41.817 56.6612 44.1612C54.317 46.5054 53 49.6848 53 53V153C53 156.315 54.317 159.495 56.6612 161.839C59.0054 164.183 62.1848 165.5 65.5 165.5H140.5C143.815 165.5 146.995 164.183 149.339 161.839C151.683 159.495 153 156.315 153 153V74.875L118.625 40.5Z" stroke="#80838D" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M115.5 40.5V78H153" stroke="#80838D" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M128 109.25H78" stroke="#80838D" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M128 134.25H78" stroke="#80838D" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M90.5 84.25H78" stroke="#80838D" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/>-<g filter="url(#filter0_ddd_8002_161873)">-<circle cx="103.754" cy="173.828" r="31" fill="#3A5BC7"/>-<path d="M102.075 185.582C109.494 185.582 115.508 179.567 115.508 172.148C115.508 164.729 109.494 158.715 102.075 158.715C94.6559 158.715 88.6416 164.729 88.6416 172.148C88.6416 179.567 94.6559 185.582 102.075 185.582Z" stroke="white" stroke-width="2.52049" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M118.866 188.939L111.646 181.719" stroke="white" stroke-width="2.52049" stroke-linecap="round" stroke-linejoin="round"/>-</g>-<defs>-<filter id="filter0_ddd_8002_161873" x="64.7539" y="137.828" width="78" height="79" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">-<feFlood flood-opacity="0" result="BackgroundImageFix"/>-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_8002_161873"/>-<feOffset dy="2"/>-<feGaussianBlur stdDeviation="1.5"/>-<feComposite in2="hardAlpha" operator="out"/>-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0 0 0 0.051 0"/>-<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_8002_161873"/>-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_8002_161873"/>-<feOffset dy="3"/>-<feGaussianBlur stdDeviation="6"/>-<feComposite in2="hardAlpha" operator="out"/>-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.055 0"/>-<feBlend mode="normal" in2="effect1_dropShadow_8002_161873" result="effect2_dropShadow_8002_161873"/>-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feMorphology radius="8" operator="erode" in="SourceAlpha" result="effect3_dropShadow_8002_161873"/>-<feOffset dy="4"/>-<feGaussianBlur stdDeviation="8"/>-<feComposite in2="hardAlpha" operator="out"/>-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.078 0"/>-<feBlend mode="normal" in2="effect2_dropShadow_8002_161873" result="effect3_dropShadow_8002_161873"/>-<feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_8002_161873" result="shape"/>-</filter>-<linearGradient id="paint0_linear_8002_161873" x1="103.5" y1="0" x2="103.5" y2="207.52" gradientUnits="userSpaceOnUse">-<stop stop-color="#F7F7F7"/>-<stop offset="1" stop-color="#F8F9FA" stop-opacity="0"/>-</linearGradient>-</defs>-</svg>diff --git a/apps/web/public/empty-state/pages/navigation-pane/assets-dark.webp b/apps/web/public/empty-state/pages/navigation-pane/assets-dark.webpindex e454d6dc17..c6bc05e237 100644Binary files a/apps/web/public/empty-state/pages/navigation-pane/assets-dark.webp and b/apps/web/public/empty-state/pages/navigation-pane/assets-dark.webp differdiff --git a/apps/web/public/empty-state/pages/navigation-pane/assets-light.webp b/apps/web/public/empty-state/pages/navigation-pane/assets-light.webpindex c3c4585d06..1e3982924c 100644Binary files a/apps/web/public/empty-state/pages/navigation-pane/assets-light.webp and b/apps/web/public/empty-state/pages/navigation-pane/assets-light.webp differdiff --git a/apps/web/public/empty-state/pages/navigation-pane/outline-dark.webp b/apps/web/public/empty-state/pages/navigation-pane/outline-dark.webpindex dcd26c3950..fca82f16b3 100644Binary files a/apps/web/public/empty-state/pages/navigation-pane/outline-dark.webp and b/apps/web/public/empty-state/pages/navigation-pane/outline-dark.webp differdiff --git a/apps/web/public/empty-state/pages/navigation-pane/outline-light.webp b/apps/web/public/empty-state/pages/navigation-pane/outline-light.webpindex e92cc6ae7b..6870e6ccfe 100644Binary files a/apps/web/public/empty-state/pages/navigation-pane/outline-light.webp and b/apps/web/public/empty-state/pages/navigation-pane/outline-light.webp differdiff --git a/apps/web/public/empty-state/pages/private-dark.webp b/apps/web/public/empty-state/pages/private-dark.webpindex 389849909e..b482f43218 100644Binary files a/apps/web/public/empty-state/pages/private-dark.webp and b/apps/web/public/empty-state/pages/private-dark.webp differdiff --git a/apps/web/public/empty-state/pages/private-light.webp b/apps/web/public/empty-state/pages/private-light.webpindex 9acf5dbcf0..e1c3af9184 100644Binary files a/apps/web/public/empty-state/pages/private-light.webp and b/apps/web/public/empty-state/pages/private-light.webp differdiff --git a/apps/web/public/empty-state/pages/public-dark.webp b/apps/web/public/empty-state/pages/public-dark.webpindex 444886758d..571bf8a9cd 100644Binary files a/apps/web/public/empty-state/pages/public-dark.webp and b/apps/web/public/empty-state/pages/public-dark.webp differdiff --git a/apps/web/public/empty-state/pages/public-light.webp b/apps/web/public/empty-state/pages/public-light.webpindex 03b3051b60..e0f7b7df09 100644Binary files a/apps/web/public/empty-state/pages/public-light.webp and b/apps/web/public/empty-state/pages/public-light.webp differdiff --git a/apps/web/public/empty-state/profile/assigned-dark.webp b/apps/web/public/empty-state/profile/assigned-dark.webpindex 39b56fff91..173ebe621f 100644Binary files a/apps/web/public/empty-state/profile/assigned-dark.webp and b/apps/web/public/empty-state/profile/assigned-dark.webp differdiff --git a/apps/web/public/empty-state/profile/assigned-light.webp b/apps/web/public/empty-state/profile/assigned-light.webpindex 2963fa41b3..78416c9273 100644Binary files a/apps/web/public/empty-state/profile/assigned-light.webp and b/apps/web/public/empty-state/profile/assigned-light.webp differdiff --git a/apps/web/public/empty-state/profile/created-dark.webp b/apps/web/public/empty-state/profile/created-dark.webpindex f006ddf746..8232ce2ce8 100644Binary files a/apps/web/public/empty-state/profile/created-dark.webp and b/apps/web/public/empty-state/profile/created-dark.webp differdiff --git a/apps/web/public/empty-state/profile/created-light.webp b/apps/web/public/empty-state/profile/created-light.webpindex 446b8f4508..4ea037aeb7 100644Binary files a/apps/web/public/empty-state/profile/created-light.webp and b/apps/web/public/empty-state/profile/created-light.webp differdiff --git a/apps/web/public/empty-state/profile/subscribed-dark.webp b/apps/web/public/empty-state/profile/subscribed-dark.webpindex 15125f5463..26837e1a91 100644Binary files a/apps/web/public/empty-state/profile/subscribed-dark.webp and b/apps/web/public/empty-state/profile/subscribed-dark.webp differdiff --git a/apps/web/public/empty-state/profile/subscribed-light.webp b/apps/web/public/empty-state/profile/subscribed-light.webpindex 9204dca819..7faf660993 100644Binary files a/apps/web/public/empty-state/profile/subscribed-light.webp and b/apps/web/public/empty-state/profile/subscribed-light.webp differdiff --git a/apps/web/public/empty-state/project-settings/estimates-dark-resp.webp b/apps/web/public/empty-state/project-settings/estimates-dark-resp.webpindex ff136236cb..6f6a494929 100644Binary files a/apps/web/public/empty-state/project-settings/estimates-dark-resp.webp and b/apps/web/public/empty-state/project-settings/estimates-dark-resp.webp differdiff --git a/apps/web/public/empty-state/project-settings/estimates-dark.png b/apps/web/public/empty-state/project-settings/estimates-dark.pngindex 620421563d..9cc5346e61 100644Binary files a/apps/web/public/empty-state/project-settings/estimates-dark.png and b/apps/web/public/empty-state/project-settings/estimates-dark.png differdiff --git a/apps/web/public/empty-state/project-settings/estimates-light-resp.webp b/apps/web/public/empty-state/project-settings/estimates-light-resp.webpindex 31daa2c199..13a29caf5c 100644Binary files a/apps/web/public/empty-state/project-settings/estimates-light-resp.webp and b/apps/web/public/empty-state/project-settings/estimates-light-resp.webp differdiff --git a/apps/web/public/empty-state/project-settings/estimates-light.png b/apps/web/public/empty-state/project-settings/estimates-light.pngindex 5537ca7e68..f846a2a41e 100644Binary files a/apps/web/public/empty-state/project-settings/estimates-light.png and b/apps/web/public/empty-state/project-settings/estimates-light.png differdiff --git a/apps/web/public/empty-state/project-settings/integrations-dark-resp.webp b/apps/web/public/empty-state/project-settings/integrations-dark-resp.webpindex 3f9e00956e..f968f8f405 100644Binary files a/apps/web/public/empty-state/project-settings/integrations-dark-resp.webp and b/apps/web/public/empty-state/project-settings/integrations-dark-resp.webp differdiff --git a/apps/web/public/empty-state/project-settings/integrations-dark.webp b/apps/web/public/empty-state/project-settings/integrations-dark.webpindex 603a658ef4..f968f8f405 100644Binary files a/apps/web/public/empty-state/project-settings/integrations-dark.webp and b/apps/web/public/empty-state/project-settings/integrations-dark.webp differdiff --git a/apps/web/public/empty-state/project-settings/integrations-light-resp.webp b/apps/web/public/empty-state/project-settings/integrations-light-resp.webpindex 13e08be84f..94f6ffe394 100644Binary files a/apps/web/public/empty-state/project-settings/integrations-light-resp.webp and b/apps/web/public/empty-state/project-settings/integrations-light-resp.webp differdiff --git a/apps/web/public/empty-state/project-settings/integrations-light.webp b/apps/web/public/empty-state/project-settings/integrations-light.webpindex eb62503e0d..94f6ffe394 100644Binary files a/apps/web/public/empty-state/project-settings/integrations-light.webp and b/apps/web/public/empty-state/project-settings/integrations-light.webp differdiff --git a/apps/web/public/empty-state/project-settings/labels-dark-resp.webp b/apps/web/public/empty-state/project-settings/labels-dark-resp.webpindex fe961c061a..bf23c60ba0 100644Binary files a/apps/web/public/empty-state/project-settings/labels-dark-resp.webp and b/apps/web/public/empty-state/project-settings/labels-dark-resp.webp differdiff --git a/apps/web/public/empty-state/project-settings/labels-dark.webp b/apps/web/public/empty-state/project-settings/labels-dark.webpindex a5489d3aea..6d41f556df 100644Binary files a/apps/web/public/empty-state/project-settings/labels-dark.webp and b/apps/web/public/empty-state/project-settings/labels-dark.webp differdiff --git a/apps/web/public/empty-state/project-settings/labels-light-resp.webp b/apps/web/public/empty-state/project-settings/labels-light-resp.webpindex f49009b715..d992fb1f32 100644Binary files a/apps/web/public/empty-state/project-settings/labels-light-resp.webp and b/apps/web/public/empty-state/project-settings/labels-light-resp.webp differdiff --git a/apps/web/public/empty-state/project-settings/labels-light.webp b/apps/web/public/empty-state/project-settings/labels-light.webpindex eddb82f5fb..c6e7015445 100644Binary files a/apps/web/public/empty-state/project-settings/labels-light.webp and b/apps/web/public/empty-state/project-settings/labels-light.webp differdiff --git a/apps/web/public/empty-state/project-settings/updates-dark.png b/apps/web/public/empty-state/project-settings/updates-dark.pngnew file mode 100644index 0000000000..46e27091acBinary files /dev/null and b/apps/web/public/empty-state/project-settings/updates-dark.png differdiff --git a/apps/web/public/empty-state/project-settings/updates-light.png b/apps/web/public/empty-state/project-settings/updates-light.pngnew file mode 100644index 0000000000..d2e920876cBinary files /dev/null and b/apps/web/public/empty-state/project-settings/updates-light.png differdiff --git a/apps/web/public/empty-state/project/all-filters-dark.svg b/apps/web/public/empty-state/project/all-filters-dark.svgnew file mode 100644index 0000000000..e0d69c46ca--- /dev/null+++ b/apps/web/public/empty-state/project/all-filters-dark.svg@@ -0,0 +1,47 @@+<svg width="205" height="205" viewBox="0 0 205 205" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_940_236606)">+<circle cx="102.5" cy="102.5" r="102.5" fill="url(#paint0_linear_940_236606)"/>+<path d="M152.5 64.75H52.5C45.5964 64.75 40 70.3464 40 77.25V139.75C40 146.654 45.5964 152.25 52.5 152.25H152.5C159.404 152.25 165 146.654 165 139.75V77.25C165 70.3464 159.404 64.75 152.5 64.75Z" stroke="#4E4E54" stroke-width="3.36" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M127.5 152.25V52.25C127.5 48.9348 126.183 45.7554 123.839 43.4112C121.495 41.067 118.315 39.75 115 39.75H90C86.6848 39.75 83.5054 41.067 81.1612 43.4112C78.817 45.7554 77.5 48.9348 77.5 52.25V152.25" stroke="#4E4E54" stroke-width="3.36" stroke-linecap="round" stroke-linejoin="round"/>+<g filter="url(#filter0_ddd_940_236606)">+<circle cx="103.254" cy="173.828" r="31" fill="#006399"/>+<path d="M88.2516 163.827H118.252" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M94.9182 173.827H111.585" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M99.9182 183.827H106.585" stroke="black" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>+</g>+</g>+<defs>+<filter id="filter0_ddd_940_236606" x="64.2539" y="137.828" width="78" height="79" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">+<feFlood flood-opacity="0" result="BackgroundImageFix"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_940_236606"/>+<feOffset dy="2"/>+<feGaussianBlur stdDeviation="1.5"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0 0 0 0.051 0"/>+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_940_236606"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_940_236606"/>+<feOffset dy="3"/>+<feGaussianBlur stdDeviation="6"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.055 0"/>+<feBlend mode="normal" in2="effect1_dropShadow_940_236606" result="effect2_dropShadow_940_236606"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="8" operator="erode" in="SourceAlpha" result="effect3_dropShadow_940_236606"/>+<feOffset dy="4"/>+<feGaussianBlur stdDeviation="8"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.078 0"/>+<feBlend mode="normal" in2="effect2_dropShadow_940_236606" result="effect3_dropShadow_940_236606"/>+<feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_940_236606" result="shape"/>+</filter>+<linearGradient id="paint0_linear_940_236606" x1="102.5" y1="0" x2="102.5" y2="207.52" gradientUnits="userSpaceOnUse">+<stop stop-color="#242424"/>+<stop offset="1" stop-color="#171717" stop-opacity="0.16"/>+</linearGradient>+<clipPath id="clip0_940_236606">+<rect width="205" height="205" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/apps/web/public/empty-state/project/all-filters-light.svg b/apps/web/public/empty-state/project/all-filters-light.svgnew file mode 100644index 0000000000..93ac4de744--- /dev/null+++ b/apps/web/public/empty-state/project/all-filters-light.svg@@ -0,0 +1,42 @@+<svg width="205" height="217" viewBox="0 0 205 217" fill="none" xmlns="http://www.w3.org/2000/svg">+<circle cx="102.5" cy="102.5" r="102.5" fill="url(#paint0_linear_940_236597)"/>+<path d="M152.5 64.75H52.5C45.5964 64.75 40 70.3464 40 77.25V139.75C40 146.654 45.5964 152.25 52.5 152.25H152.5C159.404 152.25 165 146.654 165 139.75V77.25C165 70.3464 159.404 64.75 152.5 64.75Z" stroke="#B9BBC6" stroke-width="3.36" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M127.5 152.25V52.25C127.5 48.9348 126.183 45.7554 123.839 43.4112C121.495 41.067 118.315 39.75 115 39.75H90C86.6848 39.75 83.5054 41.067 81.1612 43.4112C78.817 45.7554 77.5 48.9348 77.5 52.25V152.25" stroke="#B9BBC6" stroke-width="3.36" stroke-linecap="round" stroke-linejoin="round"/>+<g filter="url(#filter0_ddd_940_236597)">+<circle cx="103.254" cy="173.828" r="31" fill="#006399"/>+<path d="M88.2539 163.828H118.254" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M94.9205 173.828H111.587" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M99.9205 183.828H106.587" stroke="white" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>+</g>+<defs>+<filter id="filter0_ddd_940_236597" x="64.2539" y="137.828" width="78" height="79" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">+<feFlood flood-opacity="0" result="BackgroundImageFix"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_940_236597"/>+<feOffset dy="2"/>+<feGaussianBlur stdDeviation="1.5"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0 0 0 0.051 0"/>+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_940_236597"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_940_236597"/>+<feOffset dy="3"/>+<feGaussianBlur stdDeviation="6"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.055 0"/>+<feBlend mode="normal" in2="effect1_dropShadow_940_236597" result="effect2_dropShadow_940_236597"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="8" operator="erode" in="SourceAlpha" result="effect3_dropShadow_940_236597"/>+<feOffset dy="4"/>+<feGaussianBlur stdDeviation="8"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.078 0"/>+<feBlend mode="normal" in2="effect2_dropShadow_940_236597" result="effect3_dropShadow_940_236597"/>+<feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_940_236597" result="shape"/>+</filter>+<linearGradient id="paint0_linear_940_236597" x1="102.5" y1="0" x2="102.5" y2="207.52" gradientUnits="userSpaceOnUse">+<stop stop-color="#F7F7F7"/>+<stop offset="1" stop-color="#F8F9FA" stop-opacity="0"/>+</linearGradient>+</defs>+</svg>diff --git a/apps/web/public/empty-state/project/all-filters.svg b/apps/web/public/empty-state/project/all-filters.svgdeleted file mode 100644index 0280bcf2d5..0000000000--- a/apps/web/public/empty-state/project/all-filters.svg+++ /dev/null@@ -1,42 +0,0 @@-<svg width="206" height="217" viewBox="0 0 206 217" fill="none" xmlns="http://www.w3.org/2000/svg">-<circle cx="103" cy="102.5" r="102.5" fill="url(#paint0_linear_8013_111910)"/>-<path d="M153 64.75H53C46.0964 64.75 40.5 70.3464 40.5 77.25V139.75C40.5 146.654 46.0964 152.25 53 152.25H153C159.904 152.25 165.5 146.654 165.5 139.75V77.25C165.5 70.3464 159.904 64.75 153 64.75Z" stroke="#B9BBC6" stroke-width="3.36" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M128 152.25V52.25C128 48.9348 126.683 45.7554 124.339 43.4112C121.995 41.067 118.815 39.75 115.5 39.75H90.5C87.1848 39.75 84.0054 41.067 81.6612 43.4112C79.317 45.7554 78 48.9348 78 52.25V152.25" stroke="#B9BBC6" stroke-width="3.36" stroke-linecap="round" stroke-linejoin="round"/>-<g filter="url(#filter0_ddd_8013_111910)">-<circle cx="104" cy="174" r="31" fill="#3A5BC7"/>-<path d="M89 164H119" stroke="#F9F9FB" stroke-width="3.57143" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M95.667 174H112.334" stroke="#F9F9FB" stroke-width="3.57143" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M100.667 184H107.334" stroke="#F9F9FB" stroke-width="3.57143" stroke-linecap="round" stroke-linejoin="round"/>-</g>-<defs>-<filter id="filter0_ddd_8013_111910" x="65" y="138" width="78" height="79" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">-<feFlood flood-opacity="0" result="BackgroundImageFix"/>-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_8013_111910"/>-<feOffset dy="2"/>-<feGaussianBlur stdDeviation="1.5"/>-<feComposite in2="hardAlpha" operator="out"/>-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0 0 0 0.051 0"/>-<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_8013_111910"/>-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_8013_111910"/>-<feOffset dy="3"/>-<feGaussianBlur stdDeviation="6"/>-<feComposite in2="hardAlpha" operator="out"/>-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.055 0"/>-<feBlend mode="normal" in2="effect1_dropShadow_8013_111910" result="effect2_dropShadow_8013_111910"/>-<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feMorphology radius="8" operator="erode" in="SourceAlpha" result="effect3_dropShadow_8013_111910"/>-<feOffset dy="4"/>-<feGaussianBlur stdDeviation="8"/>-<feComposite in2="hardAlpha" operator="out"/>-<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.078 0"/>-<feBlend mode="normal" in2="effect2_dropShadow_8013_111910" result="effect3_dropShadow_8013_111910"/>-<feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_8013_111910" result="shape"/>-</filter>-<linearGradient id="paint0_linear_8013_111910" x1="103" y1="0" x2="103" y2="207.52" gradientUnits="userSpaceOnUse">-<stop stop-color="#F7F7F7"/>-<stop offset="1" stop-color="#F8F9FA" stop-opacity="0"/>-</linearGradient>-</defs>-</svg>diff --git a/apps/web/public/empty-state/project/name-filter-dark.svg b/apps/web/public/empty-state/project/name-filter-dark.svgnew file mode 100644index 0000000000..df4c2379cc--- /dev/null+++ b/apps/web/public/empty-state/project/name-filter-dark.svg@@ -0,0 +1,46 @@+<svg width="205" height="205" viewBox="0 0 205 205" fill="none" xmlns="http://www.w3.org/2000/svg">+<g clip-path="url(#clip0_854_167649)">+<circle cx="102.5" cy="102.5" r="102.5" fill="url(#paint0_linear_854_167649)"/>+<path d="M152.5 64.75H52.5C45.5964 64.75 40 70.3464 40 77.25V139.75C40 146.654 45.5964 152.25 52.5 152.25H152.5C159.404 152.25 165 146.654 165 139.75V77.25C165 70.3464 159.404 64.75 152.5 64.75Z" stroke="#4E4E54" stroke-width="3.36" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M127.5 152.25V52.25C127.5 48.9348 126.183 45.7554 123.839 43.4112C121.495 41.067 118.315 39.75 115 39.75H90C86.6848 39.75 83.5054 41.067 81.1612 43.4112C78.817 45.7554 77.5 48.9348 77.5 52.25V152.25" stroke="#4E4E54" stroke-width="3.36" stroke-linecap="round" stroke-linejoin="round"/>+<g filter="url(#filter0_ddd_854_167649)">+<circle cx="103.254" cy="173.828" r="31" fill="#006399"/>+<path d="M101.573 185.582C108.992 185.582 115.006 179.567 115.006 172.148C115.006 164.729 108.992 158.715 101.573 158.715C94.1536 158.715 88.1393 164.729 88.1393 172.148C88.1393 179.567 94.1536 185.582 101.573 185.582Z" stroke="#1C2024" stroke-width="2.52049" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M118.364 188.94L111.144 181.719" stroke="#1C2024" stroke-width="2.52049" stroke-linecap="round" stroke-linejoin="round"/>+</g>+</g>+<defs>+<filter id="filter0_ddd_854_167649" x="64.2539" y="137.828" width="78" height="79" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">+<feFlood flood-opacity="0" result="BackgroundImageFix"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_854_167649"/>+<feOffset dy="2"/>+<feGaussianBlur stdDeviation="1.5"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0 0 0 0.051 0"/>+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_854_167649"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_854_167649"/>+<feOffset dy="3"/>+<feGaussianBlur stdDeviation="6"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.055 0"/>+<feBlend mode="normal" in2="effect1_dropShadow_854_167649" result="effect2_dropShadow_854_167649"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="8" operator="erode" in="SourceAlpha" result="effect3_dropShadow_854_167649"/>+<feOffset dy="4"/>+<feGaussianBlur stdDeviation="8"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.078 0"/>+<feBlend mode="normal" in2="effect2_dropShadow_854_167649" result="effect3_dropShadow_854_167649"/>+<feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_854_167649" result="shape"/>+</filter>+<linearGradient id="paint0_linear_854_167649" x1="102.5" y1="0" x2="102.5" y2="207.52" gradientUnits="userSpaceOnUse">+<stop stop-color="#242424"/>+<stop offset="1" stop-color="#171717" stop-opacity="0.16"/>+</linearGradient>+<clipPath id="clip0_854_167649">+<rect width="205" height="205" fill="white"/>+</clipPath>+</defs>+</svg>diff --git a/apps/web/public/empty-state/project/name-filter-light.svg b/apps/web/public/empty-state/project/name-filter-light.svgnew file mode 100644index 0000000000..ec63228370--- /dev/null+++ b/apps/web/public/empty-state/project/name-filter-light.svg@@ -0,0 +1,41 @@+<svg width="205" height="217" viewBox="0 0 205 217" fill="none" xmlns="http://www.w3.org/2000/svg">+<circle cx="102.5" cy="102.5" r="102.5" fill="url(#paint0_linear_854_167632)"/>+<path d="M152.5 64.75H52.5C45.5964 64.75 40 70.3464 40 77.25V139.75C40 146.654 45.5964 152.25 52.5 152.25H152.5C159.404 152.25 165 146.654 165 139.75V77.25C165 70.3464 159.404 64.75 152.5 64.75Z" stroke="#B9BBC6" stroke-width="3.36" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M127.5 152.25V52.25C127.5 48.9348 126.183 45.7554 123.839 43.4112C121.495 41.067 118.315 39.75 115 39.75H90C86.6848 39.75 83.5054 41.067 81.1612 43.4112C78.817 45.7554 77.5 48.9348 77.5 52.25V152.25" stroke="#B9BBC6" stroke-width="3.36" stroke-linecap="round" stroke-linejoin="round"/>+<g filter="url(#filter0_ddd_854_167632)">+<circle cx="103.254" cy="173.828" r="31" fill="#006399"/>+<path d="M101.575 185.582C108.994 185.582 115.008 179.568 115.008 172.149C115.008 164.73 108.994 158.715 101.575 158.715C94.1555 158.715 88.1412 164.73 88.1412 172.149C88.1412 179.568 94.1555 185.582 101.575 185.582Z" stroke="white" stroke-width="2.52049" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M118.366 188.94L111.146 181.72" stroke="white" stroke-width="2.52049" stroke-linecap="round" stroke-linejoin="round"/>+</g>+<defs>+<filter id="filter0_ddd_854_167632" x="64.2539" y="137.828" width="78" height="79" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">+<feFlood flood-opacity="0" result="BackgroundImageFix"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_854_167632"/>+<feOffset dy="2"/>+<feGaussianBlur stdDeviation="1.5"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0 0 0 0.051 0"/>+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_854_167632"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_854_167632"/>+<feOffset dy="3"/>+<feGaussianBlur stdDeviation="6"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.055 0"/>+<feBlend mode="normal" in2="effect1_dropShadow_854_167632" result="effect2_dropShadow_854_167632"/>+<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>+<feMorphology radius="8" operator="erode" in="SourceAlpha" result="effect3_dropShadow_854_167632"/>+<feOffset dy="4"/>+<feGaussianBlur stdDeviation="8"/>+<feComposite in2="hardAlpha" operator="out"/>+<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.078 0"/>+<feBlend mode="normal" in2="effect2_dropShadow_854_167632" result="effect3_dropShadow_854_167632"/>+<feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_854_167632" result="shape"/>+</filter>+<linearGradient id="paint0_linear_854_167632" x1="102.5" y1="0" x2="102.5" y2="207.52" gradientUnits="userSpaceOnUse">+<stop stop-color="#F7F7F7"/>+<stop offset="1" stop-color="#F8F9FA" stop-opacity="0"/>+</linearGradient>+</defs>+</svg>diff --git a/apps/web/public/empty-state/project/name-filter.svg b/apps/web/public/empty-state/project/name-filter.svgindex a1e89c9a04..ec63228370 100644--- a/apps/web/public/empty-state/project/name-filter.svg+++ b/apps/web/public/empty-state/project/name-filter.svg@@ -1,39 +1,39 @@-<svg width="206" height="217" viewBox="0 0 206 217" fill="none" xmlns="http://www.w3.org/2000/svg">-<circle cx="103" cy="102.5" r="102.5" fill="url(#paint0_linear_8013_110289)"/>-<path d="M153 64.75H53C46.0964 64.75 40.5 70.3464 40.5 77.25V139.75C40.5 146.654 46.0964 152.25 53 152.25H153C159.904 152.25 165.5 146.654 165.5 139.75V77.25C165.5 70.3464 159.904 64.75 153 64.75Z" stroke="#B9BBC6" stroke-width="3.36" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M128 152.25V52.25C128 48.9348 126.683 45.7554 124.339 43.4112C121.995 41.067 118.815 39.75 115.5 39.75H90.5C87.1848 39.75 84.0054 41.067 81.6612 43.4112C79.317 45.7554 78 48.9348 78 52.25V152.25" stroke="#B9BBC6" stroke-width="3.36" stroke-linecap="round" stroke-linejoin="round"/>-<g filter="url(#filter0_ddd_8013_110289)">-<circle cx="103.754" cy="173.828" r="31" fill="#3A5BC7"/>-<path d="M102.074 185.584C109.493 185.584 115.508 179.57 115.508 172.151C115.508 164.732 109.493 158.717 102.074 158.717C94.6553 158.717 88.641 164.732 88.641 172.151C88.641 179.57 94.6553 185.584 102.074 185.584Z" stroke="white" stroke-width="2.52049" stroke-linecap="round" stroke-linejoin="round"/>-<path d="M118.866 188.942L111.646 181.722" stroke="white" stroke-width="2.52049" stroke-linecap="round" stroke-linejoin="round"/>+<svg width="205" height="217" viewBox="0 0 205 217" fill="none" xmlns="http://www.w3.org/2000/svg">+<circle cx="102.5" cy="102.5" r="102.5" fill="url(#paint0_linear_854_167632)"/>+<path d="M152.5 64.75H52.5C45.5964 64.75 40 70.3464 40 77.25V139.75C40 146.654 45.5964 152.25 52.5 152.25H152.5C159.404 152.25 165 146.654 165 139.75V77.25C165 70.3464 159.404 64.75 152.5 64.75Z" stroke="#B9BBC6" stroke-width="3.36" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M127.5 152.25V52.25C127.5 48.9348 126.183 45.7554 123.839 43.4112C121.495 41.067 118.315 39.75 115 39.75H90C86.6848 39.75 83.5054 41.067 81.1612 43.4112C78.817 45.7554 77.5 48.9348 77.5 52.25V152.25" stroke="#B9BBC6" stroke-width="3.36" stroke-linecap="round" stroke-linejoin="round"/>+<g filter="url(#filter0_ddd_854_167632)">+<circle cx="103.254" cy="173.828" r="31" fill="#006399"/>+<path d="M101.575 185.582C108.994 185.582 115.008 179.568 115.008 172.149C115.008 164.73 108.994 158.715 101.575 158.715C94.1555 158.715 88.1412 164.73 88.1412 172.149C88.1412 179.568 94.1555 185.582 101.575 185.582Z" stroke="white" stroke-width="2.52049" stroke-linecap="round" stroke-linejoin="round"/>+<path d="M118.366 188.94L111.146 181.72" stroke="white" stroke-width="2.52049" stroke-linecap="round" stroke-linejoin="round"/></g><defs>-<filter id="filter0_ddd_8013_110289" x="64.7539" y="137.828" width="78" height="79" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">+<filter id="filter0_ddd_854_167632" x="64.2539" y="137.828" width="78" height="79" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_8013_110289"/>+<feMorphology radius="2" operator="erode" in="SourceAlpha" result="effect1_dropShadow_854_167632"/><feOffset dy="2"/><feGaussianBlur stdDeviation="1.5"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.24 0 0 0 0.051 0"/>-<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_8013_110289"/>+<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_854_167632"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_8013_110289"/>+<feMorphology radius="4" operator="erode" in="SourceAlpha" result="effect2_dropShadow_854_167632"/><feOffset dy="3"/><feGaussianBlur stdDeviation="6"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.055 0"/>-<feBlend mode="normal" in2="effect1_dropShadow_8013_110289" result="effect2_dropShadow_8013_110289"/>+<feBlend mode="normal" in2="effect1_dropShadow_854_167632" result="effect2_dropShadow_854_167632"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>-<feMorphology radius="8" operator="erode" in="SourceAlpha" result="effect3_dropShadow_8013_110289"/>+<feMorphology radius="8" operator="erode" in="SourceAlpha" result="effect3_dropShadow_854_167632"/><feOffset dy="4"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.078 0"/>-<feBlend mode="normal" in2="effect2_dropShadow_8013_110289" result="effect3_dropShadow_8013_110289"/>-<feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_8013_110289" result="shape"/>+<feBlend mode="normal" in2="effect2_dropShadow_854_167632" result="effect3_dropShadow_854_167632"/>+<feBlend mode="normal" in="SourceGraphic" in2="effect3_dropShadow_854_167632" result="shape"/></filter>-<linearGradient id="paint0_linear_8013_110289" x1="103" y1="0" x2="103" y2="207.52" gradientUnits="userSpaceOnUse">+<linearGradient id="paint0_linear_854_167632" x1="102.5" y1="0" x2="102.5" y2="207.52" gradientUnits="userSpaceOnUse"><stop stop-color="#F7F7F7"/><stop offset="1" stop-color="#F8F9FA" stop-opacity="0"/></linearGradient>diff --git a/apps/web/public/empty-state/search/all-issue-view-dark.webp b/apps/web/public/empty-state/search/all-issue-view-dark.webpindex 5db15e1651..dbc69c0aa7 100644Binary files a/apps/web/public/empty-state/search/all-issue-view-dark.webp and b/apps/web/public/empty-state/search/all-issue-view-dark.webp differdiff --git a/apps/web/public/empty-state/search/all-issues-view-light.webp b/apps/web/public/empty-state/search/all-issues-view-light.webpindex af44f0ed75..829b97377b 100644Binary files a/apps/web/public/empty-state/search/all-issues-view-light.webp and b/apps/web/public/empty-state/search/all-issues-view-light.webp differdiff --git a/apps/web/public/empty-state/search/project-dark.webp b/apps/web/public/empty-state/search/project-dark.webpindex c25806b5bc..98c65721a8 100644Binary files a/apps/web/public/empty-state/search/project-dark.webp and b/apps/web/public/empty-state/search/project-dark.webp differdiff --git a/apps/web/public/empty-state/search/project-light.webp b/apps/web/public/empty-state/search/project-light.webpindex 2e4bbad4ca..cb3e470d02 100644Binary files a/apps/web/public/empty-state/search/project-light.webp and b/apps/web/public/empty-state/search/project-light.webp differdiff --git a/apps/web/public/empty-state/search/views-dark.webp b/apps/web/public/empty-state/search/views-dark.webpindex e1d1ec796a..96da5e3365 100644Binary files a/apps/web/public/empty-state/search/views-dark.webp and b/apps/web/public/empty-state/search/views-dark.webp differdiff --git a/apps/web/public/empty-state/search/views-light.webp b/apps/web/public/empty-state/search/views-light.webpindex e7a35f6547..3cd1d23fd5 100644Binary files a/apps/web/public/empty-state/search/views-light.webp and b/apps/web/public/empty-state/search/views-light.webp differdiff --git a/apps/web/public/empty-state/stickies/stickies-dark.webp b/apps/web/public/empty-state/stickies/stickies-dark.webpindex d50f957d78..a93e44baaf 100644Binary files a/apps/web/public/empty-state/stickies/stickies-dark.webp and b/apps/web/public/empty-state/stickies/stickies-dark.webp differdiff --git a/apps/web/public/empty-state/stickies/stickies-light.webp b/apps/web/public/empty-state/stickies/stickies-light.webpindex 041806a389..c7fd1f1251 100644Binary files a/apps/web/public/empty-state/stickies/stickies-light.webp and b/apps/web/public/empty-state/stickies/stickies-light.webp differdiff --git a/apps/web/public/empty-state/stickies/stickies-search-dark.webp b/apps/web/public/empty-state/stickies/stickies-search-dark.webpindex 50d15f2f7a..6afdc0c51b 100644Binary files a/apps/web/public/empty-state/stickies/stickies-search-dark.webp and b/apps/web/public/empty-state/stickies/stickies-search-dark.webp differdiff --git a/apps/web/public/empty-state/stickies/stickies-search-light.webp b/apps/web/public/empty-state/stickies/stickies-search-light.webpindex fe341ce0a4..2b8ca8c9c1 100644Binary files a/apps/web/public/empty-state/stickies/stickies-search-light.webp and b/apps/web/public/empty-state/stickies/stickies-search-light.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/api-tokens-dark-resp.webp b/apps/web/public/empty-state/workspace-settings/api-tokens-dark-resp.webpindex 1ac7f6dd94..ae19eb46fb 100644Binary files a/apps/web/public/empty-state/workspace-settings/api-tokens-dark-resp.webp and b/apps/web/public/empty-state/workspace-settings/api-tokens-dark-resp.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/api-tokens-dark.webp b/apps/web/public/empty-state/workspace-settings/api-tokens-dark.webpindex 768e692330..bddaf05dff 100644Binary files a/apps/web/public/empty-state/workspace-settings/api-tokens-dark.webp and b/apps/web/public/empty-state/workspace-settings/api-tokens-dark.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/api-tokens-light-resp.webp b/apps/web/public/empty-state/workspace-settings/api-tokens-light-resp.webpindex 1ed0bf3670..2ec9bf8bf5 100644Binary files a/apps/web/public/empty-state/workspace-settings/api-tokens-light-resp.webp and b/apps/web/public/empty-state/workspace-settings/api-tokens-light-resp.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/api-tokens-light.webp b/apps/web/public/empty-state/workspace-settings/api-tokens-light.webpindex 537532c76c..ba3bc585e0 100644Binary files a/apps/web/public/empty-state/workspace-settings/api-tokens-light.webp and b/apps/web/public/empty-state/workspace-settings/api-tokens-light.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/exports-dark-resp.webp b/apps/web/public/empty-state/workspace-settings/exports-dark-resp.webpindex b175142b36..6417ffa361 100644Binary files a/apps/web/public/empty-state/workspace-settings/exports-dark-resp.webp and b/apps/web/public/empty-state/workspace-settings/exports-dark-resp.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/exports-dark.webp b/apps/web/public/empty-state/workspace-settings/exports-dark.webpindex beac5a82e1..b0911c901d 100644Binary files a/apps/web/public/empty-state/workspace-settings/exports-dark.webp and b/apps/web/public/empty-state/workspace-settings/exports-dark.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/exports-light-resp.webp b/apps/web/public/empty-state/workspace-settings/exports-light-resp.webpindex 65c4297b95..29a695f356 100644Binary files a/apps/web/public/empty-state/workspace-settings/exports-light-resp.webp and b/apps/web/public/empty-state/workspace-settings/exports-light-resp.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/exports-light.webp b/apps/web/public/empty-state/workspace-settings/exports-light.webpindex 6d482cddb9..5e08f21d74 100644Binary files a/apps/web/public/empty-state/workspace-settings/exports-light.webp and b/apps/web/public/empty-state/workspace-settings/exports-light.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/imports-dark-resp.webp b/apps/web/public/empty-state/workspace-settings/imports-dark-resp.webpindex 5aefc4110d..70e789b4a9 100644Binary files a/apps/web/public/empty-state/workspace-settings/imports-dark-resp.webp and b/apps/web/public/empty-state/workspace-settings/imports-dark-resp.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/imports-dark.webp b/apps/web/public/empty-state/workspace-settings/imports-dark.webpindex 65642f6129..428ee978b8 100644Binary files a/apps/web/public/empty-state/workspace-settings/imports-dark.webp and b/apps/web/public/empty-state/workspace-settings/imports-dark.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/imports-light-resp.webp b/apps/web/public/empty-state/workspace-settings/imports-light-resp.webpindex 5a24ad681a..9bc95efa97 100644Binary files a/apps/web/public/empty-state/workspace-settings/imports-light-resp.webp and b/apps/web/public/empty-state/workspace-settings/imports-light-resp.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/imports-light.webp b/apps/web/public/empty-state/workspace-settings/imports-light.webpindex fe0307065d..5f42180eb0 100644Binary files a/apps/web/public/empty-state/workspace-settings/imports-light.webp and b/apps/web/public/empty-state/workspace-settings/imports-light.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/webhooks-dark-resp.webp b/apps/web/public/empty-state/workspace-settings/webhooks-dark-resp.webpindex dde3ca7189..7923073218 100644Binary files a/apps/web/public/empty-state/workspace-settings/webhooks-dark-resp.webp and b/apps/web/public/empty-state/workspace-settings/webhooks-dark-resp.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/webhooks-dark.webp b/apps/web/public/empty-state/workspace-settings/webhooks-dark.webpindex 9196c14afc..88a584eb85 100644Binary files a/apps/web/public/empty-state/workspace-settings/webhooks-dark.webp and b/apps/web/public/empty-state/workspace-settings/webhooks-dark.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/webhooks-light-resp.webp b/apps/web/public/empty-state/workspace-settings/webhooks-light-resp.webpindex 8ee7a80784..ecb0f28acc 100644Binary files a/apps/web/public/empty-state/workspace-settings/webhooks-light-resp.webp and b/apps/web/public/empty-state/workspace-settings/webhooks-light-resp.webp differdiff --git a/apps/web/public/empty-state/workspace-settings/webhooks-light.webp b/apps/web/public/empty-state/workspace-settings/webhooks-light.webpindex d51d586966..6c76b5af76 100644Binary files a/apps/web/public/empty-state/workspace-settings/webhooks-light.webp and b/apps/web/public/empty-state/workspace-settings/webhooks-light.webp differdiff --git a/apps/web/public/favicon/android-chrome-192x192.png b/apps/web/public/favicon/android-chrome-192x192.pngindex b624cfc353..4a005e5423 100644Binary files a/apps/web/public/favicon/android-chrome-192x192.png and b/apps/web/public/favicon/android-chrome-192x192.png differdiff --git a/apps/web/public/favicon/android-chrome-512x512.png b/apps/web/public/favicon/android-chrome-512x512.pngindex 7da565efaa..27fafe822d 100644Binary files a/apps/web/public/favicon/android-chrome-512x512.png and b/apps/web/public/favicon/android-chrome-512x512.png differdiff --git a/apps/web/public/favicon/apple-touch-icon.png b/apps/web/public/favicon/apple-touch-icon.pngindex 38b707c41b..a631267832 100644Binary files a/apps/web/public/favicon/apple-touch-icon.png and b/apps/web/public/favicon/apple-touch-icon.png differdiff --git a/apps/web/public/favicon/favicon-16x16.png b/apps/web/public/favicon/favicon-16x16.pngindex e4fd74c31f..af59ef0108 100644Binary files a/apps/web/public/favicon/favicon-16x16.png and b/apps/web/public/favicon/favicon-16x16.png differdiff --git a/apps/web/public/favicon/favicon-32x32.png b/apps/web/public/favicon/favicon-32x32.pngindex 76136f9f01..16a1271ad8 100644Binary files a/apps/web/public/favicon/favicon-32x32.png and b/apps/web/public/favicon/favicon-32x32.png differdiff --git a/apps/web/public/favicon/favicon.ico b/apps/web/public/favicon/favicon.icoindex a9b32a668d..613b1a3136 100644Binary files a/apps/web/public/favicon/favicon.ico and b/apps/web/public/favicon/favicon.ico differdiff --git a/apps/web/public/images/logo-spinner-dark.gif b/apps/web/public/images/logo-spinner-dark.gifindex 4e0a1deb7b..8bd0832556 100644Binary files a/apps/web/public/images/logo-spinner-dark.gif and b/apps/web/public/images/logo-spinner-dark.gif differdiff --git a/apps/web/public/images/logo-spinner-light.gif b/apps/web/public/images/logo-spinner-light.gifindex 7c9bfbe0ed..8b57103142 100644Binary files a/apps/web/public/images/logo-spinner-light.gif and b/apps/web/public/images/logo-spinner-light.gif differdiff --git a/apps/web/public/og-image.png b/apps/web/public/og-image.pngindex 75858098f4..dbf89c67a8 100644Binary files a/apps/web/public/og-image.png and b/apps/web/public/og-image.png differdiff --git a/apps/web/public/onboarding/create-join-workspace-dark.webp b/apps/web/public/onboarding/create-join-workspace-dark.webpdeleted file mode 100644index 5aa4764080..0000000000Binary files a/apps/web/public/onboarding/create-join-workspace-dark.webp and /dev/null differdiff --git a/apps/web/public/onboarding/create-join-workspace-light.webp b/apps/web/public/onboarding/create-join-workspace-light.webpdeleted file mode 100644index de3b50c21b..0000000000Binary files a/apps/web/public/onboarding/create-join-workspace-light.webp and /dev/null differdiff --git a/apps/web/public/onboarding/invite-members-dark.webp b/apps/web/public/onboarding/invite-members-dark.webpdeleted file mode 100644index aee852d44c..0000000000Binary files a/apps/web/public/onboarding/invite-members-dark.webp and /dev/null differdiff --git a/apps/web/public/onboarding/invite-members-light.webp b/apps/web/public/onboarding/invite-members-light.webpdeleted file mode 100644index f994108507..0000000000Binary files a/apps/web/public/onboarding/invite-members-light.webp and /dev/null differdiff --git a/apps/web/public/onboarding/profile-setup-dark.webp b/apps/web/public/onboarding/profile-setup-dark.webpdeleted file mode 100644index e3d07a05d2..0000000000Binary files a/apps/web/public/onboarding/profile-setup-dark.webp and /dev/null differdiff --git a/apps/web/public/onboarding/profile-setup-light.webp b/apps/web/public/onboarding/profile-setup-light.webpdeleted file mode 100644index cdce833b2e..0000000000Binary files a/apps/web/public/onboarding/profile-setup-light.webp and /dev/null differdiff --git a/apps/web/public/onboarding/user-personalization-dark.webp b/apps/web/public/onboarding/user-personalization-dark.webpdeleted file mode 100644index 37e369732b..0000000000Binary files a/apps/web/public/onboarding/user-personalization-dark.webp and /dev/null differdiff --git a/apps/web/public/onboarding/user-personalization-light.webp b/apps/web/public/onboarding/user-personalization-light.webpdeleted file mode 100644index e086952473..0000000000Binary files a/apps/web/public/onboarding/user-personalization-light.webp and /dev/null differdiff --git a/apps/web/styles/globals.css b/apps/web/styles/globals.cssindex e40dd9bbbc..43e4bff189 100644--- a/apps/web/styles/globals.css+++ b/apps/web/styles/globals.css@@ -41,24 +41,24 @@:root {color-scheme: light !important;- --color-primary-10: 236, 241, 255;- --color-primary-20: 217, 228, 255;- --color-primary-30: 197, 214, 255;- --color-primary-40: 178, 200, 255;- --color-primary-50: 159, 187, 255;- --color-primary-60: 140, 173, 255;- --color-primary-70: 121, 159, 255;- --color-primary-80: 101, 145, 255;- --color-primary-90: 82, 132, 255;- --color-primary-100: 63, 118, 255;- --color-primary-200: 57, 106, 230;- --color-primary-300: 50, 94, 204;- --color-primary-400: 44, 83, 179;- --color-primary-500: 38, 71, 153;- --color-primary-600: 32, 59, 128;- --color-primary-700: 25, 47, 102;- --color-primary-800: 19, 35, 76;- --color-primary-900: 13, 24, 51;+ --color-primary-10: 229, 243, 250;+ --color-primary-20: 216, 237, 248;+ --color-primary-30: 199, 229, 244;+ --color-primary-40: 169, 214, 239;+ --color-primary-50: 144, 202, 234;+ --color-primary-60: 109, 186, 227;+ --color-primary-70: 75, 170, 221;+ --color-primary-80: 41, 154, 214;+ --color-primary-90: 34, 129, 180;+ --color-primary-100: 0, 99, 153;+ --color-primary-200: 0, 92, 143;+ --color-primary-300: 0, 86, 133;+ --color-primary-400: 0, 77, 117;+ --color-primary-500: 0, 66, 102;+ --color-primary-600: 0, 53, 82;+ --color-primary-700: 0, 43, 66;+ --color-primary-800: 0, 33, 51;+ --color-primary-900: 0, 23, 36;--color-error-10: 255 252 252;--color-error-20: 255 247 247;@@ -292,6 +292,25 @@[data-theme="dark-contrast"] {color-scheme: dark !important;+ --color-primary-10: 8, 31, 43;+ --color-primary-20: 10, 37, 51;+ --color-primary-30: 13, 49, 69;+ --color-primary-40: 16, 58, 81;+ --color-primary-50: 18, 68, 94;+ --color-primary-60: 23, 86, 120;+ --color-primary-70: 28, 104, 146;+ --color-primary-80: 31, 116, 163;+ --color-primary-90: 34, 129, 180;+ --color-primary-100: 40, 146, 204;+ --color-primary-200: 41, 154, 214;+ --color-primary-300: 75, 170, 221;+ --color-primary-400: 109, 186, 227;+ --color-primary-500: 144, 202, 234;+ --color-primary-600: 169, 214, 239;+ --color-primary-700: 199, 229, 244;+ --color-primary-800: 216, 237, 248;+ --color-primary-900: 229, 243, 250;+--color-background-100: 25, 25, 25; /* primary bg */--color-background-90: 32, 32, 32; /* secondary bg */--color-background-80: 44, 44, 44; /* tertiary bg */@@ -420,25 +439,6 @@[data-theme="dark"],[data-theme="light-contrast"],[data-theme="dark-contrast"] {- --color-primary-10: 236, 241, 255;- --color-primary-20: 217, 228, 255;- --color-primary-30: 197, 214, 255;- --color-primary-40: 178, 200, 255;- --color-primary-50: 159, 187, 255;- --color-primary-60: 140, 173, 255;- --color-primary-70: 121, 159, 255;- --color-primary-80: 101, 145, 255;- --color-primary-90: 82, 132, 255;- --color-primary-100: 63, 118, 255;- --color-primary-200: 57, 106, 230;- --color-primary-300: 50, 94, 204;- --color-primary-400: 44, 83, 179;- --color-primary-500: 38, 71, 153;- --color-primary-600: 32, 59, 128;- --color-primary-700: 25, 47, 102;- --color-primary-800: 19, 35, 76;- --color-primary-900: 13, 24, 51;---color-sidebar-background-100: var(--color-background-100); /* primary sidebar bg */--color-sidebar-background-90: var(--color-background-90); /* secondary sidebar bg */--color-sidebar-background-80: var(--color-background-80); /* tertiary sidebar bg */diff --git a/apps/web/styles/nprogress.css b/apps/web/styles/nprogress.cssindex 772360a82e..ef9f4bb1f7 100644--- a/apps/web/styles/nprogress.css+++ b/apps/web/styles/nprogress.css@@ -3,7 +3,7 @@}#nprogress .bar {- background: #3f76ff;+ background: rgba(var(--color-primary-100));position: fixed;z-index: 1031;@@ -22,8 +22,8 @@width: 100px;height: 100%;box-shadow:- 0 0 10px #3f76ff,- 0 0 5px #3f76ff;+ 0 0 10px rgba(var(--color-primary-100)),+ 0 0 5px rgba(var(--color-primary-100));opacity: 1;-webkit-transform: rotate(3deg) translate(0px, -4px);diff --git a/packages/constants/src/workspace.ts b/packages/constants/src/workspace.tsindex 4d39db279c..693fad238e 100644--- a/packages/constants/src/workspace.ts+++ b/packages/constants/src/workspace.ts@@ -1,13 +1,6 @@import { TStaticViewTypes, IWorkspaceSearchResults, EUserWorkspaceRoles } from "@plane/types";-export const ORGANIZATION_SIZE = [- "Just myself", // TODO: translate- "2-10",- "11-50",- "51-200",- "201-500",- "500+",-];+export const ORGANIZATION_SIZE = ["Just myself", "2-10", "11-50", "51-200", "201-500", "500+"];export const RESTRICTED_URLS = ["404",@@ -335,3 +328,11 @@ export const WORKSPACE_DEFAULT_SEARCH_RESULT: IWorkspaceSearchResults = {page: [],},};++export const USE_CASES = [+ "Plan and track product roadmaps",+ "Manage engineering sprints",+ "Coordinate cross-functional projects",+ "Replace our current tool",+ "Just exploring",+];diff --git a/packages/tailwind-config/tailwind.config.js b/packages/tailwind-config/tailwind.config.jsindex 42e98e0a5b..cf6b574aa4 100644--- a/packages/tailwind-config/tailwind.config.js+++ b/packages/tailwind-config/tailwind.config.js@@ -48,7 +48,6 @@ module.exports = {"custom-sidebar-shadow-2xl": "var(--color-sidebar-shadow-2xl)","custom-sidebar-shadow-3xl": "var(--color-sidebar-shadow-3xl)","custom-sidebar-shadow-4xl": "var(--color-sidebar-shadow-4xl)",- "onboarding-shadow-sm": "var(--color-onboarding-shadow-sm)",},colors: {custom: {@@ -232,25 +231,6 @@ module.exports = {},},},- onboarding: {- background: {- 100: convertToRGB("--color-onboarding-background-100"),- 200: convertToRGB("--color-onboarding-background-200"),- 300: convertToRGB("--color-onboarding-background-300"),- 400: convertToRGB("--color-onboarding-background-400"),- },- text: {- 100: convertToRGB("--color-onboarding-text-100"),- 200: convertToRGB("--color-onboarding-text-200"),- 300: convertToRGB("--color-onboarding-text-300"),- 400: convertToRGB("--color-onboarding-text-400"),- },- border: {- 100: convertToRGB("--color-onboarding-border-100"),- 200: convertToRGB("--color-onboarding-border-200"),- 300: convertToRGB("--color-onboarding-border-300"),- },- },toast: {text: {success: convertToRGB("--color-toast-success-text"),@@ -459,11 +439,6 @@ module.exports = {80: "18rem",96: "21.6rem",},- backgroundImage: {- "onboarding-gradient-100": "var( --gradient-onboarding-100)",- "onboarding-gradient-200": "var( --gradient-onboarding-200)",- "onboarding-gradient-300": "var( --gradient-onboarding-300)",- },fontFamily: {custom: ["Inter", "sans-serif"],},diff --git a/packages/types/src/current-user/profile.ts b/packages/types/src/current-user/profile.tsindex 00ed5c0b58..64a25a93cf 100644--- a/packages/types/src/current-user/profile.ts+++ b/packages/types/src/current-user/profile.ts@@ -23,6 +23,7 @@ export type TUserProfile = {billing_address_country: string | undefined;billing_address: string | undefined;has_billing_address: boolean;+ has_marketing_email_consent: boolean;created_at: Date | string;updated_at: Date | string;diff --git a/packages/types/src/users.ts b/packages/types/src/users.tsindex 29357e1a50..170492dc68 100644--- a/packages/types/src/users.ts+++ b/packages/types/src/users.ts@@ -76,6 +76,7 @@ export type TUserProfile = {billing_address_country: string | undefined;billing_address: string | undefined;has_billing_address: boolean;+ has_marketing_email_consent: boolean;language: string;created_at: Date | string;updated_at: Date | string;diff --git a/packages/types/src/workspace.ts b/packages/types/src/workspace.tsindex 4b5c3df618..7dec263541 100644--- a/packages/types/src/workspace.ts+++ b/packages/types/src/workspace.ts@@ -243,3 +243,18 @@ export interface IWorkspaceSidebarNavigationItem {export interface IWorkspaceSidebarNavigation {[key: string]: IWorkspaceSidebarNavigationItem;}++export enum EOnboardingSteps {+ PROFILE_SETUP = "PROFILE_SETUP",+ ROLE_SETUP = "ROLE_SETUP",+ USE_CASE_SETUP = "USE_CASE_SETUP",+ WORKSPACE_CREATE_OR_JOIN = "WORKSPACE_CREATE_OR_JOIN",+ INVITE_MEMBERS = "INVITE_MEMBERS",+}++export type TOnboardingStep = EOnboardingSteps;++export enum ECreateOrJoinWorkspaceViews {+ WORKSPACE_CREATE = "WORKSPACE_CREATE",+ WORKSPACE_JOIN = "WORKSPACE_JOIN",+}diff --git a/packages/ui/src/auth-form/auth-confirm-password-input.tsx b/packages/ui/src/auth-form/auth-confirm-password-input.tsxnew file mode 100644index 0000000000..81994790b8--- /dev/null+++ b/packages/ui/src/auth-form/auth-confirm-password-input.tsx@@ -0,0 +1,77 @@+import React, { useState } from "react";+import { cn } from "@plane/utils";+import { AuthInput } from "./auth-input";++export interface AuthConfirmPasswordInputProps+ extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "autoComplete"> {+ password: string;+ label?: string;+ error?: string;+ showPasswordToggle?: boolean;+ containerClassName?: string;+ labelClassName?: string;+ errorClassName?: string;+ autoComplete?: "on" | "off";+ onPasswordMatchChange?: (matches: boolean) => void;+}++export const AuthConfirmPasswordInput: React.FC<AuthConfirmPasswordInputProps> = ({+ password,+ label = "Confirm Password",+ error,+ showPasswordToggle = true,+ containerClassName = "",+ errorClassName = "",+ className = "",+ value = "",+ onChange,+ onPasswordMatchChange,+ ...props+}) => {+ const [isFocused, setIsFocused] = useState(false);++ const confirmPassword = value as string;+ const passwordsMatch = password === confirmPassword && password.length > 0;+ const showMatchError =+ confirmPassword.length > 0 && !passwordsMatch && (!isFocused || confirmPassword.length >= password.length);++ const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {+ const newConfirmPassword = e.target.value;+ onChange?.(e);+ onPasswordMatchChange?.(password === newConfirmPassword && password.length > 0);+ };++ const handleFocus = () => {+ setIsFocused(true);+ };++ const handleBlur = () => {+ setIsFocused(false);+ };++ const getError = () => {+ if (error) return error;+ if (showMatchError) return "Passwords don't match";+ return "";+ };++ return (+ <div className={cn("space-y-2", containerClassName)}>+ <AuthInput+ {...props}+ type="password"+ label={label}+ error={getError()}+ showPasswordToggle={showPasswordToggle}+ errorClassName={errorClassName}+ className={className}+ value={value}+ onChange={handleChange}+ onFocus={handleFocus}+ onBlur={handleBlur}+ autoComplete="on"+ />+ {confirmPassword && passwordsMatch && <p className="text-sm text-green-500">Passwords match</p>}+ </div>+ );+};diff --git a/packages/ui/src/auth-form/auth-forgot-password.tsx b/packages/ui/src/auth-form/auth-forgot-password.tsxnew file mode 100644index 0000000000..44f27a1f58--- /dev/null+++ b/packages/ui/src/auth-form/auth-forgot-password.tsx@@ -0,0 +1,41 @@+import React from "react";+import { cn } from "../../helpers";++export interface AuthForgotPasswordProps {+ onForgotPassword?: () => void;+ className?: string;+ text?: string;+ disabled?: boolean;+}++export const AuthForgotPassword: React.FC<AuthForgotPasswordProps> = ({+ onForgotPassword,+ className = "",+ text = "Forgot your password?",+ disabled = false,+}) => {+ const handleClick = (e: React.MouseEvent) => {+ e.preventDefault();+ if (!disabled && onForgotPassword) {+ onForgotPassword();+ }+ };++ return (+ <button+ type="button"+ onClick={handleClick}+ disabled={disabled}+ className={cn(+ "text-sm text-custom-primary-100 hover:text-custom-primary-200 transition-colors duration-200",+ {+ "opacity-50 cursor-not-allowed": disabled,+ "cursor-pointer": !disabled,+ },+ className+ )}+ >+ {text}+ </button>+ );+};diff --git a/packages/ui/src/auth-form/auth-form.tsx b/packages/ui/src/auth-form/auth-form.tsxnew file mode 100644index 0000000000..7f0e584800--- /dev/null+++ b/packages/ui/src/auth-form/auth-form.tsx@@ -0,0 +1,207 @@+import React, { useState, useMemo } from "react";+import { E_PASSWORD_STRENGTH } from "@plane/constants";+import { cn } from "../../helpers";+import { Button } from "../button/button";+import { Spinner } from "../spinners/circular-spinner";+import { AuthConfirmPasswordInput } from "./auth-confirm-password-input";+import { AuthForgotPassword } from "./auth-forgot-password";+import { AuthInput } from "./auth-input";+import { AuthPasswordInput } from "./auth-password-input";++export type AuthMode = "sign-in" | "sign-up";++export interface AuthFormData {+ email: string;+ password: string;+ confirmPassword?: string;+}++export interface AuthFormProps {+ mode: AuthMode;+ initialData?: Partial<AuthFormData>;+ onSubmit?: (data: AuthFormData) => void;+ onForgotPassword?: () => void;+ onModeChange?: (mode: AuthMode) => void;+ loading?: boolean;+ disabled?: boolean;+ className?: string;+ showForgotPassword?: boolean;+ showPasswordStrength?: boolean;+ emailError?: string;+ passwordError?: string;+ confirmPasswordError?: string;+ submitButtonText?: string;+ alternateModeText?: string;+ alternateModeButtonText?: string;+}++export const AuthForm: React.FC<AuthFormProps> = ({+ mode,+ initialData = {},+ onSubmit,+ onForgotPassword,+ onModeChange,+ loading = false,+ disabled = false,+ className = "",+ showForgotPassword = true,+ showPasswordStrength = true,+ emailError,+ passwordError,+ confirmPasswordError,+ submitButtonText,+ alternateModeText,+ alternateModeButtonText,+}) => {+ const [formData, setFormData] = useState<AuthFormData>({+ email: initialData.email || "",+ password: initialData.password || "",+ confirmPassword: initialData.confirmPassword || "",+ });++ const [passwordStrength, setPasswordStrength] = useState<E_PASSWORD_STRENGTH>(E_PASSWORD_STRENGTH.EMPTY);+ const [passwordsMatch, setPasswordsMatch] = useState(false);++ const handleInputChange = (field: keyof AuthFormData) => (e: React.ChangeEvent<HTMLInputElement>) => {+ setFormData((prev) => ({+ ...prev,+ [field]: e.target.value,+ }));+ };++ const handlePasswordChange = (password: string) => {+ setFormData((prev) => ({+ ...prev,+ password,+ }));+ };++ const handlePasswordStrengthChange = (strength: E_PASSWORD_STRENGTH) => {+ setPasswordStrength(strength);+ };++ const handleConfirmPasswordChange = (matches: boolean) => {+ setPasswordsMatch(matches);+ };++ const handleSubmit = (e: React.FormEvent) => {+ e.preventDefault();+ if (onSubmit && isFormValid) {+ onSubmit(formData);+ }+ };++ const handleModeChange = () => {+ const newMode = mode === "sign-in" ? "sign-up" : "sign-in";+ onModeChange?.(newMode);+ };++ const isFormValid = useMemo(() => {+ const hasEmail = formData.email.length > 0;+ const hasPassword = formData.password.length > 0;++ if (mode === "sign-in") {+ return hasEmail && hasPassword && !loading && !disabled;+ } else {+ const isPasswordStrong = passwordStrength === E_PASSWORD_STRENGTH.STRENGTH_VALID;+ const passwordsMatch = formData.password === formData.confirmPassword && formData.password.length > 0;+ return hasEmail && hasPassword && isPasswordStrong && passwordsMatch && !loading && !disabled;+ }+ }, [mode, formData, passwordStrength, loading, disabled]);++ const getSubmitButtonText = () => {+ if (submitButtonText) return submitButtonText;+ return mode === "sign-in" ? "Sign In" : "Create Account";+ };++ const getAlternateModeText = () => {+ if (alternateModeText) return alternateModeText;+ return mode === "sign-in" ? "Don't have an account?" : "Already have an account?";+ };++ const getAlternateModeButtonText = () => {+ if (alternateModeButtonText) return alternateModeButtonText;+ return mode === "sign-in" ? "Sign Up" : "Sign In";+ };++ return (+ <form onSubmit={handleSubmit} className={cn("space-y-4", className)}>+ {/* Email Input */}+ <AuthInput+ id="email"+ name="email"+ type="email"+ label="Email"+ value={formData.email}+ onChange={handleInputChange("email")}+ placeholder="[email protected]"+ error={emailError}+ disabled={disabled}+ // autoComplete="email"+ required+ />++ {/* Password Input */}+ <AuthPasswordInput+ id="password"+ name="password"+ label={mode === "sign-in" ? "Password" : "Set a password"}+ value={formData.password}+ onChange={handleInputChange("password")}+ onPasswordChange={handlePasswordChange}+ onPasswordStrengthChange={handlePasswordStrengthChange}+ placeholder="Enter password"+ error={passwordError}+ showPasswordStrength={showPasswordStrength && mode === "sign-up"}+ disabled={disabled}+ // autoComplete={mode === "sign-in" ? "current-password" : "new-password"}+ required+ />++ {/* Confirm Password Input (Sign Up Only) */}+ {mode === "sign-up" && (+ <AuthConfirmPasswordInput+ id="confirmPassword"+ name="confirmPassword"+ password={formData.password}+ value={formData.confirmPassword}+ onChange={handleInputChange("confirmPassword")}+ onPasswordMatchChange={handleConfirmPasswordChange}+ error={confirmPasswordError}+ disabled={disabled}+ // autoComplete="new-password"+ required+ />+ )}++ {/* Forgot Password Link (Sign In Only) */}+ {mode === "sign-in" && showForgotPassword && (+ <div className="flex justify-end">+ <AuthForgotPassword onForgotPassword={onForgotPassword} disabled={disabled} />+ </div>+ )}++ {/* Submit Button */}+ <div className="space-y-2.5">+ <Button type="submit" variant="primary" className="w-full" size="lg" disabled={!isFormValid} loading={loading}>+ {loading ? <Spinner height="20px" width="20px" /> : getSubmitButtonText()}+ </Button>++ {/* Alternate Mode Button */}+ {onModeChange && (+ <div className="text-center">+ <span className="text-sm text-custom-text-300">{getAlternateModeText()}</span>+ <button+ type="button"+ onClick={handleModeChange}+ className="ml-1 text-sm text-custom-primary-100 hover:text-custom-primary-200 transition-colors duration-200"+ disabled={disabled}+ >+ {getAlternateModeButtonText()}+ </button>+ </div>+ )}+ </div>+ </form>+ );+};diff --git a/packages/ui/src/auth-form/auth-input.tsx b/packages/ui/src/auth-form/auth-input.tsxnew file mode 100644index 0000000000..2972ce393b--- /dev/null+++ b/packages/ui/src/auth-form/auth-input.tsx@@ -0,0 +1,66 @@+import { Eye, EyeOff } from "lucide-react";+import React, { useState } from "react";+import { cn } from "../../helpers";+import { Input } from "../form-fields/input";++export interface AuthInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "autoComplete"> {+ label?: string;+ error?: string;+ showPasswordToggle?: boolean;+ errorClassName?: string;+ autoComplete?: "on" | "off";+}++const baseContainerClassName = "flex flex-col gap-1.5";++export const AuthInput: React.FC<AuthInputProps> = ({+ label,+ error,+ showPasswordToggle = false,+ errorClassName = "",+ className = "",+ type = "text",+ ...props+}) => {+ const { id } = props;+ const [showPassword, setShowPassword] = useState(false);+ const isPasswordType = type === "password";++ const inputType = isPasswordType && showPasswordToggle && showPassword ? "text" : type;++ return (+ <div className={cn(baseContainerClassName)}>+ {label && (+ <label htmlFor={id} className={cn("text-sm font-semibold text-custom-text-300")}>+ {label}+ </label>+ )}+ <div+ className={cn("relative flex items-center rounded-md border border-custom-border-300 py-2 px-3 transition-all")}+ >+ <Input+ {...props}+ type={inputType}+ className={cn(+ "rounded-md disable-autofill-style h-6 w-full placeholder:text-base placeholder:text-custom-text-400 p-0 border-none",+ {+ "border-red-500": error,+ },+ className+ )}+ />+ {showPasswordToggle && isPasswordType && (+ <button+ type="button"+ onClick={() => setShowPassword(!showPassword)}+ className="absolute right-3 h-5 w-5 stroke-custom-text-400 hover:cursor-pointer"+ >+ {showPassword ? <EyeOff className="h-5 w-5" /> : <Eye className="h-5 w-5" />}+ </button>+ )}+ </div>++ {error && <p className={cn("text-sm text-red-500", errorClassName)}>{error}</p>}+ </div>+ );+};diff --git a/packages/ui/src/auth-form/auth-password-input.tsx b/packages/ui/src/auth-form/auth-password-input.tsxnew file mode 100644index 0000000000..99519a37a2--- /dev/null+++ b/packages/ui/src/auth-form/auth-password-input.tsx@@ -0,0 +1,77 @@+import React, { useState } from "react";+import { E_PASSWORD_STRENGTH } from "@plane/constants";+import { cn, getPasswordStrength } from "@plane/utils";+import { PasswordStrengthIndicator } from "../form-fields/password/indicator";+import { AuthInput } from "./auth-input";++export interface AuthPasswordInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "autoComplete"> {+ label?: string;+ error?: string;+ showPasswordStrength?: boolean;+ showPasswordToggle?: boolean;+ containerClassName?: string;+ errorClassName?: string;+ autoComplete?: "on" | "off";+ onPasswordChange?: (password: string) => void;+ onPasswordStrengthChange?: (strength: E_PASSWORD_STRENGTH) => void;+}++export const AuthPasswordInput: React.FC<AuthPasswordInputProps> = ({+ label = "Password",+ error,+ showPasswordStrength = true,+ showPasswordToggle = true,+ containerClassName = "",+ errorClassName = "",+ className = "",+ value = "",+ onChange,+ onPasswordChange,+ onPasswordStrengthChange,+ ...props+}) => {+ const [isFocused, setIsFocused] = useState(false);++ const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {+ const newPassword = e.target.value;+ onChange?.(e);+ onPasswordChange?.(newPassword);+ };++ const handleFocus = () => {+ setIsFocused(true);+ };++ const handleBlur = () => {+ setIsFocused(false);+ };++ const passwordStrength = getPasswordStrength(value as string);++ // Notify parent of strength change+ React.useEffect(() => {+ onPasswordStrengthChange?.(passwordStrength);+ }, [passwordStrength, onPasswordStrengthChange]);++ return (+ <div className={cn("space-y-2", containerClassName)}>+ <AuthInput+ {...props}+ type="password"+ label={label}+ error={error}+ showPasswordToggle={showPasswordToggle}+ errorClassName={errorClassName}+ className={className}+ value={value}+ onChange={handleChange}+ onFocus={handleFocus}+ onBlur={handleBlur}+ autoComplete="on"+ />+ {showPasswordStrength && value && isFocused && (+ <PasswordStrengthIndicator password={value as string} showCriteria />+ )}+ </div>+ );+};diff --git a/packages/ui/src/auth-form/index.ts b/packages/ui/src/auth-form/index.tsnew file mode 100644index 0000000000..3f28ac1105--- /dev/null+++ b/packages/ui/src/auth-form/index.ts@@ -0,0 +1,11 @@+export { AuthForm } from "./auth-form";+export { AuthInput } from "./auth-input";+export { AuthPasswordInput } from "./auth-password-input";+export { AuthConfirmPasswordInput } from "./auth-confirm-password-input";+export { AuthForgotPassword } from "./auth-forgot-password";++export type { AuthFormProps, AuthFormData, AuthMode } from "./auth-form";+export type { AuthInputProps } from "./auth-input";+export type { AuthPasswordInputProps } from "./auth-password-input";+export type { AuthConfirmPasswordInputProps } from "./auth-confirm-password-input";+export type { AuthForgotPasswordProps } from "./auth-forgot-password";diff --git a/packages/ui/src/avatar/avatar.tsx b/packages/ui/src/avatar/avatar.tsxindex 84a8ab8955..088f11fc03 100644--- a/packages/ui/src/avatar/avatar.tsx+++ b/packages/ui/src/avatar/avatar.tsx@@ -156,7 +156,7 @@ export const Avatar: React.FC<Props> = (props) => {className)}style={{- backgroundColor: fallbackBackgroundColor ?? "rgba(var(--color-primary-500))",+ backgroundColor: fallbackBackgroundColor ?? "#028375",color: fallbackTextColor ?? "#ffffff",}}>diff --git a/packages/ui/src/form-fields/index.ts b/packages/ui/src/form-fields/index.tsindex 44aa40e381..7c08999a63 100644--- a/packages/ui/src/form-fields/index.ts+++ b/packages/ui/src/form-fields/index.ts@@ -2,4 +2,5 @@ export * from "./input";export * from "./textarea";export * from "./input-color-picker";export * from "./checkbox";+export * from "./root";export * from "./password";diff --git a/packages/ui/src/form-fields/password/helper.tsx b/packages/ui/src/form-fields/password/helper.tsxindex 1f6a4330d7..cb93f7dbd0 100644--- a/packages/ui/src/form-fields/password/helper.tsx+++ b/packages/ui/src/form-fields/password/helper.tsx@@ -49,7 +49,7 @@ export const getStrengthInfo = (strength: E_PASSWORD_STRENGTH): StrengthInfo =>*/export const getFragmentColor = (fragmentIndex: number, activeFragments: number): string => {if (fragmentIndex >= activeFragments) {- return "bg-custom-background-90";+ return "bg-custom-background-80";}switch (activeFragments) {@@ -60,6 +60,6 @@ export const getFragmentColor = (fragmentIndex: number, activeFragments: number)case 3:return "bg-green-500";default:- return "bg-custom-background-90";+ return "bg-custom-background-80";}};diff --git a/packages/ui/src/form-fields/password/index.ts b/packages/ui/src/form-fields/password/index.tsindex 939e076446..eb1b63cacd 100644--- a/packages/ui/src/form-fields/password/index.ts+++ b/packages/ui/src/form-fields/password/index.ts@@ -1,2 +1,3 @@export * from "./indicator";export * from "./helper";+export * from "./password-input";\ No newline at end of filediff --git a/packages/ui/src/form-fields/password/password-input.tsx b/packages/ui/src/form-fields/password/password-input.tsxnew file mode 100644index 0000000000..1eb8651230--- /dev/null+++ b/packages/ui/src/form-fields/password/password-input.tsx@@ -0,0 +1,69 @@+import { Eye, EyeClosed } from "lucide-react";+import React, { useState } from "react";+import { cn } from "@plane/utils";+import { Tooltip } from "../../tooltip";++interface PasswordInputProps {+ id: string;+ value: string;+ onChange: (value: string) => void;+ placeholder?: string;+ className?: string;+ showToggle?: boolean;+ error?: boolean;+}++export const PasswordInput: React.FC<PasswordInputProps> = ({+ id,+ value,+ onChange,+ placeholder = "Enter your password",+ className,+ showToggle = true,+ error = false,+}) => {+ const [showPassword, setShowPassword] = useState(false);+ return (+ <div className="relative">+ <input+ id={id}+ type={showPassword ? "text" : "password"}+ value={value}+ onChange={(e) => onChange(e.target.value)}+ className={cn(+ "w-full px-3 py-2 pr-10 text-custom-text-200 border rounded-md bg-custom-background-100 focus:outline-none focus:ring-2 focus:ring-custom-primary-100 placeholder:text-custom-text-400 focus:border-transparent transition-all duration-200",+ {+ "border-custom-border-300": !error,+ "border-red-500": error,+ },+ className+ )}+ placeholder={placeholder}+ />+ {showToggle && (+ <Tooltip tooltipContent={showPassword ? "Hide password" : "Show password"} position="top">+ <button+ type="button"+ onClick={() => setShowPassword(!showPassword)}+ className="absolute inset-y-0 right-0 pr-3 flex items-center text-custom-text-200 hover:text-custom-text-100 transition-colors duration-200"+ >+ <div className="relative w-4 h-4">+ <Eye+ className={cn(+ "absolute inset-0 h-4 w-4 transition-all duration-300 ease-in-out",+ showPassword ? "opacity-0 scale-75 rotate-12" : "opacity-100 scale-100 rotate-0"+ )}+ />+ <EyeClosed+ className={cn(+ "absolute inset-0 h-4 w-4 transition-all duration-300 ease-in-out",+ showPassword ? "opacity-100 scale-100 rotate-0" : "opacity-0 scale-75 -rotate-12"+ )}+ />+ </div>+ </button>+ </Tooltip>+ )}+ </div>+ );+};diff --git a/packages/ui/src/form-fields/root.tsx b/packages/ui/src/form-fields/root.tsxnew file mode 100644index 0000000000..782b6e1aa5--- /dev/null+++ b/packages/ui/src/form-fields/root.tsx@@ -0,0 +1,56 @@+import React from "react";+import { cn } from "@plane/utils";++// Reusable Label Component+interface LabelProps {+ htmlFor: string;+ children: React.ReactNode;+ className?: string;+}++export const Label: React.FC<LabelProps> = ({ htmlFor, children, className }) => (+ <label htmlFor={htmlFor} className={cn("block text-sm font-medium text-custom-text-100", className)}>+ {children}+ </label>+);++// Reusable Form Field Component+interface FormFieldProps {+ label: string;+ htmlFor: string;+ children: React.ReactNode;+ className?: string;+ optional?: boolean;+}++export const FormField: React.FC<FormFieldProps> = ({ label, htmlFor, children, className, optional = false }) => (+ <div className={cn("flex flex-col gap-1.5", className)}>+ <Label htmlFor={htmlFor}>+ {label}+ {optional && <span className="text-custom-text-400 text-sm"> (optional)</span>}+ </Label>+ {children}+ </div>+);++// Reusable Validation Message Component+interface ValidationMessageProps {+ type: "error" | "success";+ message: string;+ className?: string;+}++export const ValidationMessage: React.FC<ValidationMessageProps> = ({ type, message, className }) => (+ <p+ className={cn(+ "text-sm",+ {+ "text-red-500": type === "error",+ "text-green-500": type === "success",+ },+ className+ )}+ >+ {message}+ </p>+);diff --git a/packages/ui/src/icons/brand/accenture-logo.tsx b/packages/ui/src/icons/brand/accenture-logo.tsxnew file mode 100644index 0000000000..fa65f0124f--- /dev/null+++ b/packages/ui/src/icons/brand/accenture-logo.tsx@@ -0,0 +1,28 @@+import * as React from "react";++import { ISvgIcons } from "../type";++export const AccentureLogo: React.FC<ISvgIcons> = ({+ width = "51",+ height = "16",+ className,+ color = "currentColor",+}) => (+ <svg+ width={width}+ height={height}+ viewBox="0 0 51 16"+ fill={color}+ xmlns="http://www.w3.org/2000/svg"+ className={className}+ >+ <path+ d="M29.73 2.48282V1L34.5913 2.96305V4.16785L29.73 6.13932V4.6228L32.5693 3.56966L29.73 2.48282Z"+ fill="#A100FF"+ />+ <path+ d="M2.87038 13.9915C1.84251 13.9915 1 13.4776 1 12.3318V12.2728C1 10.8827 2.20479 10.4024 3.68762 10.4024H4.37848V10.1328C4.37848 9.55992 4.13415 9.22291 3.53597 9.22291C2.98833 9.22291 2.71873 9.52622 2.69345 9.94747H1.18535C1.3033 8.67528 2.3059 8.0771 3.62864 8.0771C4.95139 8.0771 5.98768 8.65 5.98768 10.0739V13.882H4.44588V13.2164C4.14257 13.6377 3.62864 14 2.8788 14L2.87038 13.9915ZM4.3869 11.9948V11.4471H3.75502C2.97148 11.4471 2.5755 11.6578 2.5755 12.1717V12.2307C2.5755 12.6267 2.81983 12.8963 3.35904 12.8963C3.90667 12.8626 4.3869 12.5677 4.3869 11.9864V11.9948ZM9.57679 13.9915C8.00971 13.9915 6.85547 13.0226 6.85547 11.0933V11.0006C6.85547 9.07126 8.06026 8.0434 9.57679 8.0434C10.8743 8.0434 11.9358 8.70898 12.0538 10.1918H10.5457C10.453 9.64417 10.1497 9.28189 9.61049 9.28189C8.9449 9.28189 8.46467 9.82952 8.46467 10.9416V11.127C8.46467 12.2728 8.88592 12.7867 9.61049 12.7867C10.1581 12.7867 10.5457 12.3908 10.6384 11.7589H12.0875C11.9948 13.09 11.1186 13.9915 9.57679 13.9915ZM15.4997 13.9915C13.9326 13.9915 12.7783 13.0226 12.7783 11.0933V11.0006C12.7783 9.07126 13.9831 8.0434 15.4997 8.0434C16.7971 8.0434 17.8587 8.70898 17.9766 10.1918H16.4685C16.3759 9.64417 16.0726 9.28189 15.5334 9.28189C14.8678 9.28189 14.3875 9.82952 14.3875 10.9416V11.127C14.3875 12.2728 14.8088 12.7867 15.5334 12.7867C16.081 12.7867 16.4685 12.3908 16.5612 11.7589H18.0103C17.9177 13.09 17.0415 13.9915 15.4997 13.9915ZM21.4478 13.9915C19.8133 13.9915 18.7012 13.0226 18.7012 11.1186V11.0006C18.7012 9.09654 19.8807 8.0434 21.4225 8.0434C22.8464 8.0434 24.0175 8.82693 24.0175 10.731V11.4219H20.302C20.361 12.4497 20.8159 12.8457 21.4815 12.8457C22.0881 12.8457 22.4167 12.5171 22.5346 12.1212H24.0175C23.8321 13.1743 22.9306 13.9915 21.4478 13.9915ZM20.3357 10.3687H22.4504C22.4167 9.52622 22.0291 9.16394 21.3972 9.16394C20.917 9.19764 20.4621 9.46724 20.3441 10.3687H20.3357ZM24.9864 8.18662H26.5871V9.02913C26.8567 8.4815 27.4296 8.06025 28.3059 8.06025C29.3337 8.06025 30.0246 8.69213 30.0246 10.057V13.8652H28.4238V10.3013C28.4238 9.63574 28.1542 9.33244 27.5813 9.33244C27.0337 9.33244 26.5871 9.66102 26.5871 10.3856V13.8567H24.9864V8.1782V8.18662ZM32.965 6.4679V8.18662H34.0518V9.36614H32.965V12.0538C32.965 12.475 33.1503 12.6856 33.5379 12.6856C33.7822 12.6856 33.9338 12.6519 34.0855 12.593V13.8315C33.9001 13.8904 33.5716 13.9494 33.1756 13.9494C31.9371 13.9494 31.3642 13.3765 31.3642 12.2307V9.35771H30.6986V8.1782H31.3642V7.12506L32.965 6.45947V6.4679ZM40.0336 13.8652H38.4666V13.0226C38.197 13.5703 37.6493 13.9915 36.8068 13.9915C35.7789 13.9915 35.0207 13.3596 35.0207 12.0285V8.19505H36.6215V11.8178C36.6215 12.4834 36.8911 12.7867 37.4387 12.7867C37.9863 12.7867 38.4329 12.4245 38.4329 11.7336V8.19505H40.0336V13.8736V13.8652ZM41.2047 8.18662H42.8055V9.23976C43.1341 8.4815 43.6817 8.11922 44.5242 8.11922V9.68629C43.4374 9.68629 42.8055 10.0149 42.8055 10.9585V13.8904H41.2047V8.1782V8.18662ZM47.7679 13.9915C46.1334 13.9915 45.0213 13.0226 45.0213 11.1186V11.0006C45.0213 9.09654 46.2008 8.0434 47.7426 8.0434C49.1665 8.0434 50.3376 8.82693 50.3376 10.731V11.4219H46.6558C46.7148 12.4497 47.1697 12.8457 47.8353 12.8457C48.4419 12.8457 48.7705 12.5171 48.8885 12.1212H50.3713C50.127 13.1743 49.2507 13.9915 47.7763 13.9915H47.7679ZM46.6137 10.3687H48.7621C48.7284 9.52622 48.3408 9.16394 47.7089 9.16394C47.2287 9.19764 46.7738 9.46724 46.6221 10.3687H46.6137Z"+ fill={color}+ />+ </svg>+);diff --git a/packages/ui/src/icons/brand/dolby-logo.tsx b/packages/ui/src/icons/brand/dolby-logo.tsxnew file mode 100644index 0000000000..bae0fe0c74--- /dev/null+++ b/packages/ui/src/icons/brand/dolby-logo.tsx@@ -0,0 +1,40 @@+import * as React from "react";++import { ISvgIcons } from "../type";++export const DolbyLogo: React.FC<ISvgIcons> = ({ width = "40", height = "16", className, color = "currentColor" }) => (+ <svg+ width={width}+ height={height}+ viewBox="0 0 40 16"+ fill={color}+ xmlns="http://www.w3.org/2000/svg"+ className={className}+ >+ <path+ d="M11.7241 13.4334H10.643C8.57552 13.4334 6.92627 11.7447 6.92627 9.71672C6.92627 7.6887 8.61498 6 10.643 6H11.7241V13.4255V13.4334Z"+ fill={color}+ />+ <path+ d="M1 6.00806H2.08109C4.14857 6.00806 5.79782 7.69676 5.79782 9.72477C5.79782 11.7528 4.10911 13.4415 2.08109 13.4415H1V6.01595V6.00806Z"+ fill={color}+ />+ <path d="M26.8042 6.00781V13.4334H27.9247V6.00781H26.8042Z" fill={color} />+ <path+ d="M23.5051 8.28845C22.0847 8.28845 20.9326 9.44056 20.9326 10.861C20.9326 12.2814 22.0847 13.4335 23.5051 13.4335C24.9255 13.4335 26.0776 12.2814 26.0776 10.861C26.0776 9.44056 24.9255 8.28845 23.5051 8.28845ZM23.5051 12.3997C22.6529 12.4076 21.9506 11.7211 21.9348 10.8688C21.9269 10.0166 22.6134 9.3143 23.4657 9.29852C23.4815 9.29852 23.4893 9.29852 23.5051 9.29852C24.3574 9.29852 25.0518 10.0008 25.0518 10.8452C25.0518 11.6974 24.3574 12.3918 23.5051 12.3918V12.3997Z"+ fill={color}+ />+ <path+ d="M31.4678 8.2964C30.9391 8.2964 30.4261 8.45423 30 8.76198V6.01587H28.8716V13.4414H30V12.9758C31.16 13.7886 32.7619 13.5045 33.5747 12.3367C34.3875 11.1767 34.1034 9.57476 32.9355 8.76198C32.5015 8.46212 31.9886 8.2964 31.4678 8.2964ZM31.4678 12.3998C30.6155 12.3919 29.929 11.6896 29.9369 10.8295C29.9448 9.9851 30.6234 9.30647 31.4678 9.29858C32.32 9.29858 33.0144 10.0009 33.0144 10.8452C33.0144 11.6975 32.32 12.3919 31.4678 12.3919V12.3998Z"+ fill={color}+ />+ <path+ d="M16.6561 6.00781H13.981V13.4255H16.6561C18.6999 13.4255 20.3649 11.7604 20.3649 9.71664C20.3649 7.67284 18.6999 6.00781 16.6561 6.00781ZM16.6561 12.297H15.1015V7.12835H16.6561C18.0765 7.12835 19.2365 8.28835 19.2365 9.71664C19.2365 11.1449 18.0765 12.297 16.6561 12.297Z"+ fill={color}+ />+ <path+ d="M38.1592 8.29634L36.6914 11.5869L35.2237 8.29634H33.9927L36.068 12.9679C36.068 12.9679 35.563 14.1121 35.5551 14.1121C35.421 14.412 35.0659 14.5461 34.766 14.4199L34.6082 14.3488L34.1505 15.3668L34.5372 15.5404C35.271 15.8639 36.1312 15.5404 36.4547 14.7986L39.3665 8.28845H38.1355L38.1592 8.29634Z"+ fill={color}+ />+ </svg>+);diff --git a/packages/ui/src/icons/brand/index.ts b/packages/ui/src/icons/brand/index.tsnew file mode 100644index 0000000000..10f7c42e0d--- /dev/null+++ b/packages/ui/src/icons/brand/index.ts@@ -0,0 +1,7 @@+export * from "./accenture-logo";+export * from "./dolby-logo";+export * from "./sony-logo";+export * from "./zerodha-logo";+export * from "./plane-lockup";+export * from "./plane-logo";+export * from "./plane-wordmark";diff --git a/packages/ui/src/icons/brand/plane-lockup.tsx b/packages/ui/src/icons/brand/plane-lockup.tsxnew file mode 100644index 0000000000..ceb8365945--- /dev/null+++ b/packages/ui/src/icons/brand/plane-lockup.tsx@@ -0,0 +1,48 @@+import * as React from "react";++import { ISvgIcons } from "../type";++export const PlaneLockup: React.FC<ISvgIcons> = ({+ width = "253",+ height = "53",+ className,+ color = "currentColor",+}) => (+ <svg+ width={width}+ height={height}+ viewBox="0 0 253 53"+ fill={color}+ xmlns="http://www.w3.org/2000/svg"+ className={className}+ >+ <g clip-path="url(#clip0_27_76)">+ <path+ d="M217.077 51.4468H210.972L210.98 31.4317C210.717 27.7545 208.786 25.1545 205.03 24.6199C198.587 23.7006 194.663 27.8828 194.21 34.0258L194.218 51.4468H188.041V20.2543H192.158L194.255 26.8846H194.6C195.825 22.8701 198.684 20.4831 202.898 19.5757C210.126 18.0231 216.643 22.2724 217.079 29.8239V51.4468H217.077Z"+ fill={color}+ />+ <path+ d="M163.812 19.7315C158.03 20.9566 153.67 25.2354 153.222 31.264H159.395C159.669 28.3484 161.561 25.9969 164.267 24.9553C167.418 23.7401 172.805 23.8881 175.178 26.6005C176.774 28.4253 177.305 31.5816 175.212 33.2249C172.675 35.2173 166.39 34.6117 163.214 34.7636C158.631 34.9826 154.141 36.8429 153.183 41.7727C151.1 52.5042 165.035 54.9267 171.902 49.8963C174.095 48.2885 175.672 45.8443 176.261 43.1792H176.577L178.788 51.4508H182.61V29.964C182.517 20.3214 171.462 18.108 163.81 19.7315H163.812ZM174.847 41.2637C172.484 45.649 166.958 49.0441 162.218 47.3318C158.44 45.9686 158.268 40.4095 161.973 38.9181C165.613 37.4524 173.732 38.9694 176.368 34.949C176.275 37.0855 175.906 39.2989 174.849 41.2637H174.847Z"+ fill={color}+ />+ <path+ d="M113.082 35.5652V51.4475H106.611V9.00063H124.863C125.007 8.99274 125.141 9.06178 125.283 9.06967C133.732 9.53129 139.297 13.601 139.104 22.6025C138.928 30.7991 132.663 35.2199 124.934 35.5671H113.082V35.5652ZM113.082 14.4828V30.2941H124.088C129.595 29.8956 133.071 27.1022 132.491 21.265C131.967 15.9781 127.802 14.6544 123.107 14.4788C119.795 14.3546 116.402 14.5795 113.082 14.4808V14.4828Z"+ fill={color}+ />+ <path d="M148.647 9H142.529V51.4468H148.647V9Z" fill={color} />+ <path+ d="M245.872 42.418C244.911 44.4953 243.138 46.1603 240.934 46.8981C238.368 47.7562 234.479 47.5431 232.083 46.2569C228.67 44.4263 227.145 40.6485 227.137 36.8984H251.891C252.194 33.6908 251.902 30.3648 250.496 27.4333C247.083 20.3177 238.859 17.7236 231.513 19.9429C222.868 22.5568 220.165 31.4162 221.462 39.6543C222.86 48.5611 230.197 52.976 238.958 52.3585C244.884 51.9423 250.271 48.1192 251.788 42.4161H245.874L245.872 42.418ZM227.208 32.4381C227.778 26.2457 233.347 23.2018 239.163 24.4269C243.361 25.3107 245.75 28.9523 245.842 33.1068H227.145C227.145 33.1068 227.19 32.6255 227.208 32.4401V32.4381Z"+ fill={color}+ />+ <path+ d="M44.3223 2.9264C44.3223 0.754665 46.6083 -0.65811 48.5508 0.313121L80.4551 16.2653C82.9294 17.5024 84.4922 20.0321 84.4922 22.7985V48.2487C84.4922 50.4204 82.2071 51.833 80.2646 50.8619L62.3281 41.8932V22.7975C62.3281 20.0311 60.7653 17.5015 58.291 16.2643L44.3223 9.27992V2.9264ZM0 2.92543C8.01645e-05 0.753753 2.28609 -0.659069 4.22852 0.312144L22.1582 9.27699V28.3766C22.1582 31.1428 23.7213 33.6716 26.1953 34.9088L40.1699 41.8952V48.2487C40.1697 50.4202 37.8847 51.832 35.9424 50.861L4.03711 34.9088C1.56305 33.6716 0 31.1428 0 28.3766V2.92543ZM22.1582 2.92543C22.1583 0.753753 24.4443 -0.659069 26.3867 0.312144L44.3223 9.27992V28.3776C44.3223 31.1439 45.8861 33.6727 48.3604 34.9098L62.3281 41.8932V48.2487C62.3279 50.4202 60.0429 51.832 58.1006 50.861L40.1699 41.8952V22.7975C40.1699 20.0311 38.6071 17.5015 36.1328 16.2643L22.1582 9.27699V2.92543Z"+ fill={color}+ />+ </g>+ <defs>+ <clipPath id="clip0_27_76">+ <rect width="252" height="53" fill="white" />+ </clipPath>+ </defs>+ </svg>+);diff --git a/packages/ui/src/icons/brand/plane-logo.tsx b/packages/ui/src/icons/brand/plane-logo.tsxnew file mode 100644index 0000000000..69fb95ef43--- /dev/null+++ b/packages/ui/src/icons/brand/plane-logo.tsx@@ -0,0 +1,19 @@+import * as React from "react";++import { ISvgIcons } from "../type";++export const PlaneLogo: React.FC<ISvgIcons> = ({ width = "85", height = "52", className, color = "currentColor" }) => (+ <svg+ width={width}+ height={height}+ viewBox="0 0 85 52"+ fill={color}+ xmlns="http://www.w3.org/2000/svg"+ className={className}+ >+ <path+ d="M44.3223 2.9264C44.3223 0.754665 46.6083 -0.65811 48.5508 0.313121L80.4551 16.2653C82.9294 17.5024 84.4922 20.0321 84.4922 22.7985V48.2487C84.4922 50.4204 82.2071 51.833 80.2646 50.8619L62.3281 41.8932V22.7975C62.3281 20.0311 60.7653 17.5015 58.291 16.2643L44.3223 9.27992V2.9264ZM0 2.92543C8.01645e-05 0.753753 2.28609 -0.659069 4.22852 0.312144L22.1582 9.27699V28.3766C22.1582 31.1428 23.7213 33.6716 26.1953 34.9088L40.1699 41.8952V48.2487C40.1697 50.4202 37.8847 51.832 35.9424 50.861L4.03711 34.9088C1.56305 33.6716 0 31.1428 0 28.3766V2.92543ZM22.1582 2.92543C22.1583 0.753753 24.4443 -0.659069 26.3867 0.312144L44.3223 9.27992V28.3776C44.3223 31.1439 45.8861 33.6727 48.3604 34.9098L62.3281 41.8932V48.2487C62.3279 50.4202 60.0429 51.832 58.1006 50.861L40.1699 41.8952V22.7975C40.1699 20.0311 38.6071 17.5015 36.1328 16.2643L22.1582 9.27699V2.92543Z"+ fill={color}+ />+ </svg>+);diff --git a/packages/ui/src/icons/brand/plane-wordmark.tsx b/packages/ui/src/icons/brand/plane-wordmark.tsxnew file mode 100644index 0000000000..fc31d10a64--- /dev/null+++ b/packages/ui/src/icons/brand/plane-wordmark.tsx@@ -0,0 +1,37 @@+import * as React from "react";++import { ISvgIcons } from "../type";++export const PlaneWordmark: React.FC<ISvgIcons> = ({+ width = "146",+ height = "44",+ className,+ color = "currentColor",+}) => (+ <svg+ width={width}+ height={height}+ viewBox="0 0 146 44"+ fill={color}+ xmlns="http://www.w3.org/2000/svg"+ className={className}+ >+ <path+ d="M111.077 42.4468H104.972L104.98 22.4317C104.717 18.7545 102.786 16.1545 99.03 15.6199C92.587 14.7006 88.663 18.8828 88.21 25.0258L88.218 42.4468H82.041V11.2543H86.158L88.255 17.8846H88.6C89.825 13.8701 92.684 11.4831 96.898 10.5757C104.126 9.0231 110.643 13.2724 111.079 20.8239V42.4468H111.077Z"+ fill={color}+ />+ <path+ d="M57.812 10.7315C52.03 11.9566 47.67 16.2354 47.222 22.264H53.395C53.669 19.3484 55.561 16.9969 58.267 15.9553C61.418 14.7401 66.805 14.8881 69.178 17.6005C70.774 19.4253 71.305 22.5816 69.212 24.2249C66.675 26.2173 60.39 25.6117 57.214 25.7636C52.631 25.9826 48.141 27.8429 47.183 32.7727C45.1 43.5042 59.035 45.9267 65.902 40.8963C68.095 39.2885 69.672 36.8443 70.261 34.1792H70.577L72.788 42.4508H76.61V20.964C76.517 11.3214 65.462 9.108 57.81 10.7315H57.812ZM68.847 32.2637C66.484 36.649 60.958 40.0441 56.218 38.3318C52.44 36.9686 52.268 31.4095 55.973 29.9181C59.613 28.4524 67.732 29.9694 70.368 25.949C70.275 28.0855 69.906 30.2989 68.849 32.2637H68.847Z"+ fill={color}+ />+ <path+ d="M7.08199 26.5652V42.4475H0.610992V0.000626947H18.863C19.007 -0.00726305 19.141 0.0617763 19.283 0.0696663C27.732 0.531286 33.297 4.601 33.104 13.6025C32.928 21.7991 26.663 26.2199 18.934 26.5671H7.08199V26.5652ZM7.08199 5.4828V21.2941H18.088C23.595 20.8956 27.071 18.1022 26.491 12.265C25.967 6.9781 21.802 5.6544 17.107 5.4788C13.795 5.3546 10.402 5.5795 7.08199 5.4808V5.4828Z"+ fill={color}+ />+ <path d="M42.647 0H36.529V42.4468H42.647V0Z" fill={color} />+ <path+ d="M139.872 33.418C138.911 35.4953 137.138 37.1603 134.934 37.8981C132.368 38.7562 128.479 38.5431 126.083 37.2569C122.67 35.4263 121.145 31.6485 121.137 27.8984H145.891C146.194 24.6908 145.902 21.3648 144.496 18.4333C141.083 11.3177 132.859 8.7236 125.513 10.9429C116.868 13.5568 114.165 22.4162 115.462 30.6543C116.86 39.5611 124.197 43.976 132.958 43.3585C138.884 42.9423 144.271 39.1192 145.788 33.4161H139.874L139.872 33.418ZM121.208 23.4381C121.778 17.2457 127.347 14.2018 133.163 15.4269C137.361 16.3107 139.75 19.9523 139.842 24.1068H121.145C121.145 24.1068 121.19 23.6255 121.208 23.4401V23.4381Z"+ fill={color}+ />+ </svg>+);diff --git a/packages/ui/src/icons/brand/sony-logo.tsx b/packages/ui/src/icons/brand/sony-logo.tsxnew file mode 100644index 0000000000..62e8d2b787--- /dev/null+++ b/packages/ui/src/icons/brand/sony-logo.tsx@@ -0,0 +1,19 @@+import * as React from "react";++import { ISvgIcons } from "../type";++export const SonyLogo: React.FC<ISvgIcons> = ({ width = "44", height = "16", className, color = "currentColor" }) => (+ <svg+ width={width}+ height={height}+ viewBox="0 0 44 16"+ fill={color}+ xmlns="http://www.w3.org/2000/svg"+ className={className}+ >+ <path+ d="M16.1608 13.9C14.6192 13.9 13.1911 13.4366 12.2358 12.5854C11.5454 11.9706 11.1576 11.0816 11.1671 10.1548C11.1671 9.22789 11.5549 8.34832 12.2358 7.73357C13.1248 6.92966 14.6854 6.41894 16.1608 6.41894C17.7875 6.41894 19.0927 6.82562 20.0952 7.73357C20.7762 8.35778 21.1545 9.23735 21.1451 10.1548C21.1451 11.0722 20.7573 11.9517 20.0952 12.5854C19.1683 13.4461 17.7024 13.9 16.1608 13.9V12.9164C16.9742 12.9164 17.7402 12.6327 18.2699 12.1031C18.7995 11.5734 19.0359 10.9397 19.0359 10.1453C19.0359 9.35084 18.7711 8.6888 18.2699 8.18754C17.7497 7.67682 16.9742 7.38363 16.1608 7.38363C15.3474 7.38363 14.5719 7.66736 14.0517 8.18754C13.5505 8.6888 13.2857 9.39813 13.2857 10.1453C13.2668 10.8735 13.5505 11.5734 14.0517 12.1031C14.5719 12.6232 15.3474 12.9164 16.1608 12.9164V13.9ZM4.89665 6.40948C4.07382 6.40948 3.13749 6.56081 2.34304 6.9202C1.60534 7.25122 1 7.78086 1 8.66043C1 9.12386 1.17026 9.56837 1.49182 9.89939C1.70935 10.098 2.04987 10.429 2.94835 10.6276C3.35504 10.7128 4.20623 10.8452 5.06688 10.9397C5.92754 11.0343 6.75032 11.11 7.0908 11.2046C7.36507 11.2708 7.81906 11.3653 7.81906 11.8761C7.81906 12.3868 7.33675 12.5381 7.26109 12.5759C7.17597 12.6138 6.59901 12.8691 5.56811 12.8691C4.88715 12.8502 4.20619 12.7367 3.55361 12.5192C3.16584 12.3773 2.76863 12.1976 2.39032 11.7437C2.239 11.5261 2.15387 11.2708 2.14441 11.006H1.2081V13.6257H2.24843V13.2664C2.24843 13.1812 2.31467 13.115 2.39979 13.115C2.42816 13.115 2.45655 13.115 2.47547 13.1339C2.96727 13.3515 3.47797 13.5123 3.99815 13.6257C4.5467 13.7392 4.89662 13.8244 5.57758 13.8244C6.29637 13.8338 7.00569 13.7392 7.69611 13.5217C8.15008 13.3988 8.57569 13.1907 8.954 12.8975C9.3796 12.5665 9.63498 12.0558 9.62553 11.5167C9.62553 11.0154 9.43636 10.5236 9.08643 10.1642C8.88781 9.97506 8.66081 9.82373 8.41491 9.71024C8.15009 9.58729 7.87582 9.49271 7.59209 9.42651C7.05299 9.2941 5.84238 9.13332 5.26546 9.06711C4.66016 9.00091 3.60094 8.91579 3.1848 8.78338C3.06185 8.74555 2.797 8.6226 2.797 8.31995C2.797 8.10242 2.91994 7.92272 3.14693 7.7714C3.51578 7.53495 4.27242 7.39309 5.05741 7.39309C5.81403 7.39309 6.57062 7.53495 7.2705 7.82814C7.45965 7.91326 7.63935 8.0173 7.80013 8.14025C8.06495 8.36724 8.24469 8.66988 8.32035 9.01036H9.16205V6.73105H8.22574V6.99586C8.22574 7.08098 8.14066 7.19448 7.97042 7.0999C7.54482 6.88237 6.36255 6.40948 4.90606 6.40002L4.89665 6.40948ZM25.4389 6.83508L30.0164 10.9587L29.9691 8.17808C29.9691 7.80923 29.8935 7.65791 29.5057 7.65791H28.6451V6.82562H32.5606V7.65791H31.7188C31.3216 7.65791 31.2932 7.79031 31.2838 8.17808L31.35 13.4839H30.007L24.739 8.78338V12.122C24.739 12.4814 24.7579 12.6516 25.1362 12.6516H26.0725V13.4839H22.2327V12.6516H23.1312C23.4622 12.6516 23.4528 12.33 23.4528 12.1031V8.20646C23.4528 7.9511 23.4149 7.65791 22.8947 7.65791H22.1665V6.82562H25.4389V6.83508ZM37.0151 12.6516C37.0908 12.6516 37.1665 12.6516 37.2421 12.6327C37.3272 12.6043 37.3935 12.5476 37.4218 12.4719C37.4313 12.4152 37.4408 12.349 37.4408 12.2922V10.9776C37.4408 10.9776 37.4408 10.9303 37.384 10.8641C37.3273 10.7979 34.9912 8.14025 34.8777 8.02676C34.7453 7.88489 34.5089 7.65791 34.1589 7.65791H33.3455V6.82562H37.9326V7.65791H37.384C37.2611 7.65791 37.176 7.78086 37.28 7.91326C37.28 7.91326 38.8216 9.75753 38.8405 9.77644C38.8594 9.79536 38.8689 9.80482 38.8878 9.77644C38.9067 9.74807 40.4673 7.92272 40.4767 7.90381C40.5335 7.8376 40.5145 7.73357 40.4483 7.67682C40.4199 7.65791 40.3821 7.63899 40.3443 7.64845H39.7768V6.81617H43.5316V7.64845H42.6898C42.3872 7.64845 42.2642 7.70519 42.0277 7.96055L39.4931 10.8452C39.4931 10.8452 39.4553 10.9208 39.4647 10.9681V12.2827C39.4647 12.3395 39.4647 12.4057 39.4836 12.4624C39.5214 12.5381 39.5782 12.5949 39.6633 12.6232C39.739 12.6327 39.8147 12.6421 39.8903 12.6421H40.751V13.4744H36.1923V12.6421H37.0057L37.0151 12.6516Z"+ fill={color}+ />+ </svg>+);diff --git a/packages/ui/src/icons/brand/zerodha-logo.tsx b/packages/ui/src/icons/brand/zerodha-logo.tsxnew file mode 100644index 0000000000..21ae65bac2--- /dev/null+++ b/packages/ui/src/icons/brand/zerodha-logo.tsx@@ -0,0 +1,30 @@+import * as React from "react";++import { ISvgIcons } from "../type";++export const ZerodhaLogo: React.FC<ISvgIcons> = ({+ width = "64",+ height = "16",+ className,+ color = "currentColor",+}) => (+ <svg+ width={width}+ height={height}+ viewBox="0 0 64 16"+ fill={color}+ xmlns="http://www.w3.org/2000/svg"+ className={className}+ >+ <path+ fill-rule="evenodd"+ clip-rule="evenodd"+ d="M7.46267 8.1456C7.92616 8.74901 8.31095 9.42239 8.60828 10.157V6.29163H5.32886C6.11592 6.72014 6.84177 7.34104 7.46267 8.1456ZM2.7403 6.70265C2.13689 6.70265 1.55094 6.83382 1 7.06994V13.8999H8.27596C8.22349 9.91211 5.75737 6.6939 2.73155 6.6939"+ fill={color}+ />+ <path+ d="M12.9634 12.7281L17.0299 7.80457H13.0858V6.72892H18.604V7.62093L14.5375 12.5444H18.604V13.6201H12.9634V12.7281ZM20.1257 6.72892H25.2241V7.82206H21.3237V9.59733H24.778V10.6905H21.3237V12.5357H25.2765V13.6288H20.1257V6.73767V6.72892ZM26.7282 6.72892H29.7978C30.235 6.72892 30.6111 6.79014 30.9521 6.91257C31.2932 7.035 31.5643 7.20116 31.7917 7.41979C31.9753 7.61218 32.1152 7.83081 32.2114 8.07567C32.3076 8.32054 32.3601 8.60038 32.3601 8.90646V8.92395C32.3601 9.2038 32.3164 9.4574 32.2377 9.68478C32.1589 9.91215 32.0453 10.1133 31.8966 10.2882C31.7479 10.4631 31.5818 10.6118 31.3806 10.7342C31.1795 10.8566 30.9609 10.9528 30.716 11.014L32.5787 13.6201H31.1533L29.4567 11.2152H27.9351V13.6201H26.737V6.72892H26.7282ZM29.7016 10.1483C30.1388 10.1483 30.4799 10.0433 30.7422 9.83345C31.0046 9.62356 31.127 9.34372 31.127 8.98517V8.96768C31.127 8.59164 31.0046 8.30305 30.751 8.11065C30.4974 7.91826 30.1476 7.82206 29.6928 7.82206H27.9263V10.1483H29.7016ZM37.1349 13.7425C36.6015 13.7425 36.1205 13.6463 35.6745 13.4627C35.2285 13.279 34.8612 13.0254 34.5376 12.7019C34.2141 12.3783 33.9779 12.0022 33.803 11.5737C33.6281 11.1452 33.5407 10.6817 33.5407 10.2007V10.1833C33.5407 9.69352 33.6281 9.23878 33.803 8.81026C33.9779 8.38175 34.2316 8.00571 34.5551 7.6734C34.8787 7.34108 35.2547 7.08747 35.7007 6.90382C36.1467 6.72018 36.6277 6.61523 37.1612 6.61523C37.6946 6.61523 38.1756 6.71143 38.6216 6.89508C39.0589 7.07873 39.4349 7.34108 39.7585 7.65591C40.082 7.97073 40.3182 8.35552 40.4931 8.78403C40.668 9.21254 40.7554 9.67603 40.7554 10.157V10.1745C40.7554 10.6642 40.668 11.119 40.4931 11.5475C40.3182 11.976 40.0646 12.352 39.741 12.6844C39.4174 13.0079 39.0414 13.2703 38.5954 13.4539C38.1494 13.6376 37.6684 13.7425 37.1349 13.7425ZM37.1524 12.6319C37.4935 12.6319 37.8083 12.5707 38.0882 12.4395C38.368 12.3083 38.6129 12.1334 38.8227 11.9148C39.0326 11.6962 39.1813 11.4338 39.295 11.1452C39.4087 10.8566 39.4699 10.5331 39.4699 10.2007V10.1833C39.4699 9.85094 39.4087 9.52737 39.295 9.23003C39.1813 8.9327 39.0239 8.67034 38.814 8.45171C38.6041 8.23309 38.3593 8.05818 38.0707 7.92701C37.7821 7.79583 37.4672 7.72587 37.1262 7.72587C36.7851 7.72587 36.4703 7.78708 36.1905 7.91826C35.9106 8.04944 35.6658 8.22434 35.4559 8.44297C35.246 8.6616 35.0973 8.92395 34.9836 9.21254C34.87 9.50113 34.8087 9.8247 34.8087 10.157V10.1745C34.8087 10.5068 34.87 10.8304 34.9836 11.1277C35.0973 11.4251 35.2547 11.6874 35.4646 11.906C35.6745 12.1247 35.9194 12.2996 36.208 12.4308C36.4965 12.5619 36.8114 12.6319 37.1524 12.6319ZM42.2159 6.72892H44.7869C45.3291 6.72892 45.8189 6.81637 46.2736 6.99128C46.7284 7.16618 47.1131 7.4023 47.4367 7.71712C47.7603 8.03195 48.0139 8.3905 48.1888 8.80152C48.3637 9.21254 48.4511 9.66729 48.4511 10.157V10.1745C48.4511 10.6642 48.3637 11.1102 48.1888 11.53C48.0139 11.9498 47.7603 12.3171 47.4367 12.6231C47.1131 12.9292 46.7284 13.1741 46.2736 13.349C45.8189 13.5239 45.3291 13.6113 44.7869 13.6113H42.2159V6.72018V6.72892ZM44.7782 12.5357C45.1367 12.5357 45.469 12.4745 45.7664 12.3608C46.0637 12.2471 46.3173 12.0809 46.5185 11.8798C46.7196 11.6787 46.8858 11.4251 46.9995 11.1365C47.1131 10.8479 47.1744 10.5418 47.1744 10.2007V10.1833C47.1744 9.85094 47.1131 9.53611 46.9995 9.24752C46.8858 8.95893 46.7196 8.70532 46.5185 8.50418C46.3173 8.30305 46.0637 8.13689 45.7664 8.01446C45.469 7.89202 45.1455 7.83955 44.7782 7.83955H43.4227V12.5444H44.7782V12.5357ZM49.9203 6.72892H51.1184V9.59733H54.4241V6.72892H55.6222V13.6201H54.4241V10.7167H51.1184V13.6201H49.9203V6.72892ZM59.8461 6.6852H60.9654L64 13.6288H62.7232L62.0236 11.9673H58.7617L58.0533 13.6288H56.8115L59.8461 6.6852ZM61.5776 10.8916L60.3883 8.13689L59.2077 10.8916H61.5776Z"+ fill={color}+ />+ </svg>+);diff --git a/packages/ui/src/icons/index.ts b/packages/ui/src/icons/index.tsindex 500925e3c6..f673cf730b 100644--- a/packages/ui/src/icons/index.ts+++ b/packages/ui/src/icons/index.ts@@ -55,3 +55,4 @@ export * from "./display-properties";export * from "./ai-icon";export * from "./plane-icon";export * from "./wiki-icon";+export * from "./brand";diff --git a/packages/ui/src/index.ts b/packages/ui/src/index.tsindex 365d63ed21..1c5907f334 100644--- a/packages/ui/src/index.ts+++ b/packages/ui/src/index.ts@@ -36,3 +36,4 @@ export * from "./tooltip";export * from "./typography";export * from "./utils";export * from "./billing";+export * from "./oauth";diff --git a/packages/ui/src/oauth/index.ts b/packages/ui/src/oauth/index.tsnew file mode 100644index 0000000000..3491b43f72--- /dev/null+++ b/packages/ui/src/oauth/index.ts@@ -0,0 +1 @@+export * from "./oauth-options";diff --git a/packages/ui/src/oauth/oauth-button.tsx b/packages/ui/src/oauth/oauth-button.tsxnew file mode 100644index 0000000000..6ce4803382--- /dev/null+++ b/packages/ui/src/oauth/oauth-button.tsx@@ -0,0 +1,32 @@+import * as React from "react";+import { cn } from "../../helpers";++export interface OAuthButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {+ text: string;+ icon: React.ReactNode;+ compact?: boolean;+}++const OAuthButton = React.forwardRef<HTMLButtonElement, OAuthButtonProps>((props, ref) => {+ const { text, icon, compact = false, className = "", ...rest } = props;++ return (+ <button+ ref={ref}+ className={cn(+ "flex h-9 w-full items-center justify-center gap-2 rounded-md border border-custom-border-300 px-4 py-2.5 text-sm font-medium text-custom-text-100 duration-300 bg-onboarding-background-200 hover:bg-onboarding-background-300",+ className+ )}+ {...rest}+ >+ <div className="flex flex-shrink-0 items-center justify-center">{icon}</div>+ {!compact && (+ <div className="flex flex-grow items-center justify-center transition-opacity duration-300">{text}</div>+ )}+ </button>+ );+});++OAuthButton.displayName = "plane-ui-oauth-button";++export { OAuthButton };diff --git a/packages/ui/src/oauth/oauth-options.tsx b/packages/ui/src/oauth/oauth-options.tsxnew file mode 100644index 0000000000..0e282792d6--- /dev/null+++ b/packages/ui/src/oauth/oauth-options.tsx@@ -0,0 +1,57 @@+import * as React from "react";+import { cn } from "../../helpers";+import { OAuthButton } from "./oauth-button";++export type TOAuthOption = {+ id: string;+ text: string;+ icon: React.ReactNode;+ onClick: () => void;+ enabled?: boolean;+};++type OAuthOptionsProps = {+ options: TOAuthOption[];+ compact?: boolean;++ className?: string;+ containerClassName?: string;+};++export const OAuthOptions = (props: OAuthOptionsProps) => {+ const { options, compact = false, className = "", containerClassName = "" } = props;++ // Filter enabled options+ const enabledOptions = options.filter((option) => option.enabled !== false);++ if (enabledOptions.length === 0) return null;++ return (+ <div className={cn("w-full", containerClassName)}>+ <div+ className={cn(+ "flex gap-4 overflow-hidden transition-all duration-500 ease-in-out",+ compact ? "flex-row" : "flex-col",+ className+ )}+ >+ {enabledOptions.map((option) => (+ <OAuthButton+ key={option.id}+ text={option.text}+ icon={option.icon}+ onClick={option.onClick}+ compact={compact}+ className="transition-all duration-300 ease-in-out"+ />+ ))}+ </div>++ <div className="mt-4 flex items-center transition-all duration-300">+ <hr className="w-full border-custom-border-300 transition-colors duration-300" />+ <p className="mx-3 flex-shrink-0 text-center text-sm text-custom-text-400 transition-colors duration-300">or</p>+ <hr className="w-full border-custom-border-300 transition-colors duration-300" />+ </div>+ </div>+ );+};diff --git a/packages/ui/styles/globals.css b/packages/ui/styles/globals.cssindex 1901c93069..1cf5169222 100644--- a/packages/ui/styles/globals.css+++ b/packages/ui/styles/globals.css@@ -22,24 +22,24 @@:root {color-scheme: light !important;- --color-primary-10: 236, 241, 255;- --color-primary-20: 217, 228, 255;- --color-primary-30: 197, 214, 255;- --color-primary-40: 178, 200, 255;- --color-primary-50: 159, 187, 255;- --color-primary-60: 140, 173, 255;- --color-primary-70: 121, 159, 255;- --color-primary-80: 101, 145, 255;- --color-primary-90: 82, 132, 255;- --color-primary-100: 63, 118, 255;- --color-primary-200: 57, 106, 230;- --color-primary-300: 50, 94, 204;- --color-primary-400: 44, 83, 179;- --color-primary-500: 38, 71, 153;- --color-primary-600: 32, 59, 128;- --color-primary-700: 25, 47, 102;- --color-primary-800: 19, 35, 76;- --color-primary-900: 13, 24, 51;+ --color-primary-10: 229, 243, 250;+ --color-primary-20: 216, 237, 248;+ --color-primary-30: 199, 229, 244;+ --color-primary-40: 169, 214, 239;+ --color-primary-50: 144, 202, 234;+ --color-primary-60: 109, 186, 227;+ --color-primary-70: 75, 170, 221;+ --color-primary-80: 41, 154, 214;+ --color-primary-90: 34, 129, 180;+ --color-primary-100: 0, 99, 153;+ --color-primary-200: 0, 92, 143;+ --color-primary-300: 0, 86, 133;+ --color-primary-400: 0, 77, 117;+ --color-primary-500: 0, 66, 102;+ --color-primary-600: 0, 53, 82;+ --color-primary-700: 0, 43, 66;+ --color-primary-800: 0, 33, 51;+ --color-primary-900: 0, 23, 36;--color-background-100: 255, 255, 255; /* primary bg */--color-background-90: 247, 247, 247; /* secondary bg */@@ -221,6 +221,25 @@[data-theme="dark-contrast"] {color-scheme: dark !important;+ --color-primary-10: 8, 31, 43;+ --color-primary-20: 10, 37, 51;+ --color-primary-30: 13, 49, 69;+ --color-primary-40: 16, 58, 81;+ --color-primary-50: 18, 68, 94;+ --color-primary-60: 23, 86, 120;+ --color-primary-70: 28, 104, 146;+ --color-primary-80: 31, 116, 163;+ --color-primary-90: 34, 129, 180;+ --color-primary-100: 40, 146, 204;+ --color-primary-200: 41, 154, 214;+ --color-primary-300: 75, 170, 221;+ --color-primary-400: 109, 186, 227;+ --color-primary-500: 144, 202, 234;+ --color-primary-600: 169, 214, 239;+ --color-primary-700: 199, 229, 244;+ --color-primary-800: 216, 237, 248;+ --color-primary-900: 229, 243, 250;+--color-background-100: 25, 25, 25; /* primary bg */--color-background-90: 32, 32, 32; /* secondary bg */--color-background-80: 44, 44, 44; /* tertiary bg */@@ -322,25 +341,6 @@[data-theme="dark"],[data-theme="light-contrast"],[data-theme="dark-contrast"] {- --color-primary-10: 236, 241, 255;- --color-primary-20: 217, 228, 255;- --color-primary-30: 197, 214, 255;- --color-primary-40: 178, 200, 255;- --color-primary-50: 159, 187, 255;- --color-primary-60: 140, 173, 255;- --color-primary-70: 121, 159, 255;- --color-primary-80: 101, 145, 255;- --color-primary-90: 82, 132, 255;- --color-primary-100: 63, 118, 255;- --color-primary-200: 57, 106, 230;- --color-primary-300: 50, 94, 204;- --color-primary-400: 44, 83, 179;- --color-primary-500: 38, 71, 153;- --color-primary-600: 32, 59, 128;- --color-primary-700: 25, 47, 102;- --color-primary-800: 19, 35, 76;- --color-primary-900: 13, 24, 51;---color-sidebar-background-100: var(--color-background-100); /* primary sidebar bg */--color-sidebar-background-90: var(--color-background-90); /* secondary sidebar bg */--color-sidebar-background-80: var(--color-background-80); /* tertiary sidebar bg */diff --git a/yarn.lock b/yarn.lockindex 686b2e3eda..1efffa9e6d 100644--- a/yarn.lock+++ b/yarn.lock@@ -9506,16 +9506,7 @@ streamx@^2.15.0, streamx@^2.21.0:optionalDependencies:bare-events "^2.2.0"-"string-width-cjs@npm:string-width@^4.2.0":- version "4.2.3"- resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"- integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==- dependencies:- emoji-regex "^8.0.0"- is-fullwidth-code-point "^3.0.0"- strip-ansi "^6.0.1"--string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:+"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:version "4.2.3"resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==@@ -9608,14 +9599,7 @@ string_decoder@^1.1.1, string_decoder@^1.3.0:dependencies:safe-buffer "~5.2.0"-"strip-ansi-cjs@npm:strip-ansi@^6.0.1":- version "6.0.1"- resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"- integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==- dependencies:- ansi-regex "^5.0.1"--strip-ansi@^6.0.0, strip-ansi@^6.0.1:+"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:version "6.0.1"resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==@@ -10787,16 +10771,7 @@ word-wrap@^1.2.5:resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34"integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==-"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":- version "7.0.0"- resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"- integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==- dependencies:- ansi-styles "^4.0.0"- string-width "^4.1.0"- strip-ansi "^6.0.0"--wrap-ansi@^7.0.0:+"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:version "7.0.0"resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==