The open-source app everyone uses to manage agents at work
TypeScript acpxagent-orchestrationagent-skillsagentic-aiai-agentsai-engineeringai-governanceai-toolsautonomous-agentsclaudeclaude-codeclaude-skillscodexhermesllmmcpmulti-agentopenclawproject-managementworkflow-automation
fix: indent nested sub-tasks at all depths using depth-based padding
Darren Davison58a1a20f5bb5
diff --git a/ui/src/components/IssuesList.tsx b/ui/src/components/IssuesList.tsxindex 1e731e5394..422eb438bd 100644--- a/ui/src/components/IssuesList.tsx+++ b/ui/src/components/IssuesList.tsx@@ -677,7 +677,7 @@ export function IssuesList({}}- const renderIssueRow = (issue: Issue, isChild: boolean) => {+ const renderIssueRow = (issue: Issue, depth: number) => {const children = childMap.get(issue.id) ?? [];const hasChildren = children.length > 0;const isExpanded = !collapsedParents.has(issue.id);@@ -692,11 +692,10 @@ export function IssuesList({};return (- <div key={issue.id}>+ <div key={issue.id} style={depth > 0 ? { paddingLeft: `${depth * 16}px` } : undefined}><IssueRowissue={issue}issueLinkState={issueLinkState}- className={isChild ? "pl-6 sm:pl-7" : undefined}titleSuffix={hasChildren && !isExpanded ? (<span className="ml-1.5 text-xs text-muted-foreground">({children.length} sub-task{children.length !== 1 ? "s" : ""})@@ -875,12 +874,12 @@ export function IssuesList({)}trailingMeta={formatDate(issue.createdAt)}/>- {hasChildren && isExpanded && children.map((child) => renderIssueRow(child, true))}+ {hasChildren && isExpanded && children.map((child) => renderIssueRow(child, depth + 1))}</div>);};- return roots.map((issue) => renderIssueRow(issue, false));+ return roots.map((issue) => renderIssueRow(issue, 0));})()}</CollapsibleContent></Collapsible>