diff options
| author | soryu <soryu@soryu.co> | 2026-01-22 01:29:04 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-22 03:08:48 +0000 |
| commit | 2d763ea63e133c083114151abc5b9c76bc6ab54e (patch) | |
| tree | 60614855f1f00cedeba570ce807ff3d7e296f4de | |
| parent | 20ad48f4e058e2f6c68a0d7881aedf00a6b74da1 (diff) | |
| download | soryu-2d763ea63e133c083114151abc5b9c76bc6ab54e.tar.gz soryu-2d763ea63e133c083114151abc5b9c76bc6ab54e.zip | |
Hide subtasks
| -rw-r--r-- | makima/frontend/src/components/mesh/TaskDetail.tsx | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/makima/frontend/src/components/mesh/TaskDetail.tsx b/makima/frontend/src/components/mesh/TaskDetail.tsx index a74f394..e4fcce3 100644 --- a/makima/frontend/src/components/mesh/TaskDetail.tsx +++ b/makima/frontend/src/components/mesh/TaskDetail.tsx @@ -689,19 +689,6 @@ export function TaskDetail({ </button> )} </div> - {/* Disable adding subtasks for supervisors and at max depth (2 = sub-subtask, cannot have children) */} - {!isSupervisor && task.depth < 2 ? ( - <button - onClick={onCreateSubtask} - className="px-2 py-1 font-mono text-[10px] text-[#9bc3ff] border border-[rgba(117,170,252,0.25)] hover:border-[#3f6fb3] transition-colors uppercase" - > - + Add Subtask - </button> - ) : !isSupervisor ? ( - <span className="px-2 py-1 font-mono text-[10px] text-[#555] border border-[#333]" title="Maximum depth reached"> - Max depth - </span> - ) : null} </div> {/* Progress bar for tasks */} |
