Skip to content

[486 by Claude Opus] Feature: Support repository aliases and specific base branches - #487

Merged
integry merged 7 commits into
mainfrom
486/claude-opus-4-5-20251101-feature-support-repositor-20260101-2239-sso
Jan 2, 2026
Merged

integry merged 7 commits into
mainfrom
486/claude-opus-4-5-20251101-feature-support-repositor-20260101-2239-sso

Conversation

@propr-dev

@propr-dev propr-dev Bot commented Jan 1, 2026

Copy link
Copy Markdown
Contributor

AI Implementation Summary

Closes #486

Model Used: claude-opus-4-5-20251101
Status: ✅ Implementation Completed
Branch: 486/claude-opus-4-5-20251101-feature-support-repositor-20260101-2239-sso
Commits: ✅ Changes committed (b3b2f89)


AI Processing Completed

Execution Details:

Summary:
The export * from './config/configManager.js'; on line 24 will export the RepoToMonitor interface. All the pieces are in place.

Now let me provide a summary of all the changes made:

Implementation Summary

I have successfully implemented the feature for supporting repository aliases and specific base branches as described in issue #486. Here's what was changed:

1. Core Configuration Types (packages/core/src/config/configManager.ts)

  • Updated RepoToMonitor interface to include:
    • id: string - UUID for unique identification
    • alias?: string - Optional display name
    • baseBranch?: string - Optional specific branch to monitor
  • Exported the interface for use by other packages

2. Backend Route Logic (packages/dashboard/routes/configRoutes.ts)

  • Added randomUUID import from crypto
  • Updated postRepos function to:
    • Generate UUIDs for new repositories (or preserve existing IDs)
    • Validate and sanitize optional alias and baseBranch fields
    • Process repos with proper type safety using RepoToMonitor
  • Updated triggerIndexing function to accept and pass baseBranch parameter

3. Indexing Queue (packages/core/src/queue/taskQueue.ts)

  • Added baseBranch?: string field to IndexingJobData interface

4. Config Helpers (packages/dashboard/routes/configHelpers.ts)

  • Updated queueIndexingJob function to accept and pass baseBranch parameter to both ensureRepoCloned and the indexing job data

5. Repository Manager (packages/core/src/git/repoManager.ts)

  • Updated ensureRepoCloned function to accept optional baseBranch parameter
  • When cloning, uses --branch=<baseBranch> option if specified
  • When updating, checks out the specified branch instead of default

6. Frontend API Client (gitfix-ui/src/api/gitfixApi.ts)

  • Updated MonitoredRepo interface to include:
    • id: string
    • alias?: string
    • baseBranch?: string

7. Repository Page UI (gitfix-ui/src/pages/RepositoriesPage.tsx)

  • Added state variables for newAlias and newBaseBranch
  • Updated loadRepos to properly handle all new fields including backward compatibility
  • Updated handleAddRepo to:
    • Generate UUIDs for new entries
    • Include alias and baseBranch in new entries
    • Allow duplicate repo names if base branches differ
    • Reset all input fields after adding
  • Updated handleRemoveRepo and handleToggleRepo to use id instead of name
  • Enhanced "Add New Repository" form with fields for Alias and Base Branch
  • Updated repository list display to show:
    • Alias prominently with repo name in parentheses (if alias exists)
    • Branch badge when baseBranch is specified
    • Using repo.id as the React key for proper uniqueness

Key Features

  • Backward Compatibility: Legacy repos without IDs get UUIDs auto-generated on load/save
  • Multi-Branch Support: Same repository can be added multiple times with different base branches
  • Unique Identification: Each configuration is identified by UUID rather than name
  • UI Enhancements: Clear display of alias and branch information in the repository list

Detailed Logs:

Log files stored at:

  • output: /tmp/claude-logs/issue-486-2026-01-01T22-48-25-856Z-output.txt
Latest Conversation Messages

Powered by Claude Code v1.0.0


This PR was created automatically by Claude Code after processing issue #486.

… specific b

Implemented by Claude Code using claude-opus-4-5-20251101 model.

Implementation completed successfully.
@github-actions

github-actions Bot commented Jan 1, 2026

Copy link
Copy Markdown

❌ Checks Failed

Linting or Build errors were detected.

