nextcloud / nextcloud/calendar

Resizing a task on the calendar does not save when reloading the page.

Open
#6,876 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage bug
Dominant language
JavaScript
Stars
1.2k
Forks
332
Avg merge
16h 13m
Merged PRs (30d)
137

Description

Steps to reproduce
  • Try to re-size a task on the calendar
  • Refresh the page
Expected behavior
  • It saves
Actual behavior
  • It does not save the length of the task (it can only do 30 minute blocks)
Additional info

When adding a new task on the calendar, you can't specify a length.

Since tasks already have (and use) the "start_date" field, the solution would be to use "due_date" and use those to calculate the length in the calendar app.

Currently it uses "due_date" to show the start on the calendar, which doesn't really make sense at all, it should start at "start_date" and end at "due_date".

I would consider this a bug since moving the task length appears to work, but just does not save and re-sets on page reload.

This would allow us to create tasks and manage them between tasks and calendar more efficiently.

There are many requests for this to be fixed on the tasks repo (https://github.com/nextcloud/tasks/issues/2563) but it is a calendar issue.

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 task resizing and persistence in the Nextcloud Calendar app, using the calendar task editor and its handling of start_date and due_date as entry points. Confirm that a resized task reloads with the same start and end times, and that creating a task supports its intended length.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
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.