chore: sync local mainline updates with master#78
Conversation
# Conflicts: # app/components/panels/editor/IssueDetailPanel.tsx # app/quick-capture/QuickCaptureApp.tsx # app/quick-capture/quick-capture.css # lib/conveyor/handlers/issue-handler.ts # lib/main/tray.ts # lib/services/issue/issue-service.ts # lib/services/quick-capture/quick-capture-service.ts # package-lock.json # package.json
# Conflicts: # app/app.tsx # package-lock.json
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 80c5795. Configure here.
| setCurrentBranch('') | ||
| setError(null) | ||
| setPrError(null) | ||
| }, []) |
There was a problem hiding this comment.
Stale file graph data not cleared on repo switch
Medium Severity
resetRepositoryViewState omits setFileGraph(null) and setFileGraphLoading(false), which the old selectRepo explicitly cleared to "prevent stale data mixing with new repo." Since refresh only calls setFileGraphLoading(true) after the Phase 1 Promise.all resolves, there's a window where the new repo's branches and commits render alongside the previous repo's file graph data.
Reviewed by Cursor Bugbot for commit 80c5795. Configure here.


Summary
Context
Local master had diverged: 2 commits ahead / 15 behind. This PR brings them together rather than force-pushing over the 15 commits on origin.
Test plan
Note
Medium Risk
Repo switching behavior is refactored to call a new native
openRepositorypath and resets more UI state, and the PR includes several major dependency/toolchain upgrades (Electron/TypeScript/better-sqlite3) that could cause runtime or build regressions.Overview
Refactors repository switching to centralize state reset + reload via
resetRepositoryViewState/loadRepositoryData, and ensures repo changes go throughwindow.conveyor.repo.openRepositorywhen opened from sidebar/radar (reducing stale UI data when jumping between repos).Improves canvas settings UX by allowing editable column labels for non-preset canvases, auto-updating the label when changing a column’s panel (unless the user customized it), and preventing drag-reorder from triggering when interacting with inputs/selects; adds corresponding
.canvas-column-label-inputstyling.Adds a Playwright Electron test (
repo-switch.spec.ts) to verify switching between sibling repos updates branch lists, and performs a broad tooling/dependency refresh (notablyelectron,typescript,better-sqlite3,lucide-react,uuid) plus tsconfig cleanup (removesbaseUrl).Reviewed by Cursor Bugbot for commit 80c5795. Bugbot is set up for automated code reviews on this repo. Configure here.