GravityProject / gravity

Open source social network built with Meteor
MIT License
131 stars 62 forks source link

Confirmation Popups #85

Closed mattvella07 closed 8 years ago

mattvella07 commented 8 years ago

I noticed that we are using the default javascript confirm for delete confirmation. What do you all think about using something like SweetAlert: https://atmospherejs.com/kevohagan/sweetalert?

pmuens commented 8 years ago

Yes. Good idea.

SweetAlerts are great. But it should get some custom styles (Skeleton breaks the SweetAlert styles) so that it looks nice.

mattvella07 commented 8 years ago

I have been experimenting with Sweet Alerts, what do you think of these? For deleting a post and a message.

screen shot 2016-03-08 at 1 52 50 am

screen shot 2016-03-08 at 1 53 04 am

mattvella07 commented 8 years ago

Looks like the border got cut off in my screenshot, but it is there.

pmuens commented 8 years ago

Thank you! That looks great. Just submit a PR so I can merge it.