Commit Graph
451 Commits
Author SHA1 Message Date
Jinjing fb7ea89e7e docs: update orca-cli skill to support worktree comment updates as default agent behavior (#341)
Add guidance for coding agents to keep worktree comments updated at meaningful
checkpoints, making work-in-progress status visible in the Orca UI without
explicit user requests.
2026-04-06 13:57:41 -07:00
Neil c2da8124e9 1.0.93 v1.0.93 2026-04-06 13:34:02 -07:00
NeilandClaude Opus 4.6 d50807f7c3 fix: cmd+w closes active terminal pane, not entire tab (#335)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-06 13:33:48 -07:00
Jinjing 39b972fc64 1.0.92 v1.0.92 2026-04-06 12:55:44 -07:00
Jinjing 67f47ed036 1.0.92-rc.3 v1.0.92-rc.3 2026-04-06 12:48:45 -07:00
Jinjing 5545c28d18 fix: show error toast when quitAndInstall fails (#333)
Without this, a failed restart is a silent no-op. Now all three
call sites (settings pane, auto-restart, and "Restart Now" toast
action) surface the failure to the user and reset autoRestartAfterDownload
to avoid a stuck state.
2026-04-06 12:41:18 -07:00
Jinjing b366205bfa 1.0.92-rc.2 v1.0.92-rc.2 2026-04-06 12:27:28 -07:00
Jinjing c6a0791a1a 1.0.92-rc.1 2026-04-06 12:27:26 -07:00
Jinjing 51f26d1ca8 feat: extract headless autosave controller and bypass beforeunload during updater restart (#330)
Move editor autosave/save-queue logic out of EditorPanel into a
standalone controller that survives tab switches without keeping
the full editor UI mounted. Add updater lifecycle events so
beforeunload guards step aside during quitAndInstall, preventing
stale dirty-file prompts from blocking app restarts.
2026-04-06 11:59:08 -07:00
Jinjing 8c130591c3 fix: address review findings (#329) 2026-04-06 11:56:12 -07:00
Jinwoo HongandClaude Opus 4.6 3211c1e15d feat: restore active terminals on app restart (#328)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-06 11:32:20 -07:00
Jinwoo HongandClaude Opus 4.6 1e95418122 Fix Orca CLI runtime bootstrap recovery (#324)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-06 11:32:16 -07:00
Jinjing c6fc7ea4c8 1.0.92-rc.0 v1.0.92-rc.0 2026-04-06 09:21:52 -07:00
Jinjing 541dfebc70 feat: save dirty editor files before auto-update quitAndInstall (#327)
* feat: save dirty editor files before auto-update quitAndInstall

Dispatch a custom event from the preload quitAndInstall to flush unsaved
editor buffers before Electron's quitAndInstall bypasses the normal close
sequence. The EditorPanel claims the event, saves all dirty files via the
existing queueSave path, and resolves/rejects so the updater knows whether
it is safe to proceed.

* fix: address review findings

- Wrap save-before-update in try/catch so a save failure never silently
  prevents the update from installing
- Move detail.claim() inside try/catch to prevent promise hang on
  unexpected errors
- Add duplicate dirty tab detection to reject when the same file is
  dirty in multiple tabs (prevents silent write races)
2026-04-06 09:17:42 -07:00
Jinjing 73ef6281d6 1.0.91 v1.0.91 2026-04-06 00:21:43 -07:00
Jinjing f4ce41951e fix: address review findings (#323)
- Cap module-scoped caches (combinedDiffViewStateCache, combinedDiffScrollTopCache)
  at 20 entries with LRU eviction to prevent unbounded memory growth
- Promote generationRef to useState for use in React key prop so key changes
  are properly tracked by React's rendering cycle
2026-04-06 00:01:02 -07:00
Neil 4a319d9e05 1.0.90 v1.0.90 2026-04-05 23:50:33 -07:00
NeilandClaude Opus 4.6 93de627208 fix: show error toast when adding non-git folder (#321)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-05 23:36:30 -07:00
Neil deec6409df 1.0.89 v1.0.89 2026-04-05 23:35:53 -07:00
Jingyue Wu 77f6021aff fix: titlebar alignment in fullscreen and on windows (#277) 2026-04-05 23:34:12 -07:00
NeilandClaude Opus 4.6 7c7ec172e0 feat: check git and gh availability on landing page (#322)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-05 23:34:00 -07:00
Jinwoo HongandClaude Opus 4.6 4dec80386a feat: search by comment, PR number/title, and issue number/title (#320)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-05 22:48:46 -07:00
Jinjing 0651fa1a31 1.0.88 v1.0.88 2026-04-05 18:05:17 -07:00
Jinjing b82a8a62dc fix: improve delete worktree failure toast messages (#319)
- Show user-friendly guidance instead of raw git stderr when worktree
  deletion fails due to changed files, directing users to Force Delete.
- Extract toast message logic to reusable getDeleteWorktreeToastCopy
  function with comprehensive test coverage.
2026-04-05 17:59:09 -07:00
Ruan Gustavo a4ac7db972 fix: remove macOS traffic light padding on Windows (#317) 2026-04-05 17:49:29 -07:00
Jinjing b8b2654dda fix: resolve local images via IPC blob URLs in markdown editor (#318)
Local images referenced in markdown (both preview and rich editor) failed
to display in dev mode because file:// URLs are blocked by cross-origin
restrictions when the renderer is served from localhost.

- Load local images via IPC readFile → blob URL conversion
- Add useLocalImageSrc hook for react-markdown preview
- Add loadLocalImageSrc for ProseMirror nodeView in rich editor
- Snapshot cursor position before native file picker to fix insertion point
- Add blob URL cache with LRU eviction (max 100) and revokeObjectURL cleanup
- Add resolveImageAbsolutePath helper with tests
2026-04-05 17:42:09 -07:00
Jinjing b532df4650 feat: make inline diff display default and add setting (#316)
- chore: update screenshot

- fix: address review findings

- feat: make inline diff display default and add setting
2026-04-05 16:44:52 -07:00
Jinjing 171a2052df fix: address review findings (#315) 2026-04-05 16:17:07 -07:00
NeilandClaude Opus 4.6 3ec7fcb05e fix: new worktree not sorting to top with sort=recent (#314)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-05 14:47:41 -07:00
Jinjing df43248761 1.0.87 v1.0.87 2026-04-05 13:40:05 -07:00
Jinjing 6b18a1ce28 fix: centralize updater restart deferral in main process (#313)
* fix: defer updater quitAndInstall to allow React/UI state to settle

PR #299 introduced a regression where the one-click auto-update flow
would synchronously invoke `quitAndInstall` immediately upon receiving
the `downloaded` state transition. This triggered a synthetic `beforeunload`
event (to capture terminal buffers) and an IPC call to quit in the exact
same event loop tick that React and the Toast library were processing
state updates. This disrupted the renderer's synchronous shutdown and flush
logic, causing the app to fail to quit and install properly.

This adds a `setTimeout` to defer `quitAndInstall`, pushing it to the
bottom of the event queue. This allows the UI state to settle and ensures
the `beforeunload` flush sequence executes cleanly.
Test cases have also been updated to use fake timers.

* fix: centralize updater restart deferral in main process
2026-04-05 13:34:25 -07:00
Jinjing 6754fa22f9 1.0.86 v1.0.86 2026-04-05 11:55:08 -07:00
Jinjing 8e77aca170 fix: fetch PR checks by head sha (#312) 2026-04-05 11:54:53 -07:00
Jinjing b4e3dfa0b7 fix: add catch handlers for unhandled promise rejections in delete worktree (#311) 2026-04-05 11:49:00 -07:00
Jinjing f387dfa993 fix: remove freeze-on-select mechanism for sidebar sort stability (#310)
Replace the activeWorktreeSelectionNonce / frozen-sort-override approach
with the simpler sortEpoch-only strategy.  Selection side-effects
(clearing isUnread, PR cache refresh) no longer participate in sort
ordering, so clicking a card never reshuffles the sidebar.

- Remove activeWorktreeSelectionNonce from store
- Remove RecentSortOverride refs and secondary sort memo
- Swap prCache → repos in sortedIds deps (prCache changes are consumed
  inside the memo via direct store access when sortEpoch increments)
2026-04-05 11:47:44 -07:00
Jinjing a4481a7ebb fix: improve combined diff header interactions (#309) 2026-04-05 11:37:18 -07:00
Jinjing 3e51000bc5 fix: bypass gh CLI HTTP cache on manual PR checks refresh (#308)
The `gh api --cache 60s` flag caused stale check-run data even when
the user explicitly clicked refresh. Thread a `noCache` flag through
IPC so manual refreshes skip the gh CLI cache while polling still
benefits from it.
2026-04-05 11:26:32 -07:00
Jinjing 8a8826b2d6 Cache worktree roots for filesystem auth and UI improvements (#306)
* clean-up-repo-local-setup-script

- Add authorization cache for worktree roots to improve filesystem read performance
- Use ensureAuthorizedRootsCache instead of rebuilding on every list operation
- Fix useMemo side effect in WorktreeList by returning sorted IDs directly
- Add error display in QuickOpen and FileExplorer for unauthorized paths
- Improve section order in SourceControl (unstaged, staged, untracked)
- Add keyboard shortcut guard in WorktreeList for arrow keys
- Address review findings from code quality checks

* fix: update test mocks for filesystem-auth cache integration

- filesystem.test.ts: invalidate auth roots cache in beforeEach to
  prevent stale cache state from leaking between tests
- worktrees.test.ts / worktrees-windows.test.ts: add store.getRepos
  mock return value so rebuildAuthorizedRootsCache can iterate repos
- worktrees-windows.test.ts: add third listWorktrees mock for the
  cache rebuild call consumed during worktrees:create

* fix: resolve oxlint errors for max-lines and missing useEffect dependency

- Extract repeated worktree mock data into shared variable to reduce
  worktrees.test.ts below the 300-line limit
- Add missing 'toggleSidebar' to useEffect dependency array in App.tsx
2026-04-05 11:19:15 -07:00
Jinjing 399af41312 Ensure setup commands run only once per tab (#307)
- Capture startup reference synchronously at function entry
- Clear deps.startup to prevent re-execution by split panes
- Use captured local copy in onConnect callback
- Add documentation for intentional mutation side effect
2026-04-05 11:17:35 -07:00
Jinjing d8536b89ff fix: address review findings (#305) 2026-04-05 10:58:02 -07:00
Yax Patel 0cf0bbaab4 feat: add autosaving (#300) 2026-04-05 10:29:29 -07:00
Jinjing 357d2c31c5 Add keyboard shortcuts and fix review issues (#303)
- Add Cmd/Ctrl+B: toggle left sidebar
- Add Cmd/Ctrl+Shift+↑: move up worktree (with cycling)
- Add Cmd/Ctrl+Shift+↓: move down worktree (with cycling)
- Add Cmd/Ctrl+0: focus worktree list (with arrow keys for navigation)
- Fix buildWorktreeComparator call: pass prCache instead of activeWorktreeId
- Restore prCache subscription for sortBy === 'recent'
- Remove activeWorktreeId from useMemo deps to prevent list reordering
- Remove dead sortBy === 'smart' check
- Extract buildRows into worktree-list-groups to reduce file size
- Deduplicate worktree navigation logic
- Fix curly brace lint violations
2026-04-04 22:41:50 -07:00
Jinjing 6caa08fc79 fix: address review findings (#302)
- Rename worktreePath prop to worktreeRoot for clarity (it's a directory, not a file)
- Remove unused imports (cn, basename, dirname, Layers)
- Remove unused variables (fileName, dirPath)
2026-04-04 22:19:51 -07:00
Jinwoo Hong abe54ea84d Add current worktree shortcuts to Orca CLI (#301) 2026-04-04 18:33:58 -07:00
Jinjing e32d8c3e0c 1.0.85 v1.0.85 2026-04-04 15:17:27 -07:00
Jinjing 8e9b505073 restore single update toast and cover updater transitions (#299)
* fix: restore update toast flow and cover updater transitions

* fix: resolve oxlint errors in test file and FileExplorer

- Replace smart quote (U+2019) with ASCII apostrophe in update toast test
- Use .at(-1) instead of array[length - 1] per prefer-at rule
- Extract background context menu into FileExplorerBgMenu to fix max-lines

* fix: restore dismissed update version check in toast controller

The old UpdateReminder component checked dismissedUpdateVersion before
showing the update prompt. This logic was missing from the new
createUpdateToastController, causing the toast to reappear even after
the user dismissed it. Now the controller skips the available toast when
the version matches the dismissed one and persists the dismissal when
the user closes the toast without clicking Update.
2026-04-04 15:15:46 -07:00
Jinjing ea5a989edf Improve file content search result layout (#298)
* wip

* fix: use shared tooltip wrapper for search results
2026-04-04 15:01:25 -07:00
Jinjing c40cfb2cc2 fix: improve file path display truncation (#297)
* fix: tighten file path display rows

* fix: extract file explorer background menu
2026-04-04 14:37:28 -07:00
Jingyue Wu e6435f1d61 feat: drag and drop within file explorer (#293)
* feat: file explorer drag and drop

* fix: git status label margin

* feat: smooth autoscroll with larger zone when dragging
2026-04-04 13:52:03 -07:00
Jinjing db1bab5a05 fix: delete local branch when removing worktree (#296) 2026-04-04 13:35:36 -07:00