Skip to content

hide quoted responses #92

Description

@tomholub

#1621

Today we don't quote previous responses because Gmail shows a conversation anyway, so we only need to render one message at a time, without any quoted text.

This however becomes a problem when someone is added to a convo half-way, because they have no context (no previous messages), only the latest reply.

I would be good to start quoting the previous message, which is tracked in #873. But before we do that, we have to have a mechanism to hide such quoted content when rendering a message. Eg:

this is my reply

> some other
> quoted text
>
> > gets very
> > 
> > > messy
> > > like that

Should become:

this is my reply

[...]
  1. only lines at the bottom of the email are eligible to hide (starting with > )
  2. should be replaced similar to what Gmail does, with a ... button. The button color should probably use standard FlowCrypt green bg, with white text
  3. clicking it will show the whole quoted text, including the > on each line
  4. Remember to resize the iframe after showing the quoted part

This work will likely be done somewhere in elements/pgp_block.ts

Activity

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions