diff options
| author | soryu <soryu@soryu.co> | 2026-01-18 18:30:25 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-18 18:30:25 +0000 |
| commit | ae9819b5ba1a0beb52acf558c3dd6b59a6c25a5e (patch) | |
| tree | 8c80777dd78a6be6cfaebfc9d438bc9d1ea3e24e | |
| parent | e0da93a20a965125ba4cbb46e3e0e179f06c2a08 (diff) | |
| download | soryu-ae9819b5ba1a0beb52acf558c3dd6b59a6c25a5e.tar.gz soryu-ae9819b5ba1a0beb52acf558c3dd6b59a6c25a5e.zip | |
Filter mesh page task list to show only supervisor tasks
- Add `isSupervisor` filter to rootTasks filter in TaskList component
- Only supervisor tasks will appear in the mesh page task list
- Regular tasks are now hidden from the main view
- Update empty state messages to reflect supervisor-only filtering
- When clicking a supervisor task, its detail still shows orchestrated tasks
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
| -rw-r--r-- | makima/frontend/src/components/mesh/TaskList.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/makima/frontend/src/components/mesh/TaskList.tsx b/makima/frontend/src/components/mesh/TaskList.tsx index f829b29..80077b6 100644 --- a/makima/frontend/src/components/mesh/TaskList.tsx +++ b/makima/frontend/src/components/mesh/TaskList.tsx @@ -95,8 +95,8 @@ export function TaskList({ // Group tasks by contract and filter by status const groupedTasks = useMemo(() => { - // Separate root tasks (no parent) from subtasks - const rootTasks = tasks.filter((t) => !t.parentTaskId); + // Separate root tasks (no parent) from subtasks, and only show supervisor tasks + const rootTasks = tasks.filter((t) => !t.parentTaskId && t.isSupervisor); // Filter tasks based on contract status const filteredTasks = statusFilter === 'all' @@ -205,8 +205,8 @@ export function TaskList({ {totalTasks === 0 ? ( <div className="text-center text-[#9bc3ff] text-sm font-mono opacity-60 py-8"> {statusFilter === 'all' - ? 'No tasks yet. Create one to start orchestrating Claude Code instances.' - : `No ${statusFilter} tasks found.`} + ? 'No supervisor tasks yet. Create a contract to start orchestrating tasks.' + : `No ${statusFilter} supervisor tasks found.`} </div> ) : ( <div> |
