nextcloud / nextcloud/tasks

Don't move task to calendar when dropped outside

Open
#505 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug regression upstream
Dominant language
JavaScript
Stars
706
Forks
117
Avg merge
8h 50m
Merged PRs (30d)
18

Description

At the moment when you drop a dragged task outside of a calendar, it is inserted at the last valid position. This might be unexpected to the user and effectively prevents canceling a drag and drop operation.

With Sortable v1.10.0 and the OnSpill plugin https://github.com/SortableJS/Sortable/tree/master/plugins/OnSpill this can be improved once the new Sortable.js version is released.

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

The issue names no repository file or test; start by locating the task drag-and-drop integration and its Sortable.js dependency. Review Sortable v1.10.0 and the OnSpill plugin, then verify that dropping outside a calendar cancels the operation instead of inserting the task at its last valid position.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.