cryptee / web-client

Cryptee's web client source code for all platforms.
https://crypt.ee
Other
445 stars 22 forks source link

[Feature Request] Preview / Edit search results #205

Closed pabloscloud closed 1 month ago

pabloscloud commented 3 months ago

Is your feature request related to a problem? Please describe. Can't see the search results but only the docs in which the search found the results.

Describe the solution you'd like I'd like to see the search results where I could directly edit the docs.

Additional context I've created a mockup:

Screenshot 2024-03-23 at 07 56 28
johnozbay commented 1 month ago

Hey there @pabloscloud πŸ‘‹πŸ» Thanks for filing this.

I'm afraid this is mathematically not possible due to how our zero-access encryption works, pretty much for the same reason as #86. (and I wrote a little bit about this in #204 as well) Since all your documents are encrypted on your device, this feature would require downloading and decrypting all documents that match the search criteria in realtime, which is sadly not feasible with all library sizes. i.e. it may work for an account with 50 docs relatively quickly, but it won't work for an account with even 1gb of docs.

We might be able to add a small preview image to search results i.e. on hover etc though if that helps?

For now, I'll close this thread, but if you think a preview image helps, we can consider working on something like this.

Best,

J

johnozbay commented 1 month ago

And potentially related to #60 β€”Β Figured I would link to make it easier to find stuff in the future ✌🏻

pabloscloud commented 1 month ago

We might be able to add a small preview image to search results i.e. on hover etc though if that helps?

This was not the answer I was hoping for but would stilI be ingredibly handy to find stuff quicker imho. You're doing great!

johnozbay commented 1 month ago

Sorry 😞

There are so many things I would love for us to build if only we didn't have to worry about client-side encryption.

β€”Β But β€”Β 

At least I can say that the small thumbnail idea has been on the table for a while now for multiple reasons. We're looking into making something like this happen. It will also be super sweet for things like PDFs etc.

Will update this thread once we have more to share πŸ‘πŸ»

Thanks for your kind words and continued support and encouragement btw πŸ™πŸ» World needs more people like you!