Skip to content
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

Add documentation for email drafts #345

Open
wants to merge 3 commits into
base: 5.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
# Created by https://www.toptal.com/developers/gitignore/api/python,jupyternotebooks
# Edit at https://www.toptal.com/developers/gitignore?templates=python,jupyternotebooks

### PHPStorm ###
.idea

### Mac OS ###
.DS_Store

### JupyterNotebooks ###
# gitignore template for Jupyter Notebooks
# website: http://jupyter.org/
Expand Down
35 changes: 35 additions & 0 deletions docs/channels/emails.rst
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,41 @@

.. vale off

Email Drafts
************

Creating a Draft Email
======================

.. vale on

Email drafts can be created using the "Save as Draft" button in the email editor. This button is available when email drafts are enabled via the configuration parameter `email_draft_enabled`.

Check warning on line 376 in docs/channels/emails.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Google.Passive] In general, use active voice instead of passive voice ('be created'). Raw Output: {"message": "[Google.Passive] In general, use active voice instead of passive voice ('be created').", "location": {"path": "docs/channels/emails.rst", "range": {"start": {"line": 376, "column": 18}}}, "severity": "INFO"}

Check warning on line 376 in docs/channels/emails.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Email' instead of 'email'. Raw Output: {"message": "[Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Email' instead of 'email'.", "location": {"path": "docs/channels/emails.rst", "range": {"start": {"line": 376, "column": 69}}}, "severity": "INFO"}

Check warning on line 376 in docs/channels/emails.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Email' instead of 'email'. Raw Output: {"message": "[Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Email' instead of 'email'.", "location": {"path": "docs/channels/emails.rst", "range": {"start": {"line": 376, "column": 113}}}, "severity": "INFO"}

Check warning on line 376 in docs/channels/emails.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Google.Passive] In general, use active voice instead of passive voice ('are enabled'). Raw Output: {"message": "[Google.Passive] In general, use active voice instead of passive voice ('are enabled').", "location": {"path": "docs/channels/emails.rst", "range": {"start": {"line": 376, "column": 126}}}, "severity": "INFO"}

Check failure on line 376 in docs/channels/emails.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'email_draft_enabled'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'email_draft_enabled'?", "location": {"path": "docs/channels/emails.rst", "range": {"start": {"line": 376, "column": 171}}}, "severity": "ERROR"}

.. image:: images/emails/save-draft.png
:width: 400
:alt: Screenshot showing the "Save as Draft" button on the email edit page.

Only one draft at a time can exist for any given email. When a draft is created, the "Save as Draft" button is replaced by two buttons, "Apply Draft" and "Discard Draft".

.. image:: images/emails/apply-draft.png
:width: 400
:alt: Screenshot showing the "Apply Draft" and "Discard Draft" buttons on the email edit page.

Check warning on line 386 in docs/channels/emails.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Email' instead of 'email'. Raw Output: {"message": "[Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Email' instead of 'email'.", "location": {"path": "docs/channels/emails.rst", "range": {"start": {"line": 386, "column": 81}}}, "severity": "INFO"}

Check warning on line 386 in docs/channels/emails.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Landing Page' instead of 'page'. Raw Output: {"message": "[Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Landing Page' instead of 'page'.", "location": {"path": "docs/channels/emails.rst", "range": {"start": {"line": 386, "column": 92}}}, "severity": "INFO"}

An email draft allows changes to the content of the email only. Changes to the Subject, Internal Name, selected Segment, etc will apply to the original email even when editing a draft version of it. The draft content is all that is saved separately from the original email.

Check warning on line 388 in docs/channels/emails.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Email' instead of 'email'. Raw Output: {"message": "[Mautic.FeatureList] Is this referring to a Mautic feature? If so, use 'Email' instead of 'email'.", "location": {"path": "docs/channels/emails.rst", "range": {"start": {"line": 388, "column": 4}}}, "severity": "INFO"}

Check warning on line 388 in docs/channels/emails.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Google.Will] Avoid using 'will'. Raw Output: {"message": "[Google.Will] Avoid using 'will'.", "location": {"path": "docs/channels/emails.rst", "range": {"start": {"line": 388, "column": 126}}}, "severity": "WARNING"}

Check warning on line 388 in docs/channels/emails.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Google.Contractions] Feel free to use 'that's' instead of 'that is'. Raw Output: {"message": "[Google.Contractions] Feel free to use 'that's' instead of 'that is'.", "location": {"path": "docs/channels/emails.rst", "range": {"start": {"line": 388, "column": 225}}}, "severity": "INFO"}

Check warning on line 388 in docs/channels/emails.rst

View workflow job for this annotation

GitHub Actions / prose

[vale] reported by reviewdog 🐶 [Google.Passive] In general, use active voice instead of passive voice ('is saved'). Raw Output: {"message": "[Google.Passive] In general, use active voice instead of passive voice ('is saved').", "location": {"path": "docs/channels/emails.rst", "range": {"start": {"line": 388, "column": 230}}}, "severity": "INFO"}

.. vale off

Previewing a Draft Email
========================

.. val on

An email draft may be previewed by appending `/draft` to the end of the email preview URL. If an email has a draft version, a Draft Preview URL will be present on the email details page below the regular Preview Url.

.. image:: images/emails/preview-draft.png
:width: 400
:alt: Screenshot showing the Preview Draft URL link on the email edit page.

Troubleshooting Emails
**********************

Expand Down
Binary file added docs/channels/images/emails/apply-draft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/channels/images/emails/preview-draft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/channels/images/emails/save-draft.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading