You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The user navigates to the templates page (/templates), they are met with an empty templates page with a message to create a new template.
Then
They can create a new email template with a rich-text editor
Fields for the user to fill out
name required string
category, optional string ( initial options align with the workflows, and ability to add a new category)
content required string
Additional field that API will need
type, required, string (should default to "email" right now)
If the form has errors
Field should tell users when their form response has errors, and not allow them to submit to API until everything is error-free.
If the submission is successful
User should see a success message for 1.5 seconds
The page should show the newly created template
If submission failed
User should see an error banner with the message from API
The form content should still be pre-loaded in the form until a successful submission
Developer Notes
Take a look how UpdatePackageForm or other existing form components are created currently. You can easily pattern off those components as they have styling already.
I'd like Natasha to be able to have a rich text editor, as her current emails have bold text and indents among other things. You can research a little more but so far Quill.js seems like a good candidate.
The text was updated successfully, but these errors were encountered:
Given
An existing client
When
The user navigates to the templates page (
/templates
), they are met with an empty templates page with a message to create a new template.Then
They can create a new email template with a rich-text editor
Fields for the user to fill out
Additional field that API will need
If the form has errors
Field should tell users when their form response has errors, and not allow them to submit to API until everything is error-free.
If the submission is successful
If submission failed
Developer Notes
Take a look how UpdatePackageForm or other existing form components are created currently. You can easily pattern off those components as they have styling already.
I'd like Natasha to be able to have a rich text editor, as her current emails have bold text and indents among other things. You can research a little more but so far Quill.js seems like a good candidate.
The text was updated successfully, but these errors were encountered: