fix(ui): Display subtask details in 'show' command output
Ensures that the 'details' field, which can be updated via 'update-subtask', is correctly rendered when viewing a specific subtask. fix(test): Remove empty describe block causing Jest error Removes a redundant block in that contained a hook but no tests. chore: Add npm script
This commit is contained in:
@@ -677,6 +677,15 @@ async function displayTaskById(tasksPath, taskId) {
|
||||
|
||||
console.log(taskTable.toString());
|
||||
|
||||
// Show details if they exist for subtasks
|
||||
if (task.details && task.details.trim().length > 0) {
|
||||
console.log(boxen(
|
||||
chalk.white.bold('Implementation Details:') + '\n\n' +
|
||||
task.details,
|
||||
{ padding: { top: 0, bottom: 0, left: 1, right: 1 }, borderColor: 'cyan', borderStyle: 'round', margin: { top: 1, bottom: 0 } }
|
||||
));
|
||||
}
|
||||
|
||||
// Show action suggestions for subtask
|
||||
console.log(boxen(
|
||||
chalk.white.bold('Suggested Actions:') + '\n' +
|
||||
|
||||
Reference in New Issue
Block a user