Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Goals

  • Allow developers to view the props passed to the email preview
  • (Nice to have) Allow live editing of those props to quickly test different inputs

Background

At the moment, there's no way to see what props are being passed to the previewed email via the preview tool.

Being able to view the props would be helpful when checking the preview. Editing them would make it faster to test things like names, codes, or other dynamic values - without needing to jump into the editor, for now code users.

There are some similar ideas in tools like Storybook, which allow real-time prop changes via controls.

Proposal

A simple side panel in the preview UI that:

  • Shows the current props
  • (Optional) Allows editing them inline or via a JSON view
  • Updates the preview live on change

Here’s a quick mockup of what I was thinking it would look like:

image

I'd be happy to help with UI design and might be able to contribute on the frontend side if the idea is accepted.

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
💡
Ideas
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.