diff --git a/ui/goose2/src-tauri/src/commands/git_changes.rs b/ui/goose2/src-tauri/src/commands/git_changes.rs index 70b9e9b6b1..fa9598f753 100644 --- a/ui/goose2/src-tauri/src/commands/git_changes.rs +++ b/ui/goose2/src-tauri/src/commands/git_changes.rs @@ -20,7 +20,10 @@ pub fn get_changed_files(path: String) -> Result, String> { return Ok(Vec::new()); } - let status_output = run_git_success(&repo_path, &["status", "--porcelain"])?; + let status_output = run_git_success( + &repo_path, + &["status", "--porcelain", "--untracked-files=all"], + )?; if status_output.trim().is_empty() { return Ok(Vec::new()); } diff --git a/ui/goose2/src/features/chat/ui/widgets/Widget.tsx b/ui/goose2/src/features/chat/ui/widgets/Widget.tsx index d43c7df9ee..63c2edae8a 100644 --- a/ui/goose2/src/features/chat/ui/widgets/Widget.tsx +++ b/ui/goose2/src/features/chat/ui/widgets/Widget.tsx @@ -11,12 +11,12 @@ interface WidgetProps { export function Widget({ title, icon, action, flush, children }: WidgetProps) { return (
-
+
{icon} {title}
- {action} + {action &&
{action}
}
{flush ? ( children