UI enhancement
avatar mbabker
mbabker
22 Sep 2013

Could we find a way to by default hide reply text like is done on GitHub?

Tracker - http://issues.joomla.org/tracker/joomla-cms/2034#event-1636
GitHub - joomla/joomla-cms#2034 (comment)

avatar mbabker mbabker - open - 22 Sep 2013
avatar mbabker mbabker - open - 22 Sep 2013
avatar elkuku
elkuku - comment - 22 Sep 2013

Agree.
I wonder how this was done. I believe there is no standard for a "separator", and the text is always localized...

avatar b2z b2z - close - 3 Nov 2013
avatar b2z b2z - reopen - 3 Nov 2013
avatar b2z
b2z - comment - 30 Nov 2013

I just tried to play with the EmailReplyParser. getVisibleText() method returns the content without a quoted email text, so no quotes will be inside the comments. Another issue - it works with the text_raw only, so getVisibleText() will return GFM formatted content and we will need to parse it back...

avatar elkuku
elkuku - comment - 1 Sep 2014

I've been playing with this but didn't get any usable results :(

Some further info:

The "original" used by GitHub (Ruby): https://github.com/github/email_reply_parser

I thought we might do this with JS after rendering the page, so I tried https://www.npmjs.org/package/emailreplyparser but it turns out that it also works only on the raw text...

So the only thing that occurs to me is to "split" the comment when it is imported via the CLI script and to store the parts JSON encoded, so we would have to decode them on display.

avatar b2z
b2z - comment - 3 Sep 2014

So the only thing that occurs to me is to "split" the comment when it is imported via the CLI script and to store the parts JSON encoded, so we would have to decode them on display.

Well at least something...

avatar mbabker
mbabker - comment - 25 Mar 2016
avatar mbabker mbabker - labeled - 25 Nov 2016
avatar mbabker mbabker - unlabeled - 25 Nov 2016

Add a Comment

Login with GitHub to post a comment