Skip to content

OUT-2668, OUT-3181 | Show subtasks IU is assigned to in "My Tasks"#1171

Merged
arpandhakal merged 2 commits intofeature/template-dynamic-fieldsfrom
OUT-2668
Mar 31, 2026
Merged

OUT-2668, OUT-3181 | Show subtasks IU is assigned to in "My Tasks"#1171
arpandhakal merged 2 commits intofeature/template-dynamic-fieldsfrom
OUT-2668

Conversation

@arpandhakal
Copy link
Copy Markdown
Collaborator

@arpandhakal arpandhakal commented Mar 30, 2026

Summary

  • Subtasks now appear as standalone items in filtered views (e.g. "My Tasks") when they match the active filter but their parent task does not
  • Refactored useFilter hook to reuse filter logic across both parent tasks and subtasks via applyFilters/applyOneFilter helpers
  • Added accessibleTasks to the useEffect dependency array so realtime subtask changes trigger re-filtering
  • Rendered subtasks on task board according to its archived, unarchived states.

Test plan

  • Apply "My Tasks" filter → verify subtasks assigned to you appear standalone when their parent is assigned to someone else
  • Apply other filters (assignee, creator, association, type, keyword) → verify subtasks are promoted to standalone when matching
  • Verify parent tasks with matching subtasks still show those subtasks nested (not duplicated as standalone)
  • Verify realtime: another user assigns a subtask to you → it appears in your "My Tasks" view without refresh
  • Verify no filter active → board behaves as before (no standalone subtasks injected)

Testing Criteria

🤖 Generated with Claude Code

When a filter (e.g. "My Tasks") is active, subtasks that match the filter
are now shown as standalone items if their parent task doesn't pass the
filter. Also adds accessibleTasks to the useEffect dependency array so
realtime subtask changes trigger re-filtering.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@linear
Copy link
Copy Markdown

linear bot commented Mar 30, 2026

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 30, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tasks-app Ready Ready Preview, Comment Mar 31, 2026 5:31am

Request Review

…tate and showArchived showUnarchived filter state, some general cleanups
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 31, 2026

Deployment failed with the following error:

Deploying Serverless Functions to multiple regions is restricted to the Pro and Enterprise plans.

Learn More: https://vercel.link/multiple-function-regions

@arpandhakal arpandhakal changed the title OUT-2668 | Show subtasks IU is assigned to in "My Tasks" OUT-2668, OUT-3181 | Show subtasks IU is assigned to in "My Tasks" Mar 31, 2026
@arpandhakal arpandhakal requested a review from priosshrsth March 31, 2026 05:33
Copy link
Copy Markdown
Collaborator

@priosshrsth priosshrsth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@arpandhakal arpandhakal merged commit fcf5103 into feature/template-dynamic-fields Mar 31, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants