nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
949 stars 232 forks source link

Auto save item to save user input when not connected #6036

Open sputnick-dev opened 1 month ago

sputnick-dev commented 1 month ago

Is your feature request related to a problem? Please describe.

There's an issue when creating an event in the calendar if the IP changed or network is temporary down.

The page refresh and user input disappear.

Describe the solution you'd like

There's a need to implement a serialisation of the new item to prevent user input loss

Describe alternatives you've considered

I think there's solution to save item in memory or in LocalStorage to prevent issue described, then after the page reloaded, set item back.

By example, the Note app is better implemented in case of temporary missing network.

Additional context

No response