diff options
| author | soryu <soryu@soryu.co> | 2026-01-18 17:00:11 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-18 17:00:11 +0000 |
| commit | f41f8b149a339a5a6b3531eb37998a1930a86993 (patch) | |
| tree | cae5b5650c24b621da7dd71933922b6b7c8f7221 /frontend/src/components/ConfigModal.tsx | |
| parent | f84a7f2d820f6f432be2b1d78d6bf833b5b19380 (diff) | |
| download | soryu-f41f8b149a339a5a6b3531eb37998a1930a86993.tar.gz soryu-f41f8b149a339a5a6b3531eb37998a1930a86993.zip | |
feat(mesh): show all contract tasks for supervisor tasks
When viewing a supervisor task (task.isSupervisor === true), the
TaskDetail component now shows all tasks in the contract instead
of showing the subtasks tree.
Changes:
- Add contractTasks prop to TaskDetailProps for passing contract tasks
- Add displayTasks computed value that uses contractTasks for supervisors
- Change section header from "Subtasks" to "Contract Tasks" for supervisors
- Hide the "+ Add Subtask" button for supervisor tasks
- Update empty state message for supervisors
- Fetch contract tasks in mesh.tsx when viewing a supervisor task
- Filter out the supervisor itself from the contract tasks list
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'frontend/src/components/ConfigModal.tsx')
0 files changed, 0 insertions, 0 deletions
