Hacker News new | past | comments | ask | show | jobs | submit login

Same here. I finally brought accidentally deleting stuff down to zero by having them type the number they get to lose:

"You have 55,231 GitHub stars. Please type 55231 if you want to delete them all."

But I guess, if you delete repos often enough, this will also become muscle memory.

Edit: Just saw the other comment here suggesting the same: https://news.ycombinator.com/item?id=31033996




So, for projects with 100+ stars, add a wait period of 60 seconds until the delete button can be clicked _after_ the number is typed in. That should allow most users on autopilot to snap out of it, or make drunk users switch to a different tab and forget about it.


almost all of my projects have < 5 stars, typing "0" half the time is more dangerous than typing my_name/my_repo.


Better to flag it as archived. This way they can unarchive if need be.


just do soft deletes that can be undone... seems so easy..




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: