# Bulk Invitations need a confirmation dialog

**URL:** https://meta.discourse.org/t/bulk-invitations-need-a-confirmation-dialog/19950
**Category:** Feature
**Created:** [September 11, 2014, 8:45pm UTC](https://meta.discourse.org/t/bulk-invitations-need-a-confirmation-dialog/19950 "2014-09-11T20:45:50Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![joshfrank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joshfrank/32/114706_2.png) [@joshfrank](https://meta.discourse.org/u/joshfrank)
#### Post date: [September 11, 2014, 8:45pm UTC](https://meta.discourse.org/t/bulk-invitations-need-a-confirmation-dialog/19950/1 "2014-09-11T20:45:50Z")

</div>

This is probably not a bug as such, but a very troublesome feature. I was trying to Bulk Invite From File, and got a nasty shock when I uploaded the file and it immediately sent the email to 30 people. I guess I assumed there would be a step where it shows that the file uploaded and then offered a button to actually do the send. So I uploaded the file–intending just to familiarize myself with the process–and embarrassed myself by sending invitations before a key piece was ready. I had to send a manual followup explaining the glitch.

I really think that Bulk Invite button needs a confirmation or other speed bump, because the consequences are fairly drastic.

---

<div class="post-metadata">

### Author: ![Frank](https://avatars.discourse-cdn.com/v4/letter/f/3d9bf3/32.png) [@Frank](https://meta.discourse.org/u/Frank)
#### Post date: [September 11, 2014, 9:02pm UTC](https://meta.discourse.org/t/bulk-invitations-need-a-confirmation-dialog/19950/2 "2014-09-11T21:02:42Z")

</div>

I can see how this would be embarrassing. You are right, not a bug (but you got throttled unexpectedly).

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 11, 2014, 9:04pm UTC](https://meta.discourse.org/t/bulk-invitations-need-a-confirmation-dialog/19950/3 "2014-09-11T21:04:29Z")

</div>

Sure @techapj when you get back, can you add a dialog that shows the count, e.g.

> You’re about to email invites to {n} people.
> 
> Go ahead [cancel](http://example.com)

---

<div class="post-metadata">

### Author: ![joshfrank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joshfrank/32/114706_2.png) [@joshfrank](https://meta.discourse.org/u/joshfrank)
#### Post date: [September 12, 2014, 9:59am UTC](https://meta.discourse.org/t/bulk-invitations-need-a-confirmation-dialog/19950/4 "2014-09-12T09:59:30Z")

</div>

I think that will be much better! Thanks.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [October 13, 2017, 4:26am UTC](https://meta.discourse.org/t/bulk-invitations-need-a-confirmation-dialog/19950/5 "2017-10-13T04:26:25Z")

</div>

OK Adding a #pr-welcome on this, it would be an improvement in quality of life and easily can be added by the community.

---

<div class="post-metadata">

### Author: ![saurabhp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saurabhp/32/125182_2.png) [@saurabhp](https://meta.discourse.org/u/saurabhp)
#### Post date: [December 13, 2018, 7:21am UTC](https://meta.discourse.org/t/bulk-invitations-need-a-confirmation-dialog/19950/7 "2018-12-13T07:21:53Z")

</div>

Hi,  
I have created PR for the same. But i had to make some modifications to the confirmation popup.

[https://github.com/discourse/discourse/pull/6761](https://github.com/discourse/discourse/pull/6761)

Currently, CSV is processed fully in back-end so it will need some front-end processing to get number of rows in file. That’s why I have just added a generic popup `Are you sure?` instead. I think it should be fine since our purpose is more of giving a confirmation dialog to user before proceeding.

If we want to check after file is uploaded and before invites are not sent, it will require a major cleanup on front-end and back-end. Front-end uses a mix-in for upload which is used at multiple places so modifying it can create a big issue. Back-end is also coupled to do processing of CSV and sending invites in one go.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [December 13, 2018, 3:36pm UTC](https://meta.discourse.org/t/bulk-invitations-need-a-confirmation-dialog/19950/8 "2018-12-13T15:36:36Z")

</div>

I understand that it’s significantly more work to show the row count here, but I’m also not happy with the generic “Are you sure?” message. I’d suggest something like this instead:

> You’re about to email invites to everyone in the uploaded file.
> 
> Go ahead [cancel](http://example.com)

---

<div class="post-metadata">

### Author: ![saurabhp](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saurabhp/32/125182_2.png) [@saurabhp](https://meta.discourse.org/u/saurabhp)
#### Post date: [December 31, 2018, 4:32am UTC](https://meta.discourse.org/t/bulk-invitations-need-a-confirmation-dialog/19950/9 "2018-12-31T04:32:41Z")

</div>

This is already fixed thus can be closed.

It was fixed here: [FIX:show popup before bulk invite by mrfinch · Pull Request #6761 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/6761)

Thanks

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [January 1, 2019, 11:00pm UTC](https://meta.discourse.org/t/bulk-invitations-need-a-confirmation-dialog/19950/10 "2019-01-01T23:00:12Z")

</div>

This topic was automatically closed after 42 hours. New replies are no longer allowed.
