nextcloud / nextcloud/calendar

Auto save item to save user input when not connected

Open
#6,036 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
1.2k
Forks
332
Avg merge
16h 13m
Merged PRs (30d)
137

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the calendar event-creation flow and compare its behavior with the Note app mentioned in the issue. Review the linked localStorage documentation and determine how new event input can survive a page reload or temporary network loss. Done means unsent user input is restored without being lost when the page refreshes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.