Mailspring/internal_packages
Evan Morikawa 4cad525cfd fix(quoted-text): new system to remove quoted text
Summary:
We need to remove quoted text completely from bodies in a composer.
Unfortunately, that makes it very difficult to determine how to put it
back in.

For now the scheme is to append the quoted text at the end. However, that
means that we need to only pull out quoted text at the end of a message.

Unfortunately there are lots of places that quoted text appears inline
with regular text.

Determining whether or not some content is at the "end" of a message
turned out to be non-trivial.

We now have a new `DOMUtils` that looks for empty areas at the end.

We also have a new quoted HTML parser that finds trailing quotes.

Fixes T2335

Test Plan: lots of new quoted text tests

Reviewers: bengotow

Reviewed By: bengotow

Maniphest Tasks: T2335

Differential Revision: https://phab.nylas.com/D1773
2015-07-21 11:34:47 -07:00
..
account-sidebar fix(today): Temporarily remove today view 2015-07-20 11:53:48 -07:00
attachments fix(uploads): Animate upload bars, throttle FileUploadStore updates triggered by progress changes 2015-07-17 18:28:18 -07:00
calendar-bar WIP: This is the initial diff for new folders & labels. 2015-07-16 11:54:20 -04:00
composer fix(quoted-text): new system to remove quoted text 2015-07-21 11:34:47 -07:00
composer-signature feat(signatures): Initial signature support 2015-07-14 12:20:06 -07:00
developer-bar feat(offline-mode, undo-redo): Tasks handle network errors better and retry, undo/redo based on tasks 2015-07-07 13:38:53 -04:00
file-list feat(attachments): Tons of tiny fixes to attachments, drag-and-drop attachments to other apps 2015-07-15 13:15:05 -07:00
inbox-contact-elements fix(draft-list): Nesting of participants class name causing problems 2015-07-15 16:48:26 -07:00
message-list fix(quoted-text): new system to remove quoted text 2015-07-21 11:34:47 -07:00
message-templates
mode-switch fix(assets): New toolbar icons, shadows to achieve less heavy edges on messages 2015-06-26 10:38:07 -07:00
notification-mailto
notification-update-available
notifications fix(*): can select participant with space if it's an email 2015-07-13 10:25:30 -04:00
onboarding WIP: This is the initial diff for new folders & labels. 2015-07-16 11:54:20 -04:00
search-bar Search implementation for edgehill 2015-07-17 13:58:55 -07:00
settings fix(getting-started): New menu item, sample package for devs 2015-07-06 14:23:51 -04:00
sidebar-fullcontact
sidebar-inbox-internal
thread-list fix(thread-list): Show an attachment indicator using thread metadata 2015-07-17 16:34:56 -07:00
today fix(today): Temporarily remove today view 2015-07-20 11:53:48 -07:00
tooltip fix(quoted-text): new system to remove quoted text 2015-07-21 11:34:47 -07:00
ui-dark
ui-light
unread-notifications fix(notifications): > 5 should be >= 5 2015-07-16 20:34:55 -07:00