nextcloud / nextcloud/deck

Drag&drop reordering with active filter is broken

Open
#7,532 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

Description

Describe the bug

I have a (rather long) list of cards with different persons assigned in a Deck board. When I filter for all cards belonging to one person and then try to re-order the cards via drag'n'drop, the card is not placed where I dropped it but instead ... somewhere else.
This does not happen when no filter is applied. This makes using the order for prioritization of tasks for a certain person unusable, unfortunately.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a board
  2. Add many cards to a list, the cards having different people assigned
  3. Select one person as a filter (that results in only a smaller set of the cards being shown)
  4. Change the order of the cards in the list by drag'n'dropping one

Expected behavior
The card will be placed exactly in the spot where I put it.

Client details:

  • Browser: Firefox 146.0.1
  • Device: desktop
Server details

Nextcloud version: 31.0.11.2
Deck Version: 1.15.5

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

Reproduce the issue in a Deck board by creating many assigned cards, filtering to one person, and reordering a card with drag-and-drop; compare this with an unfiltered list. Trace the frontend drag-and-drop ordering path and verify that the card lands exactly where dropped while the filter is active.

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.