View Logs
Starting validation process...

--- UI: Lint & Build ---
❌ UI Lint FAILED

> [email protected] lint
> eslint . --max-warnings 0


/home/runner/work/gitfix/gitfix/gitfix-ui/src/pages/RepositoriesPage.tsx
  8:11  error  An interface declaring no members is equivalent to its supertype  @typescript-eslint/no-empty-object-type

✖ 1 problem (1 error, 0 warnings)

npm error Lifecycle script `lint` failed with error:
npm error code 1
npm error path /home/runner/work/gitfix/gitfix/gitfix-ui
npm error workspace [email protected]
npm error location /home/runner/work/gitfix/gitfix/gitfix-ui
npm error command failed
npm error command sh -c eslint . --max-warnings 0

--- Core Package: Build & Lint ---
✅ Core Package Build passed
❌ Core Package Lint FAILED

> @gitfix/[email protected] lint
> eslint . --max-warnings 0


/home/runner/work/gitfix/gitfix/packages/core/src/git/repoManager.ts
  26:8  warning  Async function 'ensureRepoCloned' has too many parameters (5). Maximum allowed is 4  max-params

✖ 1 problem (0 errors, 1 warning)

ESLint found too many warnings (maximum: 0).
npm error Lifecycle script `lint` failed with error:
npm error code 1
npm error path /home/runner/work/gitfix/gitfix/packages/core
npm error workspace @gitfix/[email protected]
npm error location /home/runner/work/gitfix/gitfix/packages/core
npm error command failed
npm error command sh -c eslint . --max-warnings 0

--- Dashboard: Build & Lint ---
✅ Dashboard Build passed
✅ Dashboard Lint passed
✅ Dashboard Docker Build passed

View Workflow

@propr-dev

propr-dev Bot commented Jan 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 4a79dda

Summary of Changes

Summary

I fixed both lint errors:

1. UI Lint Error - Empty Interface (gitfix-ui/src/pages/RepositoriesPage.tsx:8)

Problem: interface Repo extends MonitoredRepo {} declared an empty interface, triggering @typescript-eslint/no-empty-object-type.

Fix: Changed from an empty interface to a type alias:

// Before
interface Repo extends MonitoredRepo {
  // comment
}

// After  
type Repo = MonitoredRepo;

2. Core Lint Warning - Too Many Parameters (packages/core/src/git/repoManager.ts:26)

Problem: ensureRepoCloned() had 5 parameters, exceeding the max-params ESLint rule limit of 4.

Fix: Refactored using function overloading with an options object pattern:

  • Added an EnsureRepoClonedOptions interface
  • Added function overloads to support both the existing 5-parameter signature (for backward compatibility) and a new single-options-object signature
  • Moved the implementation logic to a private ensureRepoClonedInternal() function that takes the options object
  • Updated the internal recursive call to use ensureRepoClonedInternal(opts) instead of ensureRepoCloned()

This approach maintains full backward compatibility with all existing callers while satisfying the ESLint rule.

Key changes:
Problem: interface Repo extends MonitoredRepo {} declared an empty interface, triggering @typescript-eslint/no-empty-object-type.
Fix: Changed from an empty interface to a type alias:
Problem: ensureRepoCloned() had 5 parameters, exceeding the max-params ESLint rule limit of 4.
Fix: Refactored using function overloading with an options object pattern:

  • Added an EnsureRepoClonedOptions interface
  • Added function overloads to support both the existing 5-parameter signature (for backward compatibility) and a new single-options-object signature
  • Moved the implementation logic to a private ensureRepoClonedInternal() function that takes the options object
  • Updated the internal recursive call to use ensureRepoClonedInternal(opts) instead of ensureRepoCloned()

🤖 Implementation Details

  • Model: claude-opus-4-5-20251101
  • Requested By: @github-actions[bot]
  • Time: 87s

Undo Changes • View Task Execution


Processing comment ID: 3704202809✓

## Summary

I fixed both lint errors:

### 1. UI Lint Error - Empty Interface (`gitfix-ui/src/pages/RepositoriesPage.tsx:8`)

**Problem:** `interface Repo extends MonitoredRepo {}` declared an empty interface, triggering `@typescript-eslint/no-empty-object-type`.

