Skip to content

Conditional context of previews #52

@dmitry

Description

@dmitry

I would like to discuss feature that will give ability for the users to change context in the mailer previews without creating a new previewer.

Not all the mails are just plain, but have some conditional changes, depending on the model state. Current solution is to make a additional preview method. But what if you will be able to make a context switch right in the previewer. The reason for that is:

  • to make interface minimal and usable: in one of the application I working on, there are ~150 emails, and for most of the 2-3 contexts.
  • also it's very good from code perspective to overview of available contexts.

An example how it may look like:

switch-context-index

Looks like this change was the beginning of this feature: 12b9175

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions