-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
do email verification on project verification form through Ortto #1649
do email verification on project verification form through Ortto #1649
Conversation
WalkthroughRecent changes focus on removing DApp mailer functionality by eliminating its configurations from environment files and updating relevant code by integrating new email confirmation methods in the notification system. This change centralizes email handling, leveraging a mock and a notification interface to streamline the process. Changes
Sequence DiagramssequenceDiagram
actor User
participant Resolver as ProjectVerificationFormResolver
participant AdapterFactory as AdaptersFactory
participant NotificationAdapter as NotificationAdapter<sendEmailConfirmation>
User->>Resolver: Submits project for verification
Resolver->>AdapterFactory: Get NotificationAdapter
AdapterFactory-->>Resolver: Return NotificationAdapter
Resolver->>NotificationAdapter: Call sendEmailConfirmation with email, project, token
NotificationAdapter-->>Resolver: Email confirmation sent
Resolver-->>User: Project verification submitted
Poem
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (7)
Files skipped from review due to trivial changes (2)
Additional context usedGitleaks
Biome
Additional comments not posted (5)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range and nitpick comments (1)
src/adapters/notifications/NotificationCenterAdapter.ts (1)
Line range hint
942-948
: Unnecessaryelse
clause.Following the static analysis hint, the
else
clause after an early break in a conditional block can be removed for cleaner and more efficient code.- else { - // Code inside else - }
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @RamRamez LGTM
#1512
Summary by CodeRabbit
New Features
Refactor
Environment Configuration
Bug Fixes
userWalletAddress
optional in the notification body interface.Analytics
SEND_EMAIL_CONFIRMATION
event for tracking email confirmations.