Skip to content

GitStatus improvements #1

Open
gornostal wants to merge 1 commit intomainfrom
claude/view-tasks-file-011CUVHY8ZwrcsQavkcJMdwT
Open

GitStatus improvements #1
gornostal wants to merge 1 commit intomainfrom
claude/view-tasks-file-011CUVHY8ZwrcsQavkcJMdwT

Conversation

@gornostal
Copy link
Owner

When clicking on untracked folders in GitStatus, the app now correctly navigates to the directory in the file browser instead of showing a 404 error.

Changes:

  • Modified GitStatusResponse to use FileListItem[] instead of string[] for file arrays
  • Updated gitService.ts to check if paths are files or directories using filesystem stats
  • Updated GitStatus.tsx to handle directory clicks by navigating to the directory
  • Added onNavigateToDirectory prop to GitStatus component
  • Wired up directory navigation in App.tsx to switch to file browser and set current directory
  • Directories now display with a trailing slash (/) in the UI for clarity

🤖 Generated with Claude Code

When clicking on untracked folders in GitStatus, the app now correctly navigates to the directory in the file browser instead of showing a 404 error.

Changes:
- Modified GitStatusResponse to use FileListItem[] instead of string[] for file arrays
- Updated gitService.ts to check if paths are files or directories using filesystem stats
- Updated GitStatus.tsx to handle directory clicks by navigating to the directory
- Added onNavigateToDirectory prop to GitStatus component
- Wired up directory navigation in App.tsx to switch to file browser and set current directory
- Directories now display with a trailing slash (/) in the UI for clarity

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants