Hide earlier emails in a fact check received email chain #308
Avoid reproducing the original fact check email, and every other email in the reply chain, within the edition history and notes view. Instead show the most recent reply and hide all earlier emails behind a toggle, so that no information is lost.
Email detection is based on common patterns used by Outlook, OSX Mail, iPhone and BlackBerry. More can be added fairly easily, but this seems to have captured the majority of formats within existing notes.
The style of fact check emails has also been tweaked so that they appear different to regular notes, and can either be scrolled to or past with ease.
* Only show the latest response in the history and notes feed to prevent pages of scrolling * Keep the full original email available behind a toggle, so it can be viewed if necessary and so that no information is unavailable * Works for common reply formats from outlook, OSX mail, iPhone and Blackberry * Ignores everything but the first instance of an original email