curiosityandconflict / draft-web

https://app.write-draft.com
0 stars 0 forks source link

no visible indicator in UI when create endpoint in writing_sessions fails #6

Open calebl opened 2 years ago

calebl commented 2 years ago

Ran into this when I didn't put story as an optional belongs_to. The endpoint fails silently and the UI doesn't indicate that anything has gone wrong. Then when you submit another paragraph, the update also fails silently. :face_palm:

calebl commented 2 years ago

this is slightly improved with the turbo frames version, but still not great. At least now it doesn't appear to be working. There is a long loading bar and then it goes away when the console error appears. Still nothing in the UI though

calebl commented 2 years ago

what is the solution here? display a message if the app is offline? move to save in local storage before syncing? Full offline support seems like too large an effort. Displaying an offline message would be a good place to start.

calebl commented 8 months ago

still not sure about this. It has never caused an issue for me in all my writing sessions.