-
Notifications
You must be signed in to change notification settings - Fork 730
feat: email template in settings #1528
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
Conversation
lms
|
Project |
lms
|
Branch Review |
email-template-list
|
Run status |
|
Run duration | 00m 32s |
Commit |
|
Committer | Jannat Patel |
View all properties for this run ↗︎ |
Test results | |
---|---|
|
0
|
|
0
|
|
0
|
|
0
|
|
1
|
View all changes introduced in this branch ↗︎ |
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.
Pull Request Overview
Adds the ability to manage Email Templates directly in the frontend settings, including list, create, edit, and delete flows.
- Hooked up “Create” action in BatchForm to open the Email Templates modal
- Extended SettingFields and Settings modal to include a new “Email Templates” tab
- Introduced
EmailTemplates.vue
andEmailTemplateModal.vue
, plus layout tweaks in PaymentSettings, SettingFields, and BrandSettings
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
frontend/src/pages/BatchForm.vue | Added onCreate handler to link into the Email Templates settings |
frontend/src/components/SettingFields.vue | Updated width classes and bound description prop on Link |
frontend/src/components/PaymentSettings.vue | Added transform + arrangeFields to reorder fields |
frontend/src/components/Modals/Settings.vue | Imported and wired up the new Email Templates tab |
frontend/src/components/Modals/EmailTemplateModal.vue | New modal component for creating/editing email templates |
frontend/src/components/EmailTemplates.vue | New list view component to display and delete templates |
frontend/src/components/Categories.vue | Minor padding and font-size adjustment |
frontend/src/components/BrandSettings.vue | Fixed div nesting and moved update button into correct wrapper |
Comments suppressed due to low confidence (2)
frontend/src/components/EmailTemplates.vue:1
- This new component covers list display and modal interactions but has no accompanying unit or integration tests; consider adding tests for row clicks, opening the modal, and delete flows.
<template>
frontend/src/components/Modals/EmailTemplateModal.vue:1
- The modal for creating/editing templates includes multiple branches (new vs edit, HTML vs text) but currently lacks tests; add coverage for form validation, save success/error, and toggle logic.
<template>
🎉 This PR is included in version 2.29.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
You can now create and edit Email Templates from the frontend