Conversation
EmailTemplate.Text already existed on the API and TS type (and, after the multipart fix, is now actually sent), but nothing in the console ever read or wrote it - there was no way to set a template's text/plain alternative without calling templates.update by hand. Adds an optional "Plain text" field to the main template editor's Settings tab (reusing the existing Liquid-tag validator used by subject/subject_preview), the same field per language in the Translations tab (including reset-to-default), and a read-only "Plain Text" tab in the template preview drawer, shown only when the field is set.
Lets a local build pass --build-arg BUILD_TAGS=licdev to trust the dev licence signing key for testing gated features, without changing the default (empty) build that every published image still uses.
The Settings-tab field and per-language Translations-card textarea from the previous commit were a bolted-on duplicate of something that belongs next to the email body: no room for import/export, and a separate field per language when the body editor is already shared across languages. "Plain text" is now a peer of Code/Errors/Test Data/Generated HTML in the code editor's tab strip, and a third option of the visual editor's Edit/Preview switcher - both surfaces already used by the main editor and by every language's nested editor Drawer, so every language gets the same full editing experience for free. Both toolbars gained a Plain text import/export group (.txt), backed by a small shared Monaco-based panel and a couple of read/download helpers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.