agrynco
8e81572386
feat(notification): add admin rest management and deletion
...
Add revision-safe service and template APIs, channel mapping, and validated admin controls.
Ref: IT-1601
2026-10-17 22:51:01 +03:00
agrynco
81654c0d33
feat(templates): add service language template management
...
Add normalized service and template catalogs, scoped administration, migration, validation, and regression coverage.
Ref: IT-1601
2026-10-17 22:02:43 +03:00
agrynco
1ceb71b9a2
fix: correct notification template filter links
...
Use explicit Razor interpolation for create and edit URLs and cover the rendered link syntax with a regression test.
Ref: IT-1039
2026-08-04 21:01:46 +03:00
agrynco
cc3857a409
feat: add persistence and restoration of email template filters in UI and backend
2026-05-17 13:53:37 +03:00
agrynco
07f536938f
feat: add filtering by ServiceName and Key in email templates query and UI
2026-05-17 11:43:25 +03:00
Anatolii Grynchuk
50828d23ec
refactor: replace internal UnitOfWork with NotificationUnitOfWork and NotificationBaseRepository
...
- Consolidate unit of work implementation with NotificationUnitOfWork.
- Refactor repositories to use NotificationBaseRepository for consistency.
- Simplify request handlers by removing IUnitOfWork dependency.
- Update related tests and service registration.
2026-05-13 02:08:43 +03:00
Anatolii Grynchuk
9490718c04
feat: add real-time email template preview with variable interpolation
...
- Introduce preview panel to edit form for rendering subject, HTML, and text with sample values.
- Add support for real-time updates using JavaScript.
- Include supporting styles for preview panel in admin CSS.
- Add optional `Scripts` section rendering to `_EditorLayout`.
- Create `.env.Development` for better development environment configuration.
2026-05-12 21:56:50 +03:00
Anatolii Grynchuk
936d41c2f1
feat: improved admin UI styles and layout
...
- Max-width 860px on editor card
- Two-column row for ServiceName/Key/Language fields
- Gradient card header, proper shadow, grey footer
- Footer buttons right-aligned
- Smaller uppercase table headers, better typography
- Overhauled admin.css with CSS variables and cleaner rules
Ref: IT-628
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-02 02:51:58 +03:00
Anatolii Grynchuk
c90b07386d
feat: polished admin UI styles + email channels admin CRUD
...
- Extract inline styles to wwwroot/css/admin.css
- Bootstrap Icons for nav and buttons
- Styled page headers, table, empty state, readonly fields
- Email Channels admin: list, create, edit, delete
- GetAllEmailChannelsQuery + handler
- AdminChannelsController with full CRUD
- form id + form= attribute pattern for EditorLayout footer buttons
Ref: IT-628
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-02 02:43:59 +03:00
Anatolii Grynchuk
855d0862f9
fix: save button not submitting — form id + form= attribute on submit button; migrator connection string in dev compose
...
- _EditorLayout renders FormActions section outside <form> in the DOM
- Added id='templateForm' to form, form='templateForm' to submit button (HTML5 form association)
- Added migrator env override in docker-compose.Development.yml so connection string is not read from \
Ref: IT-628
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-02 02:35:01 +03:00
Anatolii Grynchuk
2a0a5f737d
feat: add MVC Razor admin UI for email templates
...
- GetAllEmailTemplatesQuery + handler (new GetAll use case)
- IEmailTemplateRepository.GetAllAsync + EF implementation
- AdminTemplatesController: Index, Create, Edit, Save, Delete
- EmailTemplateEditViewModel with IsNew/PageTitle helpers
- Views/_ViewStart, _ViewImports, Shared/_Layout (Bootstrap 5)
- Shared/_EditorLayout (chained layout for all edit screens)
- Views/AdminTemplates/Index (table with edit/delete actions)
- Views/AdminTemplates/Edit (card form, readonly composite key on edit)
- Program.cs: AddControllersWithViews, UseStaticFiles, MapDefaultControllerRoute
Ref: IT-634
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-02 02:06:08 +03:00