[PR #1470] [MERGED] fix: preserve done timestamp when moving tasks between projects #4980

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

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1470
Author: @kolaente
Created: 9/11/2025
Status: Merged
Merged: 9/11/2025
Merged by: @kolaente

Base: mainHead: codex/fix-missing-done_at-field-when-moving-tasks


📝 Commits (1)

  • 9c69fa9 test: move task across projects using Task.Update

📊 Changes

2 files changed (+79 additions, -14 deletions)

View changed files

📝 pkg/models/kanban_task_bucket.go (+17 -14)
📝 pkg/models/kanban_task_bucket_test.go (+62 -0)

📄 Description

Summary

  • avoid resetting done status when moving tasks if task is already done
  • keep done timestamp when moving tasks between projects
  • add regression test to ensure done_at persists across project moves

Resolves https://github.com/go-vikunja/vikunja/issues/1468


https://chatgpt.com/codex/tasks/task_e_68c2af35bfa883228161bb9f3a3c841b


🔄 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/1470 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 9/11/2025 **Status:** ✅ Merged **Merged:** 9/11/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `codex/fix-missing-done_at-field-when-moving-tasks` --- ### 📝 Commits (1) - [`9c69fa9`](https://github.com/go-vikunja/vikunja/commit/9c69fa9459ad62c6e0721d0d3f56ffeee1567c74) test: move task across projects using Task.Update ### 📊 Changes **2 files changed** (+79 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `pkg/models/kanban_task_bucket.go` (+17 -14) 📝 `pkg/models/kanban_task_bucket_test.go` (+62 -0) </details> ### 📄 Description ## Summary - avoid resetting done status when moving tasks if task is already done - keep done timestamp when moving tasks between projects - add regression test to ensure done_at persists across project moves Resolves https://github.com/go-vikunja/vikunja/issues/1468 ------ https://chatgpt.com/codex/tasks/task_e_68c2af35bfa883228161bb9f3a3c841b --- <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:22:55 -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#4980