Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Settings for confirmation for using @all notification on messages

Open gmsecrieru opened this issue 11 years ago • 25 comments

Even though we had a few funny times when someone shoot an @all notification in the middle at the night on the Demo Server, what do you folks think about the idea of adding a settings-based confirmation before using it?

screen shot 2015-01-30 at 3 36 44 pm

Maybe it could be related to rules such as the number of users in the channel and/or number of different timezones etc.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

gmsecrieru avatar Sep 26 '15 17:09 gmsecrieru

Referencing #1268 as has bounty.

geekgonecrazy avatar Jan 18 '16 04:01 geekgonecrazy

Refs https://github.com/RocketChat/Rocket.Chat/issues/1654

engelgabriel avatar Feb 14 '17 15:02 engelgabriel

Is it possible to disable the @all functionality completely? If someone tries to send to @all, it doesn't do anything?

joshuahaber avatar Jul 28 '17 13:07 joshuahaber

@joshuahaber can remove the mention-all permission from all users

MartinSchoeler avatar Jul 28 '17 16:07 MartinSchoeler

+1

FaizanZahid avatar Nov 20 '18 15:11 FaizanZahid

We already have options to restrict the usage of @all in large rooms.

This issue is more related to an UX improvements with some intelligence advising users when some of the ones that will be notified aren't in work hours.

So I set this as a GSoC idea.

rodrigok avatar May 30 '19 14:05 rodrigok

@rodrigok hey is this issue is still to be solved can I work on this and do necessary improvements.

Saibaba1009 avatar Dec 09 '20 13:12 Saibaba1009

@rodrigok @engelgabriel is this issue still unsolved then can I work on this??

atpug22 avatar Dec 16 '20 15:12 atpug22

@atpug22 yes, we didn't solve this yet, feel free to propose a solution :)

rodrigok avatar Dec 18 '20 14:12 rodrigok

Hello everyone, can someone tell me what changes are you expecting on this issue. Is this issue specific to UI/UX designers?

cgaswin avatar Feb 12 '21 04:02 cgaswin

Can I work on this bug ?

micksharma avatar Mar 03 '21 10:03 micksharma

Hello, @rodrigok @ggazzo @Sing-Li

I would like to work on this problem. Let me suggest a fix. When @all is triggered, a confirmation prompt message will be shown based on the number of users and users in specific timezones.

Along with this, there is an option to schedule messages based on timezones. The backend will fetch the different timezones based on who belongs to that group and group people based on timezones. Now users can send messages based on timezones.

for instance, there are 18 people in a group . 9 from India, 3 from Germany, and the rest from USA. So when all is triggered, along with confirmation, there is an option to schedule messages for these 3 different timezones. Based on scheduled messages, they are delivered to people belonging to that timezone.

The solution involves two key enhancements to the notification system:

-->Confirmation Prompt Based on Users and Timezones: 1>When the @all notification is triggered, a confirmation prompt will appear. 2>This prompt will be shown based on the number of users and their respective timezones.

-->Scheduled Messages Based on Timezones: 1>Provide an option to schedule messages according to the users' timezones. 2>The backend will determine the different timezones of users in the group. 3>Users can then send scheduled messages specific to each time zone.

Akshanshkaushal avatar Jun 10 '24 11:06 Akshanshkaushal

Hi maintainers 👋

I’ve read through the issue and the previous discussion.
From my understanding, this would involve showing a confirmation (modal / popup) when a user tries to use @all, potentially controlled via settings or permissions.

I’d like to work on this issue if it’s still available.
Before starting, I wanted to confirm:

  • Should this be only a client-side confirmation, or also configurable via server settings?
  • Are there existing confirmation dialog patterns/components in Rocket.Chat that I should reuse?

Happy to wait for guidance before proceeding. Thanks!

DEEP13-2-5 avatar Jan 18 '26 11:01 DEEP13-2-5

Hi @rodrigok @matheus.cardoso @Sing-Li,

I am Akanksha, a GSoC 2026 applicant. I’ve set up the environment on Arch Linux and would like to propose a modern fix for this:I am ready to submit a Draft PR for this flow. May I be assigned?

akankshahu avatar Feb 26 '26 05:02 akankshahu

Hi, I’m Naveen. I attended the Rocket.Chat community workshop and would like to work on this issue as my first contribution.

Could I be assigned to it?

Rohit544 avatar Mar 16 '26 08:03 Rohit544

Hi, I'm a GSoC 2026 applicant and I'd like to work on this issue. Can a mentor guide me on where to start?

Ayush725606 avatar Mar 26 '26 17:03 Ayush725606

Hi, I’ve submitted a small PR improving code readability in the DocumentationCard component.

While exploring mentions, I noticed that @all can sometimes appear as @All due to formatting.

So I’m planning to handle detection using a case-insensitive approach (e.g., regex /@all/i) to ensure reliability.

My approach is:

  • Detect @all in MessageComposer (case-insensitive)
  • Intercept message send flow
  • Add confirmation modal using Fuselage UI
  • Add backend validation

I’d appreciate guidance on the best place to hook into the message send flow.

Thanks!

Ayush725606 avatar Mar 26 '26 18:03 Ayush725606

Hi, I am a GSoc 2026 and would like to work on this issue. Could you please confirm if it’s available?

Kaashya avatar Mar 27 '26 06:03 Kaashya

Hi, I'm a GSoC 2026 applicant. I'd like to work on this — can someone guide me on the expected behavior and assign this to me?

namann5 avatar Mar 27 '26 06:03 namann5

Thanks for the interest everyone.

Before assigning this, it would be good if one of you could take a first pass at exploring the code and outlining a concrete approach (similar to what @Ayush725 started). That makes it easier to give targeted feedback and avoid duplicated work.

Happy to guide once there’s a bit more detail on the proposed implementation.

On Thu, Mar 26, 2026, 11:46 PM Naman Singh @.***> wrote:

namann5 left a comment (RocketChat/Rocket.Chat#909) https://github.com/RocketChat/Rocket.Chat/issues/909#issuecomment-4140557690

Hi, I'm a GSoC 2026 applicant. I'd like to work on this — can someone guide me on the expected behavior and assign this to me?

— Reply to this email directly, view it on GitHub https://github.com/RocketChat/Rocket.Chat/issues/909?email_source=notifications&email_token=B7ZXRYBDR2CP5GS5NPY2H4D4SYPTLA5CNFSNUABFM5UWIORPF5TWS5BNNB2WEL2JONZXKZKDN5WW2ZLOOQXTIMJUGA2TKNZWHEYKM4TFMFZW63VKON2WE43DOJUWEZLEUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#issuecomment-4140557690, or unsubscribe https://github.com/notifications/unsubscribe-auth/B7ZXRYBNTPZN3OQT3I74PWD4SYPTLAVCNFSM6AAAAACSCDGAJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHM2DCNBQGU2TONRZGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

rhodesgarret56-cell avatar Mar 27 '26 11:03 rhodesgarret56-cell