Closed JohnHKoh closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/downforacross/downforacross.com/79bCevhYrhBhUckrkkg6gdWXU7sJ
✅ Preview: https://downforacrossc-git-fork-johnhkoh-johnhkoh-puz-error-moda-960a2c.vercel.app
Looks great, thanks!
Currently, upon uploading an invalid .puz file, the upload silently fails with the unhandled exception or error showing up in the console as seen below.
The modals from these changes should add better feedback for the following 2 cases.
1. When the file is not in valid .puz format, this modal is shown.
2. When the file is in valid .puz format, but the parsed puzzle is not a valid puzzle, this modal is shown.