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

Hide status area when there is no status to be displayed #1153

Closed
jfrederickson opened this issue Mar 14, 2016 · 4 comments
Closed

Hide status area when there is no status to be displayed #1153

jfrederickson opened this issue Mar 14, 2016 · 4 comments
Labels

Comments

@jfrederickson
Copy link

While the status bar comes in handy for jumping to the bottom of scrollback and for showing typing status, I feel like it looks too unnatural and wastes too much space when there's nothing to display there. (This is even more pronounced in vector-android.) I think it would look better if the status area were hidden if nothing needed to be displayed there, much like the "unread messages" bar that appears at the top:

screen shot 2016-03-14 at 7 13 25 pm

@ara4n
Copy link
Member

ara4n commented Mar 14, 2016

The problem is that when it appears it'd push the whole scrollback upwards, which could get rather annoying and bouncy if someone was typing on/off etc. I agree it's a bit redundant when empty though, especially on mobile. We'll have a think.

@ara4n ara4n added feature P3 S-Tolerable Low/no impact on users labels Mar 14, 2016
@jfrederickson
Copy link
Author

Agreed, scrolling semantics are tricky with that. Might help if you only scroll the chat window if you're scrolled all the way to the bottom, else put the status bar in place without scrolling. It's similar to what other messengers do: Facebook Messenger and Hangouts for example put the typing notification in a chat bubble, which does cause the chat to bounce up and down if they stop and start typing.

Somewhat related, maybe it would be useful to have separate event types for "typing" and "has something typed, but has stopped typing" - XMPP has this for example, and it allows clients to have e.g. an animated typing icon when the other party is typing, and a static one when not. (Which avoids typing indicators toggling between off and on unless they actually delete everything and stop for a while.)

@aviraldg
Copy link
Contributor

One possible way to fix this without causing jumpiness is to keep its position fixed at the bottom, and hide it when not needed (instead of making it a part of the message list itself.) When it appears, it appears above existing messages, which works out fine since it shows up when you scroll up.

@ara4n
Copy link
Member

ara4n commented Sep 7, 2016

dup #1991

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

No branches or pull requests

4 participants