From 31101a69e7e2aa37e429664ddf3ae8aabb7c4c8e Mon Sep 17 00:00:00 2001 From: chauhan_s Date: Tue, 17 Mar 2026 20:58:16 +0530 Subject: [PATCH] fix: Refine verify email dialog for `verify` and `change` email flows (#14671) ### Summary This PR improves the verify email dialog by giving the verify-email and change-email flows distinct messaging instead of reusing the same generic copy. ### What changed * Use flow-specific body copy in the verify email dialog * Keep the existing action-specific subtitle behavior for: * Verify email * Change email * Update the English i18n strings so each flow explains the correct intent: * Verify email focuses on confirming email ownership * Change email focuses on securely starting the email-change process ### Why The previous dialog message was shared across both flows, which made the change-email experience feel ambiguous. This update makes the intent clearer for users and better matches the action they are taking. https://www.loom.com/share/c64c20570a8242358bd178a2ac50e413 ## Summary by CodeRabbit * **Bug Fixes** * Improved clarity in email verification and email change dialog messages to better explain the confirmation process and link purpose. * Enhanced distinction between email verification and email change workflows with context-specific messaging. --- .../core/src/desktop/dialogs/verify-email/index.tsx | 12 ++++++++++-- packages/frontend/i18n/src/resources/en.json | 4 ++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/packages/frontend/core/src/desktop/dialogs/verify-email/index.tsx b/packages/frontend/core/src/desktop/dialogs/verify-email/index.tsx index a95db4456c..a079aaca10 100644 --- a/packages/frontend/core/src/desktop/dialogs/verify-email/index.tsx +++ b/packages/frontend/core/src/desktop/dialogs/verify-email/index.tsx @@ -108,10 +108,18 @@ export const VerifyEmailDialog = ({ > -

{t['com.affine.auth.verify.email.message']({ email })}

+

+ {changeEmail + ? t['com.affine.auth.change.email.message']({ email }) + : t['com.affine.auth.verify.email.message']({ email })} +

Download the AFFiNE Client for the latest features and Performance.", "com.affine.banner.local-warning": "Your local data is stored in the browser and may be lost. Don't risk it - enable cloud now!",