**Fix:** Changed from an empty interface to a type alias:
```typescript
// Before
interface Repo extends MonitoredRepo {
  // comment
}

// After
type Repo = MonitoredRepo;
```

### 2. Core Lint Warning - Too Many Parameters (`packages/core/src/git/repoManager.ts:26`)

**Problem:** `ensureRepoCloned()` had 5 parameters, exceeding the `max-params` ESLint rule limit of 4.

**Fix:** Refactored using function overloading with an options object pattern:
- Added an `EnsureRepoClonedOptions` interface
- Added function overloads to support both the existing 5-parameter signature (for backward compatibility) and a new single-options-object signature
- Moved the implementation logic to a private `ensureRepoClonedInternal()` function that takes the options object
- Updated the internal recursive call to use `ensureRepoClonedInternal(opts)` instead of `ensureRepoCloned()`

This approach maintains full backward compatibility with all existing callers while satisfying the ESLint rule.

Key changes:
**Problem:** `interface Repo extends MonitoredRepo {}` declared an empty interface, triggering `@typescript-eslint/no-empty-object-type`.
**Fix:** Changed from an empty interface to a type alias:
**Problem:** `ensureRepoCloned()` had 5 parameters, exceeding the `max-params` ESLint rule limit of 4.
**Fix:** Refactored using function overloading with an options object pattern:
- Added an `EnsureRepoClonedOptions` interface
- Added function overloads to support both the existing 5-parameter signature (for backward compatibility) and a new single-options-object signature
- Moved the implementation logic to a private `ensureRepoClonedInternal()` function that takes the options object
- Updated the internal recursive call to use `ensureRepoClonedInternal(opts)` instead of `ensureRepoCloned()`

PR: #487
Comment by: @github-actions[bot] (ID: 3704202809)
Model: claude-opus-4-5-20251101
@integry

integry commented Jan 1, 2026

Copy link
Copy Markdown
Owner

I can't choose a repository if it has already been added with a default base branch.

@propr-dev

propr-dev Bot commented Jan 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit f2bff43

Summary of Changes

The fix has been applied. Now the datalist will show all available repositories from GitHub, regardless of whether they've already been added. The duplicate detection logic in handleAddRepo (lines 153-164) will still correctly prevent adding the exact same repository + baseBranch combination twice.

To summarize the fix:

  • Problem: The datalist filter was hiding repositories from the dropdown if they had been added with a default base branch (!r.baseBranch), preventing users from selecting the same repository to add it with a specific branch.
  • Solution: Removed the filter so all available repositories are shown in the dropdown. The existing duplicate check in handleAddRepo already correctly handles preventing duplicates by checking both name AND baseBranch together.

Key changes:

  • Problem: The datalist filter was hiding repositories from the dropdown if they had been added with a default base branch (!r.baseBranch), preventing users from selecting the same repository to add it with a specific branch.
  • Solution: Removed the filter so all available repositories are shown in the dropdown. The existing duplicate check in handleAddRepo already correctly handles preventing duplicates by checking both name AND baseBranch together.

🤖 Implementation Details

  • Model: claude-opus-4-5-20251101
  • Requested By: @integry
  • Time: 102s

Undo Changes • View Task Execution


Processing comment ID: 3704204701✓

…ailable repositories from GitHub, regardless of whether they've already been added. The duplicate detection logic in `handleAddRepo` (lines 153-164) will still correctly prevent adding the exact same repository + baseBranch combination twice.

The fix has been applied. Now the datalist will show all available repositories from GitHub, regardless of whether they've already been added. The duplicate detection logic in `handleAddRepo` (lines 153-164) will still correctly prevent adding the exact same repository + baseBranch combination twice.

To summarize the fix:
- **Problem**: The datalist filter was hiding repositories from the dropdown if they had been added with a default base branch (`!r.baseBranch`), preventing users from selecting the same repository to add it with a specific branch.
- **Solution**: Removed the filter so all available repositories are shown in the dropdown. The existing duplicate check in `handleAddRepo` already correctly handles preventing duplicates by checking both `name` AND `baseBranch` together.

Key changes:
- **Problem**: The datalist filter was hiding repositories from the dropdown if they had been added with a default base branch (`!r.baseBranch`), preventing users from selecting the same repository to add it with a specific branch.
- **Solution**: Removed the filter so all available repositories are shown in the dropdown. The existing duplicate check in `handleAddRepo` already correctly handles preventing duplicates by checking both `name` AND `baseBranch` together.

PR: #487
Comment by: @integry (ID: 3704204701)
Model: claude-opus-4-5-20251101
@github-actions

github-actions Bot commented Jan 1, 2026

Copy link
Copy Markdown

❌ Checks Failed

Linting or Build errors were detected.

View Logs
Starting validation process...

--- UI: Lint & Build ---
✅ UI Lint passed
✅ UI Build passed

--- Core Package: Build & Lint ---
✅ Core Package Build passed
❌ Core Package Lint FAILED

> @gitfix/[email protected] lint
> eslint . --max-warnings 0


/home/runner/work/gitfix/gitfix/packages/core/src/git/repoManager.ts
  34:8  warning  Async function 'ensureRepoCloned' has too many parameters (5). Maximum allowed is 4  max-params
  36:8  warning  Async function 'ensureRepoCloned' has too many parameters (5). Maximum allowed is 4  max-params

✖ 2 problems (0 errors, 2 warnings)

ESLint found too many warnings (maximum: 0).
npm error Lifecycle script `lint` failed with error:
npm error code 1
npm error path /home/runner/work/gitfix/gitfix/packages/core
npm error workspace @gitfix/[email protected]
npm error location /home/runner/work/gitfix/gitfix/packages/core
npm error command failed
npm error command sh -c eslint . --max-warnings 0

--- Dashboard: Build & Lint ---
✅ Dashboard Build passed
✅ Dashboard Lint passed
✅ Dashboard Docker Build passed

View Workflow

@propr-dev

propr-dev Bot commented Jan 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit d4f9408

Summary of Changes

The TypeScript compilation passes. The fix is complete.

Summary

I fixed the ESLint max-params warning in packages/core/src/git/repoManager.ts by:

  1. Removed the overloaded function signatures (lines 34-36) that had 5 parameters, which violated the ESLint max-params rule (max 4 parameters)

  2. Kept only the options object signature for ensureRepoCloned:

    export async function ensureRepoCloned(options: EnsureRepoClonedOptions): Promise<string>
  3. Exported the EnsureRepoClonedOptions interface so callers can use it

  4. Updated all 11 call sites across the codebase to use the new options object format:

    • src/indexing_worker.ts
    • src/jobs/processSystemTaskJob.ts
    • src/jobs/processPullRequestCommentJob.ts
    • src/jobs/processGitHubIssueJob.ts
    • src/jobs/processTaskImportJob.ts
    • packages/dashboard/routes/plannerRoutes.ts
    • packages/dashboard/routes/plannerHelpers.ts (2 locations)
    • packages/dashboard/routes/relevanceRoutes.ts
    • packages/dashboard/routes/configHelpers.ts (2 locations)

Key changes:

  1. Removed the overloaded function signatures (lines 34-36) that had 5 parameters, which violated the ESLint max-params rule (max 4 parameters)
  2. Kept only the options object signature for ensureRepoCloned:
  3. Exported the EnsureRepoClonedOptions interface so callers can use it
  4. Updated all 11 call sites across the codebase to use the new options object format:
    • src/indexing_worker.ts
    • src/jobs/processSystemTaskJob.ts
    • src/jobs/processPullRequestCommentJob.ts
    • src/jobs/processGitHubIssueJob.ts
    • src/jobs/processTaskImportJob.ts
    • packages/dashboard/routes/plannerRoutes.ts

🤖 Implementation Details

  • Model: claude-opus-4-5-20251101
  • Requested By: @github-actions[bot]
  • Time: 149s

Undo Changes • View Task Execution


Processing comment ID: 3704205940✓

@integry

integry commented Jan 1, 2026

Copy link
Copy Markdown
Owner

Base branch should be selectable via dropdown (filterable autocomplete like the repositories)

The TypeScript compilation passes. The fix is complete.

## Summary

I fixed the ESLint `max-params` warning in `packages/core/src/git/repoManager.ts` by:

1. **Removed the overloaded function signatures** (lines 34-36) that had 5 parameters, which violated the ESLint `max-params` rule (max 4 parameters)

2. **Kept only the options object signature** for `ensureRepoCloned`:
   ```typescript
   export async function ensureRepoCloned(options: EnsureRepoClonedOptions): Promise<string>
   ```

3. **Exported the `EnsureRepoClonedOptions` interface** so callers can use it

4. **Updated all 11 call sites** across the codebase to use the new options object format:
   - `src/indexing_worker.ts`
   - `src/jobs/processSystemTaskJob.ts`
   - `src/jobs/processPullRequestCommentJob.ts`
   - `src/jobs/processGitHubIssueJob.ts`
   - `src/jobs/processTaskImportJob.ts`
   - `packages/dashboard/routes/plannerRoutes.ts`
   - `packages/dashboard/routes/plannerHelpers.ts` (2 locations)
   - `packages/dashboard/routes/relevanceRoutes.ts`
   - `packages/dashboard/routes/configHelpers.ts` (2 locations)

Key changes:
1. **Removed the overloaded function signatures** (lines 34-36) that had 5 parameters, which violated the ESLint `max-params` rule (max 4 parameters)
2. **Kept only the options object signature** for `ensureRepoCloned`:
3. **Exported the `EnsureRepoClonedOptions` interface** so callers can use it
4. **Updated all 11 call sites** across the codebase to use the new options object format:
   - `src/indexing_worker.ts`
   - `src/jobs/processSystemTaskJob.ts`
   - `src/jobs/processPullRequestCommentJob.ts`
   - `src/jobs/processGitHubIssueJob.ts`
   - `src/jobs/processTaskImportJob.ts`
   - `packages/dashboard/routes/plannerRoutes.ts`

PR: #487
Comment by: @github-actions[bot] (ID: 3704205940)
Model: claude-opus-4-5-20251101
@propr-dev

propr-dev Bot commented Jan 1, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 464e26e

Summary of Changes

I've completed the implementation of the base branch dropdown with filterable autocomplete. Here's a summary of all the changes I made:

Summary of Changes

1. Backend: New API Endpoint for Fetching Branches

File: packages/dashboard/routes/githubRoutes.ts

  • Added new getBranches function that:
    • Takes owner and repo as URL parameters
    • Fetches all branches from GitHub API with pagination
    • Also fetches the repository's default branch
    • Sorts branches alphabetically with default branch first
    • Returns { branches: string[], defaultBranch: string }

File: packages/dashboard/server.ts

  • Added route: GET /api/github/repos/:owner/:repo/branches

2. Frontend: API Function

File: gitfix-ui/src/api/gitfixApi.ts

  • Added RepoBranchesResponse interface
  • Added getRepoBranches(owner, repo) function to call the new endpoint

3. Frontend: New BaseBranchSelector Component

File: gitfix-ui/src/components/BaseBranchSelector.tsx (new file)

  • Created a dropdown component with filterable autocomplete similar to the repository selector
  • Features:
    • Shows "Select branch..." placeholder when closed
    • Opens to show a filter input and scrollable list of branches
    • Fetches branches dynamically when opened (requires valid repository)
    • Shows loading spinner while fetching
    • Shows "Use repository default" option at the top
    • Highlights the default branch in the list
    • Shows checkmark for selected branch
    • Has clear button to reset to default
    • Shows "(default)" label next to the default branch
    • Click outside to close

4. Frontend: Updated RepositoriesPage

File: gitfix-ui/src/pages/RepositoriesPage.tsx

  • Imported BaseBranchSelector component
  • Replaced the plain text input for base branch with the new BaseBranchSelector component
  • The selector is disabled until a valid repository is selected

Key changes:
File: packages/dashboard/routes/githubRoutes.ts

  • Added new getBranches function that:
    • Takes owner and repo as URL parameters
    • Fetches all branches from GitHub API with pagination
    • Also fetches the repository's default branch
    • Sorts branches alphabetically with default branch first
    • Returns { branches: string[], defaultBranch: string }
      File: packages/dashboard/server.ts
  • Added route: GET /api/github/repos/:owner/:repo/branches
    File: gitfix-ui/src/api/gitfixApi.ts

🤖 Implementation Details

  • Model: claude-opus-4-5-20251101
  • Requested By: @integry
  • Time: 350s

Undo Changes • View Task Execution


Processing comment ID: 3704207243✓

