open-nomie / nomie5

Nomie v5 Source Code
https://nomie.app
MIT License
562 stars 84 forks source link

Local import endpoint stuck in previous request #167

Open Coda-Coda opened 3 years ago

Coda-Coda commented 3 years ago

This issue described here on reddit still is an issue I think.

From reddit:

Repro: https://v5.nomie.app/?note=aa Don't click OK or cancel. Issue another request in the same tab. https://v5.nomie.app/?note=bb Then you'll be prompted to add these notes forever. ...

When in this state, the "Download Backup" button stops working. This is particularly unhelpful since the only way that works for me to get out of this state is to clear local storage. The tip to "delete n4/storage/commander" seems to no longer be relevant.

I am using Brave on Linux.

Nomie seems awesome and I'd love to use it more, thanks for your work on it :)

Coda-Coda commented 3 years ago

Disabling the confirmation (e.g. https://github.com/Coda-Coda/nomie5/commit/42b9704dace2b43ae59688a3022ac890dc37b393) would fix this issue, but I understand that's not ideal.

amariusz commented 2 years ago

+1 for this. I run into this issue on PC after clicking a link several times or on the phone after scanning NFC tag serveral times. It's very easy to reproduce. Backup export/clear local storage/backup import could serve as a workaround for this issue but as @Coda-Coda said, when it happens json backup is not working which is very unfortunate.

BTW Thank you for such a great app.

amariusz commented 2 years ago

After a bit of fiddling I've managed to trigger json backup with Nomie being in this strange state. For anyone interested - all that's needed is adding another tracker (from library or custom). Issue persists but json backup is possible.