[PR #2621] [MERGED] fix(frontend/kanban): honor server bucket redirect when dropping a recurring task on Done #5775

Closed
opened 2026-04-16 13:51:52 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/2621
Author: @tink-bot
Created: 4/14/2026
Status: Merged
Merged: 4/14/2026
Merged by: @kolaente

Base: mainHead: fix-recurring-kanban-ui-update


📝 Commits (4)

  • 7273a0d fix(frontend/kanban): honor server bucket redirect on drag (#2618)
  • accb29b test(kanban): cover moveTaskToBucket
  • 942bdc5 test(e2e/kanban): cover recurring task drag to done bucket (#2618)
  • 830b546 test(e2e/kanban): seed the view only once with done_bucket_id

📊 Changes

3 files changed (+137 additions, -1 deletions)

View changed files

📝 frontend/src/components/project/views/ProjectKanban.vue (+1 -1)
frontend/src/stores/kanban.test.ts (+93 -0)
📝 frontend/tests/e2e/project/project-view-kanban.spec.ts (+43 -0)

📄 Description

When a recurring task is dragged to the Done bucket, the backend correctly resets the task and returns a different bucketId in the response, but the frontend ignored that redirect — the card stayed visually in Done until the page was refreshed.

The guard in ProjectKanban.vue that was meant to detect a server-side bucket change was tautologically false because newTask.bucketId was assigned from the response one line before the comparison. Reordered so the comparison fires on the pre-response bucket.

Fixes #2618


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/2621 **Author:** [@tink-bot](https://github.com/tink-bot) **Created:** 4/14/2026 **Status:** ✅ Merged **Merged:** 4/14/2026 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `fix-recurring-kanban-ui-update` --- ### 📝 Commits (4) - [`7273a0d`](https://github.com/go-vikunja/vikunja/commit/7273a0d9e45146482d68aa8cf351734e8a9a6c2a) fix(frontend/kanban): honor server bucket redirect on drag (#2618) - [`accb29b`](https://github.com/go-vikunja/vikunja/commit/accb29baaf1dddd91506207c5ef2e08c50440985) test(kanban): cover moveTaskToBucket - [`942bdc5`](https://github.com/go-vikunja/vikunja/commit/942bdc5689e101590e792f7965c5cfd9e8705d05) test(e2e/kanban): cover recurring task drag to done bucket (#2618) - [`830b546`](https://github.com/go-vikunja/vikunja/commit/830b546cfe989108e550d07cde0bdb51aea14b48) test(e2e/kanban): seed the view only once with done_bucket_id ### 📊 Changes **3 files changed** (+137 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/project/views/ProjectKanban.vue` (+1 -1) ➕ `frontend/src/stores/kanban.test.ts` (+93 -0) 📝 `frontend/tests/e2e/project/project-view-kanban.spec.ts` (+43 -0) </details> ### 📄 Description When a recurring task is dragged to the Done bucket, the backend correctly resets the task and returns a different `bucketId` in the response, but the frontend ignored that redirect — the card stayed visually in Done until the page was refreshed. The guard in `ProjectKanban.vue` that was meant to detect a server-side bucket change was tautologically false because `newTask.bucketId` was assigned from the response one line *before* the comparison. Reordered so the comparison fires on the pre-response bucket. Fixes #2618 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 13:51:52 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#5775