Skip to content

fix: cancel sparse preset focus frame - #3443

Merged
nwparker merged 1 commit into
mainfrom
nwparker/cancel-sparse-preset-focus-frame
May 30, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/cancel-sparse-preset-focus-frame

Conversation

@nwparker

Copy link
Copy Markdown
Contributor

Summary

  • Track the sparse checkout preset draft name-input focus frame.
  • Cancel stale focus frames when a newer draft starts or the preset selector unmounts.

Merge risk assessment

Risk level: LOW

Rationale: the change keeps the same draft creation behavior, focus target, select call, and one-frame delay. It only prevents superseded or unmounted sparse-preset focus callbacks from firing later.

Validation

  • pnpm exec oxlint src/renderer/src/components/sparse/SparseCheckoutPresetSelect.tsx
  • git diff --check HEAD~1..HEAD
  • pnpm typecheck (fails in this checkout on existing missing local packages: @tiptap/extension-details and react-colorful)

@nwparker
nwparker merged commit 838d6f1 into main May 30, 2026
2 checks passed
@nwparker
nwparker deleted the nwparker/cancel-sparse-preset-focus-frame branch May 30, 2026 03:52
@nwparker nwparker added the risk:low Low risk change label May 30, 2026
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk:low Low risk change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant