Mailspring/src
Juan Tejada cac679b119 feat(mail-merge): Add ability to drop tokens in subject
Summary:
Adds ability to drop tokens in subject via a custom rendered subject field which
renders a contenteditable instead of an input.
Decided to completely replace the subject field via injected components for a
few resons:
  - That's the way we are currently extending the functionality of the participant fields, so it keeps the plugin code consistent (at the cost of potentially more code)
  - Completely replacing the subject for a contenteditable means we hace to do extra work to clean up the html before sending.
  - Reusing our Contenteditable.cjsx class for the subject is overkill, but using a vanilla contenteditable meant duplicating a bunch of the code in that class if we want to add

Test Plan: Unit tests

Reviewers: bengotow, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D2949
2016-05-12 10:47:41 -07:00
..
browser fix(menus): Always show main win in menu, move Activity #1314 2016-05-09 17:28:52 -07:00
compile-support feat(babel6): Fix syntax errors and add regenerator runtime 2016-05-06 11:55:08 -07:00
components feat(mail-merge): Add ability to drop tokens in subject 2016-05-12 10:47:41 -07:00
extensions fix(lint): Various linter issues 2016-05-06 16:06:16 -07:00
flux fix(draft-session): Never show body with transforms applied 2016-05-11 17:09:23 -07:00
global feat(mail-merge): Add ability to drop tokens in subject 2016-05-12 10:47:41 -07:00
pro@8a3b330017 feat(mail-merge): Add ability to drop tokens in subject 2016-05-12 10:47:41 -07:00
searchable-components fix(lint): Various linter issues 2016-05-06 16:06:16 -07:00
services feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
apm-wrapper.coffee
buffered-process.coffee
canvas-utils.coffee fix(inline): radial progress, merge body with download data on render 2016-03-31 15:16:21 -07:00
chaos-monkey.coffee
chrome-user-agent-stylesheet-string.coffee
color.coffee
command-registry.coffee refactor(menus): Major prune of keymaps/commands, real conditional menus 2016-04-24 12:16:25 -05:00
compile-cache.js feat(babel6): Fix syntax errors and add regenerator runtime 2016-05-06 11:55:08 -07:00
component-registry.coffee fix(composer): fix flashing and focus losing in the composer 2016-04-29 15:58:17 -07:00
config-schema.coffee fix(config-schema): Explitly mention swipe gesture 2016-05-03 17:16:49 -07:00
config-utils.js
config.coffee fix(config): Report JSON parsing errors in a dialog #2102 2016-05-04 12:05:04 -07:00
database-object-registry.es6 feat(win): faster popout windows 2016-04-22 13:30:42 -07:00
date-utils.es6 fix(lint): Various linter issues 2016-05-06 16:06:16 -07:00
deprecate-utils.coffee feat(win): faster popout windows 2016-04-22 13:30:42 -07:00
dom-utils.coffee
dom-walkers.es6 fix(lint): Various linter issues 2016-05-06 16:06:16 -07:00
error-logger.js fix(require): Move more requires to new electron format 2016-04-13 15:35:01 -07:00
extension-registry.es6 fix(lint): Various linter issues 2016-05-06 16:06:16 -07:00
keymap-manager.es6 feat(keymaps): Edit your keymaps from preferences 2016-05-05 17:05:51 -07:00
launch-services.coffee Revert "feat(mailto): Allow N1 to be default client on windows" 2016-05-03 19:04:04 -07:00
less-compile-cache.coffee fix(spec): fix cache in spec 2016-05-02 18:58:31 -07:00
mail-rules-processor.coffee feat(babel6): Convert message.coffee to message.es6 2016-05-06 11:55:27 -07:00
mail-rules-templates.coffee
mailbox-perspective.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
menu-helpers.coffee refactor(menus): Major prune of keymaps/commands, real conditional menus 2016-04-24 12:16:25 -05:00
menu-manager.coffee fix(menus): Add Thread menu to win/linux, fix disabling 2016-04-27 13:24:43 -07:00
module-cache.coffee
multi-request-progress-monitor.coffee
native-notifications.coffee
nylas-env.coffee feat(babel6): fix es6 importing from coffee 2016-05-06 12:00:45 -07:00
nylas-spellchecker.coffee fix(require): Move more requires to new electron format 2016-04-13 15:35:01 -07:00
package-manager.coffee rm(*): deprecated/unused Atom code, user stylesheet support 2016-05-04 14:27:46 -07:00
package.coffee feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
priority-ui-coordinator.coffee bump(react): 0.13.2 => 0.14.7 2016-03-29 01:43:12 -07:00
regexp-utils.coffee feat(babel6): Fix spread operator 2016-05-06 11:55:29 -07:00
secondary-window-bootstrap.coffee feat(win): faster popout windows 2016-04-22 13:30:42 -07:00
serializable-registry.es6 fix(lint): Various linter issues 2016-05-06 16:06:16 -07:00
sheet-container.cjsx feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
sheet-toolbar.cjsx feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
sheet.cjsx feat(babel6): Convert to use new es6 require syntax 2016-05-06 11:54:55 -07:00
sound-registry.coffee
store-registry.es6 fix(lint): Various linter issues 2016-05-06 16:06:16 -07:00
style-manager.coffee rm(*): deprecated/unused Atom code, user stylesheet support 2016-05-04 14:27:46 -07:00
styles-element.coffee rm(*): deprecated/unused Atom code, user stylesheet support 2016-05-04 14:27:46 -07:00
system-start-service.es6 fix(lint): Various linter issues 2016-05-06 16:06:16 -07:00
task-bootstrap.coffee
task-registry.es6 feat(win): faster popout windows 2016-04-22 13:30:42 -07:00
task.coffee fix(user-agent): Don't assume Tasks are spawned from renderer processes #2079 2016-04-28 10:34:56 -07:00
theme-manager.coffee rm(*): deprecated/unused Atom code, user stylesheet support 2016-05-04 14:27:46 -07:00
theme-package.coffee
undo-manager.coffee
virtual-dom-utils.es6 fix(lint): Various linter issues 2016-05-06 16:06:16 -07:00
window-bootstrap.coffee
window-bridge.coffee
window-event-handler.coffee rm(*): deprecated/unused Atom code, user stylesheet support 2016-05-04 14:27:46 -07:00
window.coffee