@github-actions

github-actions Bot commented Jan 1, 2026

Copy link
Copy Markdown

❌ Checks Failed

Linting or Build errors were detected.

View Logs
Starting validation process...

--- UI: Lint & Build ---
✅ UI Lint passed
✅ UI Build passed

--- Core Package: Build & Lint ---
✅ Core Package Build passed
❌ Core Package Lint FAILED

> @gitfix/[email protected] lint
> eslint . --max-warnings 0


/home/runner/work/gitfix/gitfix/packages/core/src/git/repoManager.ts
  34:8  warning  Async function 'ensureRepoCloned' has too many parameters (5). Maximum allowed is 4  max-params
  36:8  warning  Async function 'ensureRepoCloned' has too many parameters (5). Maximum allowed is 4  max-params

✖ 2 problems (0 errors, 2 warnings)

ESLint found too many warnings (maximum: 0).
npm error Lifecycle script `lint` failed with error:
npm error code 1
npm error path /home/runner/work/gitfix/gitfix/packages/core
npm error workspace @gitfix/[email protected]
npm error location /home/runner/work/gitfix/gitfix/packages/core
npm error command failed
npm error command sh -c eslint . --max-warnings 0

--- Dashboard: Build & Lint ---
✅ Dashboard Build passed
✅ Dashboard Lint passed
✅ Dashboard Docker Build passed

View Workflow

…wn with filterable autocomplete. Here's a summary of all the changes I made:

I've completed the implementation of the base branch dropdown with filterable autocomplete. Here's a summary of all the changes I made:

## Summary of Changes

### 1. Backend: New API Endpoint for Fetching Branches
**File:** `packages/dashboard/routes/githubRoutes.ts`
- Added new `getBranches` function that:
  - Takes `owner` and `repo` as URL parameters
  - Fetches all branches from GitHub API with pagination
  - Also fetches the repository's default branch
  - Sorts branches alphabetically with default branch first
  - Returns `{ branches: string[], defaultBranch: string }`

**File:** `packages/dashboard/server.ts`
- Added route: `GET /api/github/repos/:owner/:repo/branches`

### 2. Frontend: API Function
**File:** `gitfix-ui/src/api/gitfixApi.ts`
- Added `RepoBranchesResponse` interface
- Added `getRepoBranches(owner, repo)` function to call the new endpoint

### 3. Frontend: New BaseBranchSelector Component
**File:** `gitfix-ui/src/components/BaseBranchSelector.tsx` (new file)
- Created a dropdown component with filterable autocomplete similar to the repository selector
- Features:
  - Shows "Select branch..." placeholder when closed
  - Opens to show a filter input and scrollable list of branches
  - Fetches branches dynamically when opened (requires valid repository)
  - Shows loading spinner while fetching
  - Shows "Use repository default" option at the top
  - Highlights the default branch in the list
  - Shows checkmark for selected branch
  - Has clear button to reset to default
  - Shows "(default)" label next to the default branch
  - Click outside to close

### 4. Frontend: Updated RepositoriesPage
**File:** `gitfix-ui/src/pages/RepositoriesPage.tsx`
- Imported `BaseBranchSelector` component
- Replaced the plain text input for base branch with the new `BaseBranchSelector` component
- The selector is disabled until a valid repository is selected

Key changes:
**File:** `packages/dashboard/routes/githubRoutes.ts`
- Added new `getBranches` function that:
  - Takes `owner` and `repo` as URL parameters
  - Fetches all branches from GitHub API with pagination
  - Also fetches the repository's default branch
  - Sorts branches alphabetically with default branch first
  - Returns `{ branches: string[], defaultBranch: string }`
**File:** `packages/dashboard/server.ts`
- Added route: `GET /api/github/repos/:owner/:repo/branches`
**File:** `gitfix-ui/src/api/gitfixApi.ts`

PR: #487
Comment by: @integry (ID: 3704207243)
Model: claude-opus-4-5-20251101
@propr-dev

propr-dev Bot commented Jan 1, 2026 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Analyzed the follow-up request by @github-actions[bot]

Analysis Summary

All builds and lints pass. The code on the current branch is correct.

