freeCodeCamp / league-for-good

An open source sports league management tool
BSD 3-Clause "New" or "Revised" License
163 stars 106 forks source link

Unable to rename or delete league #64

Closed paulywill closed 7 years ago

paulywill commented 7 years ago

The delete link for the league is not working.

image

I accidentally put a team name (ie Eagles) in the league entry. Unable to rename or delete the league.

makkoli commented 7 years ago

@paulywill The delete league feature is to delete the entire league. You may want to do another fork from the repo if you have an old version. That feature has been removed. You can delete a league manually in your mongo database.

paulywill commented 7 years ago

@makkoli explained in issue https://github.com/freeCodeCamp/league-for-good/issues/48

I understand that FCC wants to maintain data on the backend.

I do propose offering a feature to send a "request for rename or delete" which would ideally clone a league record to another record with the rename changes and to remove the league from the user's/admin's listing for a delete respectively.

makkoli commented 7 years ago

@paulywill I like the idea of renaming the league. The rename feature should just change the name in the database and be done by the owner or admin. I opened issue #68 for this feature.