hackjutsu / Lepton

💻 Democratizing Snippet Management (macOS/Win/Linux)
https://hackjutsu.com/Lepton
MIT License
10.14k stars 475 forks source link

Optimistic update #361

Open linonetwo opened 5 years ago

linonetwo commented 5 years ago

Environment info

Description of the problem / feature request / question:

Submit is slow, feedback is slow.

Can you close the edit window after submit, and update local state immediately? Maybe an icon indicating that uploading is in progress is enough.

If uploading failed, you can rollback the update, and allow a user to restore the previous edition. Or just add a button to reupload local state.

This will make UX smoother.