Giter VIP home page Giter VIP logo

mailroad's People

Contributors

mpopv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mailroad's Issues

Rename Content to contents - content should be the array inside.

For example, data structure is now:

"content": [
{
"content": "

Just start typing

",
"editorType": "DefaultEditor",
"componentTitle": "New Component"
}
],

should be:

"contents": [
{
"content": "

Just start typing

",
"editorType": "DefaultEditor",
"componentTitle": "New Component"
}
],

This change needs to be made in a whole bunch of places, both front and backend and database views.

Copying emails

Should use the copy function from couchdb. Only one email should be able to be copied at a time, so if you select more than one email in the list, disable the copy button.

Figure out what to do with mjml template files

Because right now they don't work on production build due to path differences. GET /api/email/templates is broke because it tries to read from a relative dir. Or maybe they should just

They should be stored in the filesystem so you can easily edit/update them without making database changes. Maybe they just need to be copied with webpack build.

MJML & Handlebars logic

Look at ways to allow more flexibility when building templates. Specifically how to dynamically display certain components based on section titles.

Add Calendar as editorType

Use the react-datepicker components. Maybe give an option to choose datepicker or datespicker.

Should be able to add a dynamic number of dates and a description for each.

Tricky part will be how to store data in content field. Maybe.

SingleImage insert image is broken

When adding an image to SingleImage component in EditorContainer there's a props error:

Uncaught TypeError: Cannot read property 'props' of null
    at setImageSizes (eval at <anonymous> (http://localhost:8888/public/react-main.js:1436:1), <anonymous>:100:12)

Error logging enhancements

Ideally we want to add an error logging system for both client and server. Choice of logging module TBD.

For client side, we should set up an API endpoint that writes to this error log as well, so we can track everything but keep separate.

Add MJML compilation

The goal is to pass the serialized HTML into MJML to format it nicely into tables. Then maybe send it to an API somewhere. This is still loosely thought out but it will get resolved.

Add Heading editorType

Should be real simple, maybe just a single input field. Possible options:

  • force uppercase
  • font-size
  • centered or left aligned

Add categories to email

Maybe one of the first things to be added to the admin panel - Categories like Brands, Finance, Tech, etc

Each email should only belong to 1 category.

Add Image as editorType

Need to be able to insert images outside of the slate editors, so create a component for that.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.