Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

WIP: add send email button #13

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

thiagoarrais
Copy link

@thiagoarrais thiagoarrais commented Jan 11, 2018

The purpose of this pull request is to add a "send email" button to the editor.

When this is ready, it should work like this:

  1. User composes heml message
  2. User chooses "send"
  3. An email field popups up
  4. User enters email and hits "send" again
  5. Message is rendered to HTML and, through the magic of SparkPost, arrives at the user's inbox

I've started by making the email field show up. It is still a bit ugly since I haven't figured out how to properly style it.

There is a live version of my changes at http://magical-plot.surge.sh/editor

Next steps will be:

  • make the active tab marker work properly
  • style the email field
  • send the content to the API server
  • server-side rendering + sending email

I'm learning React. When reviewing please feel free to point out any non-idiomatic usage of React. It'll help me a lot

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant