3 ms·
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 ty
by WA 5y ago
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 https://news.ycombinator.com/item?id=31033996
- spixy 5y agoalmost all of my projects have < 5 stars, typing "0" half the time is more dangerous than typing my_name/my_repo.
- manmal 5y agoSo, 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.
- roflulz 5y agojust do soft deletes that can be undone... seems so easy..
- gscott 5y agoBetter to flag it as archived. This way they can unarchive if need be.