Skip to content

Conversation

@ocracy
Copy link

@ocracy ocracy commented Jan 18, 2026

Summary

  • Add project_repositories database table for storing multiple git repos per project
  • Add repository CRUD operations (add, update, delete)
  • Create multi-repo git status aggregation
  • Add API routes for repository management and multi-status
  • Update GitPanel and GitDrawer to support multiple repositories
  • Add repository management UI in Project Settings dialog
  • Integrate FolderPicker for easy repository path selection

Features

  • Projects can now have multiple git repositories configured
  • Git Changes panel aggregates and displays changes from all configured repos
  • Easy folder picker to add repositories
  • Primary repository designation for PR operations

Test Plan

  • Create a project and add multiple repositories
  • Verify git status shows changes from all repos
  • Test staging/unstaging files across repos
  • Test commit functionality

🤖 Generated with Claude Code

ocracy and others added 4 commits January 18, 2026 02:03
- Add initial_prompt column to projects table
- Add migration #12 for existing databases
- Update ProjectSettingsDialog with Initial Prompt textarea
- Combine project and session prompts on session creation
  (project prompt + "\n\n" + session prompt)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add project_repositories table to database schema
- Add repository CRUD operations (add, update, delete)
- Create multi-repo git status aggregation (lib/multi-repo-git.ts)
- Add API routes for repository management and multi-status
- Update GitPanel and GitDrawer to support multiple repositories
- Add repository management UI in Project Settings dialog
- Integrate FolderPicker for easy repository path selection

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- FileEditDialog now uses repoPath to correctly locate files in multi-repo setup
- FileChanges component groups files by repository when groupByRepo is enabled
- Sidebar in FileEditDialog shows files grouped by repository name
- Fixes ENOENT error when opening files from non-primary repositories

Co-Authored-By: Claude Opus 4.5 <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.

1 participant