summaryrefslogtreecommitdiff
path: root/internal/api/validate.go
diff options
context:
space:
mode:
authorClaudomator Agent <agent@claudomator>2026-03-16 00:56:16 +0000
committerClaudomator Agent <agent@claudomator>2026-03-16 00:56:16 +0000
commit7f6254cdafc6143f80ee9ca8e482c36aff2c197e (patch)
tree79219e0ba80ac67c7483568082ea9a951f4d386c /internal/api/validate.go
parent908fb8650ce1f295b6047fe95a75ec4aa235b7dc (diff)
feat: replace static subtask placeholder with task description
When a BLOCKED/READY task has no subtasks yet, show the task description (truncated to ~120 chars at a word boundary) instead of the generic 'Waiting for subtasks…' text. Falls back to task.name if no description, and finally to the original generic text if neither is present. - Add truncateToWordBoundary(text, maxLen=120) helper - Update renderSubtaskRollup(task, footer) to use task object instead of taskId - Update both READY and BLOCKED call sites - Add web/test/subtask-placeholder.test.mjs with 11 tests Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/api/validate.go')
0 files changed, 0 insertions, 0 deletions