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

Added toAll mentions for yall, everyone, channel, and here #1564

Closed
wants to merge 2 commits into from

Conversation

calebmeyer
Copy link

Requested by my team on the second day we started using rocket chat. I couldn't find any other mentions of @ALL but please let me know if I missed anything.

@engelgabriel
Copy link
Member

Thanks for the PR. My only concern about this, is that everyone, channel, and here should have different behaviors.

@channel will send a notification to all team members in the channel where you post the message.

@everyone notifies every member of your team. This command can only be used in the team-wide channel (usually called #general).

Both notifications will be sent to all team members in the channel whether they are active, away or offline.

@here is best for sending announcements relevant only to team members that are currently working or available.

Maybe we could create an issue for that.

@sampaiodiego
Copy link
Member

agreed @engelgabriel , I think we should have different behaviors for each of this global mentions ..
but for now it should better have the keywords working (even with the same behavior) for a smooth transition from other chat services.

@engelgabriel
Copy link
Member

Ok, so lets accept the PR and open an issue for this?

@sampaiodiego
Copy link
Member

I think it's ok.
maybe we should add the new options to autocomplete too: here

@graywolf336
Copy link
Contributor

@channel and @everyone I think should notify everyone in the channel, whether they're online or not.

@here I think should notify only those online in the channel it is done at

@geekgonecrazy
Copy link
Member

@everyone notifies every member of your team. This command can only be used in the team-wide channel (usually called #general).

Do any other platforms do this? I've never seen this behavior.

@engelgabriel
Copy link
Member

@geekgonecrazy
Copy link
Member

@engelgabriel ah! So we'd have to either limit it to general for now. Or wait until we have an option to specify a lobby channel or teams.

@engelgabriel
Copy link
Member

I am happy to accept the PR for now, if we add the new options to autocomplete. We can implement the difference later.

@calebmeyer
Copy link
Author

@engelgabriel please let me know if 7530fb6 was what you are looking for.

@sampaiodiego
Copy link
Member

@calebmeyer , I'm sorry, is this actually working?
I tried using the new "keywords" and nothing happens =\

@calebmeyer
Copy link
Author

@sampaiodiego I don't know. I've been having trouble getting meteor installed to test.

I'll see if I can't get docker set up locally on my mac.

@sampaiodiego
Copy link
Member

oh, so, it's not working =)
today we have 2 aliases to @all command (@channel and @group), what do you think if we add the same aliases to the commands you requested?

@calebmeyer
Copy link
Author

I don't think I understand what you mean by "alias" here. If you mean that typing these things acts the same as the @all command, then I would be perfectly okay with that. I just want to be able to type @everyone and have everyone (in the current channel) notified.

@sampaiodiego
Copy link
Member

hmm.. the alias only works for the auto-complete feature:
image

so when you choose it from the pop-up, it replaces for @all..

but if you actually sends the message with @channel it does nothing.

so I think it not accomplish what you want, neither this PR

@rodrigok
Copy link
Member

rodrigok commented Dec 7, 2015

I don't like a lot of options, we should have only @all and @here and use alias to help autocomplete of the other options.

@pcarn
Copy link

pcarn commented Dec 7, 2015

I like having the additional options. If you can't remember which one works, it makes it easier on the user if any of those they type can be supported.

@fduraibi
Copy link
Contributor

How about adding these words to the translation files. It would make more sense to use local words than only English ;)

@engelgabriel engelgabriel deployed to rocket-chat-pr-1564 December 15, 2015 19:57 Active
@marceloschmidt
Copy link
Member

I think we should make a decision on this, so we can get it cleared either by accepting or by closing it. I vote for closing it for two reasons:

  • 1 - Like @sampaiodiego said before, when you type @channel it doesn't do anything. If you type @channel and select @ALL from the list, it will replace for @ALL.
  • 2 - I don't even think we should have those options to begin with... I think @ALL is good enough, although I agree that a few people would see a benefit in changing it to something else (but not adding more options, just replacing it).

@rodrigok
Copy link
Member

I don't like the option to mention everyone, because we need to add everyone to the channel, this can be a mess.

We should think about a new option to send notification to everyone, like a notification inbox and allow only admins to use this feature by default.

@rodrigok
Copy link
Member

So, my vote is for merge this PR and allow users to use all of theses options to notify users inside the channel.

@marceloschmidt
Copy link
Member

@rodrigok do you think this PR is good as it is now, or does it need code change? as it is now, it will not notify anyone if @channel is typed in the message.

@rodrigok
Copy link
Member

@marceloschmidt sorry, I thought this PR was complete and only adding alias for @all.

Changing my vote to close this PR 😄

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

Successfully merging this pull request may close these issues.

None yet

9 participants