Element-android: reply message ui design

Created on 10 Jun 2019  路  7Comments  路  Source: vector-im/element-android

some ideas for displaying the in reply to <mx-reply> description and content in a (probably) nicer way:

  • [ ] link the whole <mx-reply> to the original message so a tap on it scrolls up the message history (if necessary) and highlights the original message
  • [ ] don't display nested replys (in longer discussions I don't wan't to have everything from above again in the new message, but just the last message the reply refers to; when I wan't to read preceding messages content I can scroll up / click on the reply to be scrolled up to the corresponding message)
  • [ ] only display the first part of the quoted text (maybe also in a little bit smaller font size) to prevent reply messages to fill up a huge amount of space, only because the original message was a long one
enhancement reply

Most helpful comment

I'd add the following improvement: if the original message contains an image, show a small image preview (but not a full-sized image).

All 7 comments

Thanks, yes RiotX need to implement 'Rich Reply'
https://matrix.org/docs/spec/client_server/r0.4.0.html#rich-replies

To be specific, the <mx-reply> tag shouldn't be rendered at all, it needs to be stripped away completely. The original message should be fetched from the server using the metadata in the event (m.relates_to) and that event should be rendered above the reply message appropriately.

I'm pro shortening the referred-to message via ellipsis, with the possibility to tap and show it fully, instead of shortening the message.

tap and show it fully

Isn't it better to have tapping jump to message? You see the whole message and the context, rather than just seeing the message and not having a convenient way to jump to context.

Well, both would be nice. Then you would not have to jump up and afterwards going down again (as the referencing message might not be at the very end of the conversation, and you then have to manually search).

I'd add the following improvement: if the original message contains an image, show a small image preview (but not a full-sized image).

I'd add the following improvement: if the original message contains an image, show a small image preview (but not a full-sized image).

FTR that PR implements that on Element Web

Was this page helpful?
0 / 5 - 0 ratings

Related issues

532910 picture 532910  路  3Comments

Yajo picture Yajo  路  3Comments

532910 picture 532910  路  3Comments

nadonomy picture nadonomy  路  3Comments

commagray picture commagray  路  3Comments