Skip to content

Conversation

@secus217
Copy link
Contributor

This pull request introduces new webhook management functionality and email configuration support to the application, as well as updates to the frontend navigation and dependencies. The changes span environment configuration, database queries, and UI updates to support these new features.

Configuration and Environment Updates:

  • Added Mailtrap SMTP email configuration variables to .env.development and .env.example to enable sending emails through Mailtrap, including sender details. [1] [2]
  • Added a WEBHOOK_URL variable to .env.example for configuring webhook endpoints.

Database and Backend Support for Webhooks and Password Reset:

  • Added multiple new SQLx query files to support CRUD operations for user_webhooks (insert, select, update, delete, and event filtering) and password reset tokens (insert, select, update, delete). These queries enable backend logic for managing webhooks and password reset flows. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]

Frontend UI and Navigation Enhancements:

  • Added a new WebhooksPage to the frontend and integrated it into the protected routes in App.tsx, allowing users to access webhook management from the dashboard. [1] [2]
  • Updated the dashboard sidebar navigation to include a new "Webhooks" item with a custom icon, improving discoverability and access to webhook features. [1] [2]
  • Minor UI tweak to the sidebar: added extra margin below the logout button for improved spacing.

Dependency Updates:

  • Added the lettre crate to Cargo.toml to enable SMTP email sending capabilities in the backend.

@secus217
Copy link
Contributor Author

add new webhook management functionality and email configuration support to the application

@ngocbd ngocbd merged commit 39c874a into AI-Decenter:main Sep 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants