Skip to content

Release Quick Search session after successful activation - #1825

Merged
cyanzhong merged 1 commit into
mainfrom
develop
Oct 16, 2026
Merged

cyanzhong merged 1 commit into
mainfrom
develop

Conversation

@cyanzhong

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The focused cleanup preserves activation behavior and includes regression coverage, with no blocking issues identified.

0 open findings

What changed in this PR

Releases the Quick Search session after successful activation, including when focus transfer has already hidden the palette.

Changes:

  • Explicitly cancels the session before notifying successful activation.
  • Adds a regression test verifying session release after focus loss.
File Description
MarkEditMac/​Modules/​Tests/​QuickSearchTests.swift Tests session release and successful activation after focus loss.
MarkEditMac/​Modules/​Sources/​QuickSearchUI/​QuickSearchController.swift Clears session state after successful activation.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@cyanzhong
cyanzhong merged commit 3b7cd48 into main Oct 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants