fix(ui): resolve dependency 'Not found' issue when filtering

- now correctly displays dependencies that exist but are filtered out of view
This commit is contained in:
Eyal Toledano
2025-06-13 04:02:02 -04:00
parent 9d755b9e79
commit 3c8c62434f
3 changed files with 53 additions and 21 deletions

View File

@@ -1346,10 +1346,6 @@ function registerCommands(programInstance) {
process.exit(1);
}
console.log(
chalk.blue(`Setting status of task(s) ${taskId} to: ${status}`)
);
// Find project root for tag resolution
const projectRoot = findProjectRoot();
if (!projectRoot) {
@@ -1357,6 +1353,14 @@ function registerCommands(programInstance) {
process.exit(1);
}
// Resolve tag using standard pattern and show current tag context
const resolvedTag = tag || getCurrentTag(projectRoot) || 'master';
displayCurrentTagIndicator(resolvedTag);
console.log(
chalk.blue(`Setting status of task(s) ${taskId} to: ${status}`)
);
await setTaskStatus(tasksPath, taskId, status, { projectRoot, tag });
});