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

Group messages by date and by author #1

Open
artpolikarpov opened this issue May 20, 2015 · 5 comments
Open

Group messages by date and by author #1

artpolikarpov opened this issue May 20, 2015 · 5 comments

Comments

@artpolikarpov
Copy link

Slack is grouping messages by date and by author:
screen shot 2015-05-20 at 10 34 06

And you are not:
screen shot 2015-05-20 at 10 39 04

Do you think it is possible with Meteor?

@artpolikarpov
Copy link
Author

It is of course possible if you fetch() messages and group them imperatively with some javascript. But .fetch() will cause recomputing all the data on every change. The growing list will slow down depending on the number of elements.....

@artpolikarpov
Copy link
Author

Another interesting point that Slack group messages only visually. Dom is flag:

.day_divider
.message.show_user
.message
.message
.message.show_user

http://share.artpolikarpov.ru/11F1X

@timbrandin
Copy link
Member

We've moved this project to a larger scope: http://github.com/SpaceTalk/SpaceTalk

@artpolikarpov
Copy link
Author

Ook. What I have to do? And what is your thoughts about the issue?

@timbrandin
Copy link
Member

It is definitely possible with Meteor, you just have to keep track of what was printed in the previous row, the issue is that we're not sorting I think. This might be solved in the latest version of SpaceTalk. I'll have a look at it next week. Thx for reporting.

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

No branches or pull requests

2 participants