The CI failure from the "Checks Failed" message was from an earlier commit (b3b2f89) that had ensureRepoCloned with 5 individual parameters. That has been fixed in subsequent commits - the current commit (464e26e) refactored it to use an EnsureRepoClonedOptions interface with a single options parameter object, which complies with the max-params rule.

The current state of the code is correct and should pass all CI checks when pushed. No additional changes are needed.

No code changes were necessary based on the current state of the branch.


🤖 Analysis Details

  • Model: claude-opus-4-5-20251101
  • Time: 217s

View Task Execution


Processing comment ID: 3704207958✓

@integry

integry commented Jan 2, 2026

Copy link
Copy Markdown
Owner

Move this under Add Repository button - "Select a repository first"

@propr-dev

propr-dev Bot commented Jan 2, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 969dec1

Summary of Changes

I've completed the requested changes. Here's a summary of what was done:

  1. Removed the "Select a repository first" message from BaseBranchSelector.tsx (line 131-133)

  2. Added the message under the "Add Repository" button in RepositoriesPage.tsx:

    • Changed the button container from flex items-end to flex flex-col justify-end to properly stack the button and message vertically
    • Added conditional rendering of <p className="text-xs text-gray-500 mt-1">Select a repository first</p> when no repository is selected (!newRepo)

The message now appears directly below the "Add Repository" button when no repository has been selected, providing clearer guidance to users about what action they need to take first.

Key changes:

  1. Removed the "Select a repository first" message from BaseBranchSelector.tsx (line 131-133)
  2. Added the message under the "Add Repository" button in RepositoriesPage.tsx:
    • Changed the button container from flex items-end to flex flex-col justify-end to properly stack the button and message vertically
    • Added conditional rendering of <p className="text-xs text-gray-500 mt-1">Select a repository first</p> when no repository is selected (!newRepo)

🤖 Implementation Details

  • Model: claude-opus-4-5-20251101
  • Requested By: @integry
  • Time: 49s

Undo Changes • View Task Execution


Processing comment ID: 3706254374✓

…hat was done:

I've completed the requested changes. Here's a summary of what was done:

1. **Removed** the "Select a repository first" message from `BaseBranchSelector.tsx` (line 131-133)

2. **Added** the message under the "Add Repository" button in `RepositoriesPage.tsx`:
   - Changed the button container from `flex items-end` to `flex flex-col justify-end` to properly stack the button and message vertically
   - Added conditional rendering of `<p className="text-xs text-gray-500 mt-1">Select a repository first</p>` when no repository is selected (`!newRepo`)

The message now appears directly below the "Add Repository" button when no repository has been selected, providing clearer guidance to users about what action they need to take first.

Key changes:
1. **Removed** the "Select a repository first" message from `BaseBranchSelector.tsx` (line 131-133)
2. **Added** the message under the "Add Repository" button in `RepositoriesPage.tsx`:
   - Changed the button container from `flex items-end` to `flex flex-col justify-end` to properly stack the button and message vertically
   - Added conditional rendering of `<p className="text-xs text-gray-500 mt-1">Select a repository first</p>` when no repository is selected (`!newRepo`)

PR: #487
Comment by: @integry (ID: 3706254374)
Model: claude-opus-4-5-20251101
@integry

integry commented Jan 2, 2026

Copy link
Copy Markdown
Owner

Vertically align the Add Repository button to the input fields, perhaps easiest would be to add an empty label on top of the button

image

@propr-dev

propr-dev Bot commented Jan 2, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Applied the requested follow-up changes in commit 9563876

Summary of Changes

The change has been applied. I:

  1. Removed flex flex-col justify-end from the div's class (no longer needed since alignment is now handled by the empty label)
  2. Added an empty label <label className="block text-xs font-medium text-gray-600 mb-1">&nbsp;</label> that matches the style of the other labels, using a non-breaking space (&nbsp;) to ensure it takes up the same vertical space

This will vertically align the "Add Repository" button with the input fields above it, as the empty label occupies the same space as the labels for "Repository", "Alias", and "Base Branch" fields.

Key changes:

  1. Removed flex flex-col justify-end from the div's class (no longer needed since alignment is now handled by the empty label)
  2. Added an empty label <label className="block text-xs font-medium text-gray-600 mb-1">&nbsp;</label> that matches the style of the other labels, using a non-breaking space (&nbsp;) to ensure it takes up the same vertical space

