downforacross / downforacross.com

Web frontend for downforacross.com -- continuation of stevenhao/crosswordsio
https://downforacrosscom.downforacross1.now.sh
MIT License
220 stars 92 forks source link

Show a confirmation dialog before resetting the entire puzzle #273

Closed craigkovatch closed 1 year ago

craigkovatch commented 1 year ago

I have, on several painful occasions, accidentally misclicked "Reset > Puzzle" rather than "Reset > Word". This PR adds a confirmation dialog before taking the Reset action at the Puzzle level 😅

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
downforacross.com ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 25, 2023 2:45am
craigkovatch commented 1 year ago

@stevenhao just want to make sure you saw this :)

stevenhao commented 1 year ago

Hey thanks for the reminder! I like this idea. Personally, i haven't reset a puzzle on accident before, but I'm sure it happens every once in a while so designing for that case is worthwhile.

Code change looks good, thanks for helping with this @craigkovatch!