element-meta icon indicating copy to clipboard operation
element-meta copied to clipboard

Rich quotes

Open ara4n opened this issue 7 years ago • 3 comments

We already have lots of work going on with rich replies (which reply to a specific message).

Need to work out how to do rich quotes (which let you edit the message you're quoting before you send it)... whilst including nicer formatting about the original sender & timestamp & permalink to original msg (rather than just using the markdown > feature).

ara4n avatar Mar 28 '18 12:03 ara4n

How much and what sort of editing are you envisioning?

If we're clearly attributing the quote to the original sender in the UX then I guess we are expecting the quote to remain representative of what was originally said. We could do this through some combination of:

  • rich quote events being a transformation of the quoted event, prehaps comprising a source event id and a start and end index (or a series of ranges if we want to be able to snip irrelevant segments)
  • a very easy way to see the full text of the message from which the quote was derived (e.g. a hoverover tooltip, expandable pane, or by including the whole quote in small/low-emphasis text near to the quoted segment)

lampholder avatar Mar 29 '18 14:03 lampholder

for editing, i guess it's just selecting the subset of the msg being quoted. and we'd let the quoter go wild annotating/abusing that if they wanted to. In practice, in markdown, it could be something like:

> [Matthew](...) [said](...)
> I suck

where the links go to the appropriate matrix.to URLs.

ara4n avatar Jun 22 '19 22:06 ara4n

https://github.com/element-hq/element-meta/issues/1562#issuecomment-1543860244

@ara4n, I suggest what Discourse uses - https://meta.discourse.org/t/discourse-new-user-guide/96331?u=rokejulianlockhart#quoting-13 becomes:

[quote="Discourse, post:1, topic:96331"]
### Quoting

To insert a quote, select the text you wish to quote, then press the Quote button that pops up. There is no need to quote a whole message: it helps to be specific. Repeat this for multiple quotes even from different posts and different users. The quoted text will point to their original source.

![quoting|690x249](upload://lAOEL3tGfFKh5DhC00eH22SFLQF)
[/quote]

This renders like <blockQuote>s do, as:

Quoting

To insert a quote, select the text you wish to quote, then press the Quote button that pops up. There is no need to quote a whole message: it helps to be specific. Repeat this for multiple quotes even from different posts and different users. The quoted text will point to their original source.

quoting|690x249

RokeJulianLockhart avatar Apr 23 '24 22:04 RokeJulianLockhart