Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We can now search in a folder. Let's add "include subfolders", "all folders" and special folders (sent, draft, archive, etc.) #676

Closed
marclaporte opened this issue Feb 22, 2023 · 5 comments
Assignees
Milestone

Comments

@marclaporte
Copy link
Member

The current search in Cypht is quite impressive in that you can search throughout various mail accounts, which is not possible in Roundcube as per: roundcube/roundcubemail#4972

https://github.com/jasonmunro/cypht/tree/master/modules/advanced_search is very powerful, but there is a an issue that you need to indicate each folder you want to search in.

In contrast, here is what Roundcube offers:
2023-02-22_103531

So let's add what Roundcube does. And given Cypht's multi-account feature, we can also add:

  • Search in all sent folders
  • Search in all draft folders
  • Search in all archive folders (here subfolders would be useful)
  • etc.

It will be really efficient when combined with #306

@marclaporte
Copy link
Member Author

Also, there should be a filter for subscribed vs not subscribed, as non-subscribed folders are often more archival and thus, not so interesting to search through (of course, sometimes they are so we still want to be able to)
#622

@marclaporte
Copy link
Member Author

"Is it too much to ask, for example, for a webmail client with global search? The only one that I found so far is Roundcube, which can do a global search (all parts, all folders) with "just" 4 additional clicks. Why is that? I had a server running Horde Groupware in 2013 that could do that."
https://www.reddit.com/r/selfhosted/comments/16d3ae0/the_sad_state_of_selfhosted_webmail/

I agree. We will work on this.

@marclaporte
Copy link
Member Author

marclaporte commented Sep 9, 2023

@TheDigitalOrchard
Copy link
Contributor

I like how Apple Mail handles searches, by presenting a "scope selection" as the search term is being entered.

apple-mail-search

Selecting a scope is optional, but very intuitive. The tag-based interface is easy to tweak at any time.

apple-mail-search-scope

And to select the account-level scope, you just swap which "Inbox" is selected in the left column. You can search across all accounts, or a specific one. It's very quick and simple.

@marclaporte marclaporte assigned mercihabam and unassigned mmarcwabo and Shadow243 Sep 28, 2024
@mercihabam
Copy link
Member

A search in all folders has been implemented: #1337.
Note that it will be quite slow for large mailboxes due to IMAP limitations, as it cannot handle a search operation across multiple folders in a single go. For now, we have to go through each folder manually and gather results from each one.

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

No branches or pull requests

5 participants