mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-22 13:05:43 -05:00
[PR #1649] [MERGED] fix: show cross-project subtasks in List view #1645
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/go-vikunja/vikunja/pull/1649
Author: @kolaente
Created: 10/13/2025
Status: ✅ Merged
Merged: 10/13/2025
Merged by: @kolaente
Base:
main← Head:fix-subtask-visibility📝 Commits (10+)
3245c50test: add tests for cross-project subtask visibility in List view445ecd9feat: add composable for cross-project-aware task filteringcbbaca0fix: show cross-project subtasks in List viewc1c4f4atest: add e2e tests for cross-project subtask visibilitya4fc953chore: cleanup test19a9cfffix: test truncate fixtures22b0ec9cleanup8627aa1trigger cif03c4bdfix: task idd92075brefactor(tests): extend createProjects to support multiple projects with views📊 Changes
6 files changed (+334 additions, -15 deletions)
View changed files
📝
frontend/cypress/e2e/project/prepareProjects.ts(+19 -10)📝
frontend/cypress/e2e/project/project-view-list.spec.ts(+83 -1)📝
frontend/cypress/support/factory.ts(+20 -1)📝
frontend/src/components/project/views/ProjectList.vue(+2 -3)➕
frontend/src/composables/useTaskListFiltering.test.ts(+180 -0)➕
frontend/src/composables/useTaskListFiltering.ts(+30 -0)📄 Description
Summary
Fixes #782 - Cross-project subtasks now remain visible in their own project's List view.
Previously, subtasks were hidden in List view if they had ANY parent task, regardless of which project the parent belonged to. This caused cross-project subtasks to disappear from their own project's List view, while they remained visible in Table and Kanban views.
Changes
shouldShowTaskInListView()composable with project-aware filtering logicProjectList.vueto use the new filtering functionTest Coverage
Unit Tests (8 new tests)
E2E Tests
Verification
Example Scenario
Before:
After:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.