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

Collapse/expand long message #1240

Open
betz opened this issue Jun 21, 2017 · 2 comments
Open

Collapse/expand long message #1240

betz opened this issue Jun 21, 2017 · 2 comments

Comments

@betz
Copy link

betz commented Jun 21, 2017

Sometimes people post messages that are long.
Handy would be to collapse this by default. Show the first 3 lines, with a line and expand link under.
We do this already for long joined/left visitor notes, expand to long messages also.

@lampholder
Copy link
Member

Is the use case for this when somebody pastes a large message that is not part of the main flow of conversation?

I would have thought that in most cases you'd want to see the full message, though having an option to collapse could be useful on occasion.

@pedro-nonfree
Copy link

Proposal:

  • Collapse text of a single message that reaches more than a third (1/3) in mx_RoomView_MessageList [1]. More than a third kills the notion of a chat
  • I think is more user friendly to use the words read more and read less. I see the words collapse or expand more technical https://www.w3schools.com/howto/howto_js_read_more.asp

Worst case:

a lots of empty lines that could make feel the user has a problem with internet, with their client chat, their system in general, the database of their homeserver, etc.

In my laptop, you scroll 15+ times easily. it is a bad joke.

without focus

image

with focus (then, a little bit more intuitive that it is a very long empty message)

image

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

7 participants