spacedrive icon indicating copy to clipboard operation
spacedrive copied to clipboard

Filter search implementation

Open LuanderFarias opened this issue 1 year ago • 3 comments

I modified search.rs to let the future implementation of filters on "find a file"

LuanderFarias avatar Jun 26 '23 19:06 LuanderFarias

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spacedrive-landing 🔄 Building (Inspect) Jun 26, 2023 10:12pm
spacedrive-web 🔄 Building (Inspect) Jun 26, 2023 10:12pm

vercel[bot] avatar Jun 26 '23 19:06 vercel[bot]

@LuanderFarias is attempting to deploy a commit to the Spacedrive Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Jun 26 '23 19:06 vercel[bot]

Clippy not happy

utkubakir avatar Jun 27 '23 05:06 utkubakir

Upon a slightly closer look this isn't how we would implement this, you're directly reading a directory on the filesystem, not querying our library database. The range params are correct, but you'd have to upgrade the query in the search.paths and search.objects procedure to include those params. You wouldn't need to create a new struct for a File as we already have data structures for that too.

jamiepine avatar Jun 27 '23 19:06 jamiepine

oh, ok. as i commented in the code i didn't find the path for the database and the nodes lol

LuanderFarias avatar Jun 28 '23 04:06 LuanderFarias