feat: add folder suggestions to /dir add command (#15724)

This commit is contained in:
Jack Wotherspoon
2026-01-02 16:08:11 -05:00
committed by GitHub
parent 006de1dd31
commit 0f3555a4d2
6 changed files with 466 additions and 6 deletions

View File

@@ -212,7 +212,10 @@ function useCommandSuggestions(
return;
}
setIsLoading(true);
const showLoading = leafCommand.showCompletionLoading !== false;
if (showLoading) {
setIsLoading(true);
}
try {
const rawParts = [...commandPathParts];
if (partial) rawParts.push(partial);