[PR #1071] [MERGED] fix(tasks): do not return subtasks multiple times when they are related to multiple tasks #1205

Closed
opened 2025-11-01 21:13:15 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/1071
Author: @kolaente
Created: 7/2/2025
Status: Merged
Merged: 7/2/2025
Merged by: @kolaente

Base: mainHead: codex/fix-task-duplication-in-list-views


📝 Commits (2)

  • ad76238 fix(tasks): do not return subtasks multiple times when they are related
  • 3e0575c refactor: move test

📊 Changes

5 files changed (+226 additions, -126 deletions)

View changed files

frontend/cypress/e2e/task/subtask-duplicates.spec.ts (+70 -0)
📝 frontend/src/components/project/views/ProjectList.vue (+1 -15)
pkg/models/task_collection_subtasks_move_test.go (+0 -98)
📝 pkg/models/task_collection_test.go (+143 -0)
📝 pkg/models/task_search.go (+12 -13)

📄 Description

Summary

  • avoid duplicate subtask entries in project list views
  • test subtask listing for cross-project parents

Testing

  • pnpm lint:fix
  • pnpm test:e2e (fails: missing Xvfb)

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


🔄 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/1071 **Author:** [@kolaente](https://github.com/kolaente) **Created:** 7/2/2025 **Status:** ✅ Merged **Merged:** 7/2/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `codex/fix-task-duplication-in-list-views` --- ### 📝 Commits (2) - [`ad76238`](https://github.com/go-vikunja/vikunja/commit/ad76238ddff9aaadb79532bb633878c8449ec957) fix(tasks): do not return subtasks multiple times when they are related - [`3e0575c`](https://github.com/go-vikunja/vikunja/commit/3e0575cde6907395ab9b813bcc156838b1b937ab) refactor: move test ### 📊 Changes **5 files changed** (+226 additions, -126 deletions) <details> <summary>View changed files</summary> ➕ `frontend/cypress/e2e/task/subtask-duplicates.spec.ts` (+70 -0) 📝 `frontend/src/components/project/views/ProjectList.vue` (+1 -15) ➖ `pkg/models/task_collection_subtasks_move_test.go` (+0 -98) 📝 `pkg/models/task_collection_test.go` (+143 -0) 📝 `pkg/models/task_search.go` (+12 -13) </details> ### 📄 Description ## Summary - avoid duplicate subtask entries in project list views - test subtask listing for cross-project parents ## Testing - `pnpm lint:fix` - `pnpm test:e2e` *(fails: missing Xvfb)* ------ https://chatgpt.com/codex/tasks/task_e_6849d1f6979483229da72d667674a4f2 --- <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 2025-11-01 21:13:15 -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#1205