Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rich quotes #1562

Open
ara4n opened this issue Mar 28, 2018 · 3 comments
Open

Rich quotes #1562

ara4n opened this issue Mar 28, 2018 · 3 comments

Comments

@ara4n
Copy link
Member

ara4n commented Mar 28, 2018

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).

@lampholder
Copy link
Member

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 lampholder added the P3 label Mar 29, 2018
@ara4n
Copy link
Member Author

ara4n commented Jun 22, 2019

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.

@t3chguy t3chguy transferred this issue from element-hq/element-web May 11, 2023
@RokeJulianLockhart
Copy link

RokeJulianLockhart commented Apr 23, 2024

#1562 (comment)

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants