Skip to content

Switch to NSMetadataQuery for search, add file icons#227

Merged
unsecretised merged 3 commits intoRustCastLabs:masterfrom
tanishq-dubey:master
Mar 25, 2026
Merged

Switch to NSMetadataQuery for search, add file icons#227
unsecretised merged 3 commits intoRustCastLabs:masterfrom
tanishq-dubey:master

Conversation

@tanishq-dubey
Copy link
Contributor

This PR switches the file search implementation from calling mfind to natively using NSMetadata. This leverages the built in Spotlight search index, but without a call to an external application.

In addition, this PR updates the file search UI to include async loading of file icons:
image

Copy link
Collaborator

@unsecretised unsecretised left a comment

Choose a reason for hiding this comment

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

the module has been made public so u can use that instead of doing the wrapper fn

Copy link
Collaborator

@unsecretised unsecretised left a comment

Choose a reason for hiding this comment

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

LGTM

@unsecretised unsecretised merged commit 72d1ea0 into RustCastLabs:master Mar 25, 2026
2 checks passed
@jiasunzhu613
Copy link
Contributor

thanks for taking this over!

unsecretised added a commit that referenced this pull request Mar 25, 2026
This reverts commit 72d1ea0, reversing
changes made to a7f2f18.
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.

3 participants