Backend/emails: Support side-by-side buttons in generic emails#8715
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
73337af to
b0d6c4f
Compare
📝 Release NotesThis PR does not need to be included in release notes. Reason: This is a backend email template improvement to support side-by-side buttons in emails, mainly enabling a better layout for host request emails. While end users may see a small visual improvement, it is a narrow implementation detail rather than a significant new feature, major UX improvement, or important bug fix affecting many users. 🤖 Bot Debug InformationModel: |
The host request received emails require showing two buttons side by side (view and quick decline). In the generic email system, if we see two "action" blocks in a row, we collapse them into a single "two buttons" block.
blocks.mjmlto add atwo-buttonsblock, regenerate its html.ActionBlocks intoTwoButtonHTMLBlocks(only for HTML emails).slots=Trueand useasdictFixes #8713
Testing
Locally modified an email to add a second action:
Backend checklist
developif necessary for linear migration historyFor maintainers