github / github/task-lists-element

Moving an item from `sourceIndex = 0`, sets `dst` as `newIndex + 1`

Open
#39 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
152
Forks
24
Avg merge
1d 4h
Merged PRs (30d)
6

Description

For example:
Moving _Hubot_ from position `[0, 0]` to position `[0, 1]` actually gets calculated as moved to position `[0, 2]`.
Screenshot 2023-07-03 at 1 05 57 PM

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported drag-and-drop move from [0, 0] to [0, 1] in the task-list element and trace where the destination index is calculated. Done means the same move produces destination [0, 1] rather than [0, 2], with the relevant regression covered by the project's existing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.