feat: add task count header and tree node expand/collapse to Task Delegation dashboard#12333
Draft
roomote-v0[bot] wants to merge 2 commits into
Draft
feat: add task count header and tree node expand/collapse to Task Delegation dashboard#12333roomote-v0[bot] wants to merge 2 commits into
roomote-v0[bot] wants to merge 2 commits into
Conversation
…bility Adds a collapsible Task Delegation dashboard section inside the existing Roo Code webview panel, displayed below the TaskHeader when the current task is part of a multi-task delegation hierarchy. Features: - Tree view showing parent/child delegation relationships - Mode name + status badge (Active/Delegated/Completed) per task - Active task highlighting with visual indicator - Click-to-navigate to any task in the hierarchy - Collapsible panel header - Only visible during active delegation sessions (2+ tasks) - Supports custom modes Closes #12329
…odes - Section header now shows task count (e.g. "Task Delegation (3 tasks)") - Tree nodes with children have expand/collapse toggle buttons - Added countTreeNodes helper and taskCount to useTaskTree - Added 8 new tests covering both features (24 total pass)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR attempts to address feedback from Issue #12329 (comment by @easonLiangWorldedtech on PR #12331).
Changes
Task count in section header:
Task Delegation (N tasks)instead of justTask DelegationcountTreeNodeshelper andtaskCountfield fromuseTaskTreeExpand/collapse controls on tree nodes:
Testing
Feedback and guidance are welcome.
Interactively review PR in Roo Code Cloud