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

Updated member list to show offline members also. #42

Merged
merged 7 commits into from
Aug 13, 2015

Conversation

bbrockman
Copy link

Updated member list to show offline users and color the names according to their status.
In room.coffee: returned offline for the status in the method userActiveByUsername. The method previously pulled the user from the session when doing the check. It disregarded it if the user was not in the session (offline).
Commented out the base.less file that was overriding the status color in the member list.

…r List.

In room.coffee: returned offline for the status in the method userActiveByUsername.  The method previously pulled the user from the session when doing the check.  It disregarded it if the user was not in the session (offline).
Commented out the base.less file that was overriding the status color in the member list.
@rwakida
Copy link

rwakida commented Aug 7, 2015

Works for me 👍

I think we should sort alphabetically. Maybe group by status?

FYI: Duplicate of RocketChat#337. You should create a pull request for RocketChat. Also, moderators suggest creating a configurable setting.

@rwakida rwakida mentioned this pull request Aug 7, 2015
3 tasks
@bbrockman
Copy link
Author

Thanks Reid. I need to go through their issues a little closer!

# Conflicts:
#	client/stylesheets/base.less
#	client/views/app/room.html
…yone in the room

Removed offset
Added profile first name and last name to user data publication
Updated userObserve to include new profile fields
Updated room to display first name and last name (sort by last name) instead of username
@@ -105,16 +105,14 @@ Meteor.startup ->
return room?.dom?

updateUserStatus = (user, status, utcOffset) ->
onlineUsersValue = onlineUsers.curValue
allUsersValue = allUsers.curValue

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does .curValue return the same thing as .get() for a reactive var?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dunno. I just changed their currrent one from online. You're much more familiar with it.

@rwakida
Copy link

rwakida commented Aug 13, 2015

👍

@bbrockman
Copy link
Author

What do you know, now there are conflicts to merge it back in 😞

# Conflicts:
#	client/views/app/room.coffee
bbrockman added a commit that referenced this pull request Aug 13, 2015
Updated member list to show offline members also.
@bbrockman bbrockman merged commit 27389c4 into master Aug 13, 2015
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

Successfully merging this pull request may close these issues.

4 participants