Skip to content

Fix search state persisting across tabs#44

Merged
AusafMo merged 1 commit into
mainfrom
codex/fix-search-clears-on-tab-switch
Jun 28, 2026
Merged

Fix search state persisting across tabs#44
AusafMo merged 1 commit into
mainfrom
codex/fix-search-clears-on-tab-switch

Conversation

@AusafMo

@AusafMo AusafMo commented Jun 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Clear transient search state when switching app tabs
  • Cancel stale text/image search requests so late responses cannot repopulate results
  • Guard SwiftUI previews for CLI typechecking outside Xcode

Testing

  • Manually tested patched app bundle: search on Searchy, switch to Volumes/Gallery, confirmed search clears
  • swiftc -typecheck searchy/*.swift -target arm64-apple-macos14.0 -sdk "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk"
  • .venv/bin/ruff check searchy/backend/.py searchy/backend/routes/.py
  • make test

Note: local pre-push xcodebuild cannot run because this machine is using Command Line Tools, not full Xcode.

@AusafMo AusafMo left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

lgtm

@AusafMo AusafMo merged commit abd8a93 into main Jun 28, 2026
1 check 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.

1 participant