orca/src
Jinjing ea68d97c28
Optimize worktree parent picker: conditional mount, virtualization, lazy status loading (#12225)
* Optimize worktree parent picker: conditional mount, virtualization, lazy

- Mount WorktreeParentPickerPopover only when open to avoid hundreds of
  unmounted instances subscribing to lineage and worktree store updates.
- Virtualize the candidate list and resolve activity statuses only for
  visible rows, eliminating redundant status subscriptions.
- Extract filtering, placement calculations, and row rendering into
  separate modules for testability and clarity.

* Memoize worktree parent picker search handler

Wrap search state update in useCallback to stabilize the handler
across re-renders. Reduces unnecessary effect runs and enables better
memoization of child components.

* Optimize worktree parent picker: defer unmount, memoize IDs

- Defer unmount until exit animation completes (200ms) to prevent premature teardown
- Memoize visibleWorktreeIds to prevent status hook from rebuilding its selector on every render
2026-08-03 15:57:05 -07:00
..
cli fix(runtime): coalesce concurrent host terminal focus (#11841) 2026-08-03 02:18:05 -07:00
main test(terminal): harden daemon upgrade adoption (#12353) 2026-08-03 15:03:37 -07:00
preload fix(runtime): bind mobile WS listener to loopback until pairing (STA-2370) (#11956) 2026-08-03 13:06:11 -07:00
relay fix(terminal): expand environment variables in Windows PATH (#11987) 2026-08-03 01:00:58 -07:00
renderer Optimize worktree parent picker: conditional mount, virtualization, lazy status loading (#12225) 2026-08-03 15:57:05 -07:00
shared fix(relay): tolerate cell clock skew in pairing invite expiry validation (#12340) 2026-08-03 13:15:30 -07:00
types