Mailspring/internal_packages/composer/lib
Jackie Luo b323275d24 fix(composer): Stop parsing quoted text on each keystroke to prevent composer lag
Summary: We used to parse the quoted text on each keystroke in the composer for a reply so that we could continue to determine what was quoted text. However, that resulted in dramatically slow typing for replies to complex HTML emails. Now, the quoted text isn't a part of the reply until `prepareDraftForSyncback`, after all of the extensions have run their transformations—we use a marker to determine whether quoted text should be appended or not. The quoted text control is now a one-way operation—you can't hide the quoted text after showing it (Gmail-style).

Test Plan: Tested locally (but didn't run unit tests because they won't run on my machine...)

Reviewers: bengotow, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D3106
2016-07-21 11:11:14 -07:00
..
account-contact-field.jsx refactor(signatures): Removed old signature imgs and made static empty signatures page 2016-07-11 12:35:41 -07:00
action-bar-plugins.jsx fix(send-later): Check if draft is valid before scheduling send later 2016-05-19 13:28:28 -07:00
collapsed-participants.jsx fix(lint): final linter fixes 2016-05-06 16:32:34 -07:00
compose-button.jsx fix(lint): final linter fixes 2016-05-06 16:32:34 -07:00
composer-editor.jsx fix(undo): Move undo/redo to session, properly undo all changes 2016-05-24 11:48:33 -07:00
composer-header-actions.jsx fix(lint): final linter fixes 2016-05-06 16:32:34 -07:00
composer-header.jsx refactor(signatures): Removed old signature imgs and made static empty signatures page 2016-07-11 12:35:41 -07:00
composer-view.jsx fix(composer): Stop parsing quoted text on each keystroke to prevent composer lag 2016-07-21 11:11:14 -07:00
fields.es6 fix(lint): Various linter fixes 2016-05-06 16:23:48 -07:00
file-upload.jsx fix(focus): Remove focusedField in favor of imperative focus, break apart ComposerView 2016-04-04 15:22:01 -07:00
image-file-upload.jsx fix(lint): final linter fixes 2016-05-06 16:32:34 -07:00
main.es6 fix(analytics): improved analytics 2016-06-07 13:38:47 -07:00
send-action-button.jsx fix(lint): final linter fixes 2016-05-06 16:32:34 -07:00
subject-text-field.jsx feat(mail-merge): Add ability to drop tokens in subject 2016-05-12 10:47:41 -07:00