🤖 Implementation Details

  • Model: claude-opus-4-5-20251101
  • Requested By: @integry
  • Time: 30s

Undo Changes • View Task Execution


Processing comment ID: 3706258215✓

The change has been applied. I:

1. Removed `flex flex-col justify-end` from the div's class (no longer needed since alignment is now handled by the empty label)
2. Added an empty label `<label className="block text-xs font-medium text-gray-600 mb-1">&nbsp;</label>` that matches the style of the other labels, using a non-breaking space (`&nbsp;`) to ensure it takes up the same vertical space

This will vertically align the "Add Repository" button with the input fields above it, as the empty label occupies the same space as the labels for "Repository", "Alias", and "Base Branch" fields.

Key changes:
1. Removed `flex flex-col justify-end` from the div's class (no longer needed since alignment is now handled by the empty label)
2. Added an empty label `<label className="block text-xs font-medium text-gray-600 mb-1">&nbsp;</label>` that matches the style of the other labels, using a non-breaking space (`&nbsp;`) to ensure it takes up the same vertical space

PR: #487
Comment by: @integry (ID: 3706258215)
Model: claude-opus-4-5-20251101
@propr-dev

propr-dev Bot commented Jan 2, 2026

Copy link
Copy Markdown
Contributor Author

🚀 Preview Environment Deployed

Your PR preview environment is now available:

UI: https://pr-487.gitfix.dev


This comment is automatically updated on each deployment.

@integry
integry merged commit ec72a38 into main Jan 2, 2026
@integry
integry deleted the 486/claude-opus-4-5-20251101-feature-support-repositor-20260101-2239-sso branch January 2, 2026 21:35
propr-dev Bot pushed a commit that referenced this pull request Sep 15, 2026
…ed by typecheck, lint, 310 unit tests, and the desktop task-list browser suite, with four preview captures written to the manifest.

What changed

- Metric numbers and cost (`Dashboard.tsx`, `tailwind.config.js`): stat values now use `font-sans font-semibold tabular-nums`, and the Total Cost tile is `text-slate-900` instead of violet. Tailwind's `font-sans` is now mapped to Inter so an explicit reset can never fall to a different stack than the body.
- Code chips (new `TaskList/ReferenceChips.tsx`): PR and issue references render as neutral monospace chips with the exact classes from the issue, prefixed as `PR #2393` or `Issue #487`. The issue chip is dropped when it would repeat the PR number, which is what produced the doubled `#2393`. The mobile card uses the same component.
- Fixed meta grid (`TaskRows.tsx`, `desktop-task-table.css`): trailing meta is a `grid-cols-[7rem_3.5rem]` block with the status left-aligned in `w-28`, the score centered in `w-14` and kept as an empty slot when absent, and the time in a right-aligned `w-24` no-wrap column. The Playwright capture confirmed identical x positions for all three columns across every row. The narrow desktop pane keeps its stacked layout via CSS.
- Child row deltas (`utils.tsx`): titles like `Fix PR #2393: …` are now parsed as a `pr-workflow` type with a workflow verb. Parent rows keep the PR entity title. Child rows show the execution summary from the subtitle, or `Fix requested` / `Review requested` when no summary exists. The verb also appears as a neutral badge, so the context previously carried by the repeated title is preserved. Issue tasks keep their title because their subtitle is only a "Preparing a PR" placeholder.
- Donut replaced (`TaskStatsChartParts.tsx`, new `taskStatusBreakdown.ts`): a compact segmented bar with a two-column tabular legend. Statuses merge into the same vocabulary as the feed pills, empty states are dropped, and slivers show as `<0.1%` rather than `0%`. Recharts pie imports were removed. The section dropped from roughly 250px to 157px.

Tests added

- `displayTitles.test.ts` covers workflow parsing and parent/child title selection.
- `ReferenceChips.test.tsx` covers prefixing, duplicate suppression, and chip styling.
- `taskStatusBreakdown.test.ts` covers merging, sorting, and percent formatting.

One judgment call to flag: the dataviz palette validator marks slate for Completed as "reads gray". That is deliberate per the project's own "success is quiet" guideline, and the labeled legend with percentages relieves the contrast warning.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Support repository aliases and specific base branches

2 participants