bouncepaw / mycorrhiza

🍄📑 Filesystem and git-based wiki engine for the independent web written in Go and using Mycomarkup as its primary markup language.
https://mycorrhiza.wiki
GNU Affero General Public License v3.0
300 stars 26 forks source link

editing hypha with no internet connection #189

Open danilax86 opened 1 year ago

danilax86 commented 1 year ago

When with no internet connection I try to save changes I made after editing a hyphae, it clears all the content of a hyphae after I get internet connection back.

So, pressing "Save" button can cause content deletion when pressed offline

bouncepaw commented 1 year ago

What browser do you use?

danilax86 commented 1 year ago

What browser do you use?

Safari on iOS

bouncepaw commented 1 year ago

Let's hope I'll be able to reproduce it on macOS Safari and that will mean something.

What do you want Mycorrhiza to do in such situations?

danilax86 commented 1 year ago

What do you want Mycorrhiza to do in such situations?

First, not to clean the whole hyphae. Second, maybe get some error page with a retry button and cache unsaved changes, which will be submitted after pressing "retry"

YogurtTheHorse commented 1 year ago

@bouncepaw You can either use Safari Develop menu to change useragent or install iOS simulator from Xcode to be sure. Check this article for more info:

https://joshcollinsworth.com/blog/debugging-ios-on-mac