freeCodeCamp / chapter

A self-hosted event management tool for nonprofits
BSD 3-Clause "New" or "Revised" License
1.92k stars 360 forks source link

Add warning when canceling the events about the waitlist #2407

Closed Sboonny closed 1 year ago

Sboonny commented 1 year ago

Discuss your ideas or share your views:

When a user leaves an event which has a waiting list, someone else will join the event in their stead, I don't think this is an issue, just warning about it happening should be enough, if there is a waitlist.

https://user-images.githubusercontent.com/88248797/220564704-57d3d355-0e8f-4bd9-9551-76e401f626b5.webm

Including a body, if there is a waitlist in the section below, should do the trick.

https://github.com/freeCodeCamp/chapter/blob/45be96dc812617511c7c0cd33feef0068b872cea/client/src/modules/events/pages/eventPage.tsx#L137-L139


To get set up locally, take a look at our contribution docs. And, if you'd like to discuss more, you can head on over to Discord and say hi, or comment here if you prefer.

Faizan711 commented 1 year ago

is anyone working on this issue, if not i would like to be assigned for it.

Sboonny commented 1 year ago

We typically do not assign issues to anyone other than long-time contributors.

If you would like to contribute, and have not read the contributors docs, please do so here: https://contribute.freecodecamp.org/#/

If you have any issues with contributing, be sure to join us on the contributors channel, or on the contributors sub-forum

dineshigdd commented 1 year ago

At the moment, I see that when you confirm, you will be put on the waiting list. And this is informed to the user with an alert. However, when the user request to attend an event, the user is informed about this.

When he cancels, the only alert is that "Are you sure you want to cancel your attendance?"

So, what you want here is something more than that? Do you want to tell them that someone else might take the user's place?

Sboonny commented 1 year ago

Yeab, if there are people in waitlist, they should be notified that their place can be taken by other attendance as well.

hound77 commented 1 year ago

@Sboonny I want to work on this issue

Sboonny commented 1 year ago

You can open a PR directly 👍, we don't assign issues.