stack/packages/stack-server
Konsti Wohlwend 4415012f8c
Email template editor (#54)
* added email editor

* added theme

* improved styling

* removed unused

* added toolbar toggle

* fixed layout problems

* removed sample drawer

* added original license

* added template var matching

* renamed files

* added variable panel

* changed boxes to tailwind DIVs

* added save button

* added custom text-block

* removed avatar, change tab switching logic

* removed html component for now

* renamed folder

* moved download import to setting panel

* added prisma schema for email templates

* added mustache

* added cancel button

* added email templates crud

* removed email template id

* updated email template list page

* removed unused imports

* removed createEmailTemplate handler

* added reset button to email template

* added default templates structure

* added template default value

* moved email template location

* added template information

* added email template routes

* fixed types, added error page

* improved styles

* updated sidebar links

* added save and cancel functions

* wrapped router and link for leave confirmation

* changed disabled => needConfirm

* fixed link

* fixed styles

* fixed link

* fixed bugs

* fixed template editing bugs

* added reset confirmation

* fixed save button

* fixed type error, moved email util file

* moved constant, added prefetch to link

* restructured code

* added variable system

* added email verification default

* removed preview

* added templates for all emails, removed unused

* fixed import error

* migrate part of mui to shadcn

* migrated more to shadcn

* migrated more mui

* updated color picker

* migrate more to shadcn

* added shadcn toggle group

* removed editor provider

* updated slider

* migrated toggle group to shadcn

* moved block icons to lucide

* removed radio group

* fixed color picker

* migrated icons to shadcn

* change popup buttons to shadcn

* fixed create block button display bug

* changed import json to shadcn

* migrated block menu

* removed mui dependency

* render merged preview

* refactor: Replace deleteEmailTemplate with resetEmailTemplate for consistency

* chore: renamed delete email template and removed unused imports

* fixed add block button style

* changed button default style

* added subject

* added subject preview

* moved document-core into the repo

* moved all email components into the repo

* removed context in reader block

* restructured files

* moved components to react-email

* removed unused

* fixed magic link template

* fixed templates

* Mustache -> Handlebars, disabled escape

* fixed editor scrolling

* moved delete button location to inside the box

* fixed template rendering error, updated templates

* updated button text in email templates

* generated migration file

* fixed small bugs

* fixed handle bar import path

* removed all the double ;;

* fixed lint

* fixed inert with type extension

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-05-28 11:49:59 +02:00
..
prisma Email template editor (#54) 2024-05-28 11:49:59 +02:00
public updated logo 2024-05-16 22:05:44 +02:00
scripts Move code (initial commit) 2024-02-28 14:35:30 +01:00
src Email template editor (#54) 2024-05-28 11:49:59 +02:00
.env stackframe.co -> stack-auth.com 2024-04-12 18:29:02 +02:00
.eslintrc.cjs Email template editor (#54) 2024-05-28 11:49:59 +02:00
.gitignore Sentry for stack-server 2024-04-14 11:54:11 +02:00
.npmrc Move code (initial commit) 2024-02-28 14:35:30 +01:00
CHANGELOG.md chore: update package versions 2024-05-25 19:11:29 +02:00
components.json Migration to Shadcn UI (#31) 2024-05-10 23:34:42 +02:00
LICENSE Licenses 2024-02-28 15:27:00 +01:00
next.config.mjs Email template editor (#54) 2024-05-28 11:49:59 +02:00
package.json Email template editor (#54) 2024-05-28 11:49:59 +02:00
postcss.config.js Migration to Shadcn UI (#31) 2024-05-10 23:34:42 +02:00
sentry.client.config.ts Docker compose dependencies (#20) 2024-05-04 15:42:41 +02:00
sentry.edge.config.ts Docker compose dependencies (#20) 2024-05-04 15:42:41 +02:00
sentry.server.config.ts Docker compose dependencies (#20) 2024-05-04 15:42:41 +02:00
tailwind.config.ts fixed ux problems 2024-05-16 16:05:35 +02:00
tsconfig.json New UI system (#5) 2024-03-21 10:51:53 +01:00