Author Topic: Refine the search by keyword and delete all?  (Read 33424 times)

Sahara_blu

  • Newbie
  • *
  • Posts: 5
Refine the search by keyword and delete all?
« on: May 15, 2016, 04:16:29 am »
Hi, in my Android standard mailclient I can refine my keywordsearch to "all" - "from" - "to" -“ in text“ etc.
How can I do so in Aqua-mail?
And how can I delete all mails in the result at once?
For example, I wanna delete all facebook-notificationmails. But only the mails "from" facebook, not the ones, where "facebook is mentioned in the mailtext of course.
And when these mails are listed to me, I want to delete them all at once.
Thanks :)

mikeone

  • Hero Member
  • *****
  • Posts: 2767
Re: Refine the search by keyword and delete all?
« Reply #1 on: May 15, 2016, 11:30:55 am »
I recommend the following procedure.

Beforehand in the settings:

1. Enable "Pull to select"
> Settings > Message list > scroll down and enable the item "Pull to select"

2. Enable "Keep selection after action" (not really necessarily, but recommended)
> in the same settings section,  three items below

3.1 Enable swipe feature
> Settings > Swiping > In message list (should be enabled by default)

3.2 Define a swipe action "Find by sender"
> in the same settings section (below: "right side" / "left side")


Now in the app:

4. In your accounts "Message list":
> find one of these "Notification messages" and sweet (right or left as defined in the settings) until the icon "Find by sender" (magnifying glass) appears - the background color of this icon will change to green

5. [UPDATED - as recommended by Paris Geek (thank you)] In the screen displaying search results, go to dotted menu -> Sort -> By sender

6. Swipe over the contact icons on the left from top to the bottom = "Pull to select (all)" or use the action "Select all" = tap on the 3-dot button (overflow icon) on the action bar to find this action

7. tap on the 3-dot button (overflow icon ) again > choose the option "Move to deleted" or "Delete permanently" (caution: this action will delete all selected messages immediately - on the server)

« Last Edit: May 15, 2016, 04:28:40 pm by mikeone »

mikeone

  • Hero Member
  • *****
  • Posts: 2767
Re: Refine the search by keyword and delete all?
« Reply #2 on: May 15, 2016, 05:02:12 pm »

@Kostya, would you please add "from same sender" search as a new swiping action and search in "from" as a third way of search, to complete the two current types in search field.

Kostya, please find attached an icon "From" (I know its for donwloading, but it could be suitable here) to add to "Headers" and "Text", in search action.
@Kostya:
I support Paris Geek's suggestions
... and attached another idea for a specific icon "Search from same sender"

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Refine the search by keyword and delete all?
« Reply #3 on: May 15, 2016, 07:02:37 pm »
I think "search from" is a good idea (just not with the "download" icon, that's confusing).
"Search from the same sender" - might be a good idea... I haven't thought about it yet...
I actually like how the stock (?) mail app in my Droid Razr M has the choice "All:", "From:" "To:" "Subject:". (And I suspect the colon in "All:" means it's only all headers, not the entire text, but I've never tested.)


mikeone

  • Hero Member
  • *****
  • Posts: 2767
Re: Refine the search by keyword and delete all?
« Reply #4 on: May 15, 2016, 07:11:30 pm »
I think "search from" is a good idea (just not with the "download" icon, that's confusing).
"Search from the same sender" - might be a good idea... I haven't thought about it yet...
I actually like how the stock (?) mail app in my Droid Razr M has the choice "All:", "From:" "To:" "Subject:". (And I suspect the colon in "All:" means it's only all headers, not the entire text, but I've never tested.)

"Search from the same sender" is suggested to implement only as a "swipe action"
« Last Edit: May 15, 2016, 07:15:27 pm by mikeone »

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Refine the search by keyword and delete all?
« Reply #5 on: May 15, 2016, 07:31:29 pm »
I think "search from" is a good idea (just not with the "download" icon, that's confusing).
"Search from the same sender" - might be a good idea... I haven't thought about it yet...
I actually like how the stock (?) mail app in my Droid Razr M has the choice "All:", "From:" "To:" "Subject:". (And I suspect the colon in "All:" means it's only all headers, not the entire text, but I've never tested.)

All means Text+headers. Samsung native mail app has the same (All, To, From, Subject).
4 icons could do the same in AquaMail. We already have ALL and Headers. Let's have a third one, "From" ;)

You dared me to check my guess.  ;)
It appears that my guess was correct. "All:" in my stock mail app means headers only, at least for the local search (not on the server).


"Search from the same sender" is suggested to implement only as a "swipe action"
Thank you, and yes, I had understood that.

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Refine the search by keyword and delete all?
« Reply #6 on: May 16, 2016, 12:52:41 am »
I don't like the idea with a separate swipe icon per search "type".

Poor usability (the user would have to change app settings just to do a search) and is a slippery slope in general (a new icon / command for "search by From" and then what, a new icon / command for "search by subject" and another one for "search by CC" etc.?)

Re: It appears that my guess was correct. "All:" in my stock mail app means headers only, at least for the local search (not on the server).

Checked this out on a Samsung S6.

If "all" means "all headers but now text", then how do you search by message text in Samsung's email app?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

mikeone

  • Hero Member
  • *****
  • Posts: 2767
Re: Refine the search by keyword and delete all?
« Reply #7 on: May 16, 2016, 01:32:11 pm »
I don't like the idea with a separate swipe icon per search "type".

Poor usability (the user would have to change app settings just to do a search) and is a slippery slope in general (a new icon / command for "search by From" and then what, a new icon / command for "search by subject" and another one for "search by CC" etc.?)
@Kostya:
In my opinion there is only one search type necessary (... as a "swipe action"):

"Search (messages) from the same sender"

> no 'text' search needed in this particular case (= swipe action in message list): only searching within the 'from' field.

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Refine the search by keyword and delete all?
« Reply #8 on: May 16, 2016, 03:51:39 pm »
I am just showing how my Droid Raze M stock e-mail  app shows search results with the options. The options are not visible initially, when starting the search. So,  it is actually a "refinement ".

mikeone

  • Hero Member
  • *****
  • Posts: 2767
Re: Refine the search by keyword and delete all?
« Reply #9 on: May 16, 2016, 11:13:32 pm »
@Kostya:
In my opinion there is only

It's rather "Find (messages) from the same sender".
The result will be messages that have been sent by the sender of the swiped message.

Thank you Kostya  ;)

String translations:

EN  "From same sender"
FR   "Du même expéditeur"
AR   "من نفس المُرسِل"
IT   "Da stesso mittente"
ES   "De mismo remitente"
PT   "Do mesmo remetente"
String translation:

DE  "Von diesem Absender"

Davey126

  • Sr. Member
  • ****
  • Posts: 258
Re: Refine the search by keyword and delete all?
« Reply #10 on: May 17, 2016, 04:15:16 pm »
Re: search by 'From:'

Thank you for keeping this discussion alive as it mirrors a similar request/discussion that took place in a recent development build thread. Justification (use case) was offered there so I won't repeat here. Hope this feature makes it into a future release but recognize the concerns related to UI complexity.
« Last Edit: May 17, 2016, 04:17:24 pm by Davey126 »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Refine the search by keyword and delete all?
« Reply #11 on: May 17, 2016, 11:20:54 pm »
I understand the use case and the idea just not sure about the UI. I also understand suggestions to add another different swipe action.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

mikeone

  • Hero Member
  • *****
  • Posts: 2767
Re: Refine the search by keyword and delete all?
« Reply #12 on: May 17, 2016, 11:29:54 pm »
I understand the use case and the idea just not sure about the UI.
Okay, thanks.
Quote
I also understand suggestions to add another different swipe action.
I'm not sure, whether "we" really need another swipe action. In my opinion it's just an adjustment of the current "search" action:
> "Match on sender address" only. No 'text' search needed in this particular case (= swipe action in message list)
« Last Edit: May 18, 2016, 10:28:37 am by mikeone »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Refine the search by keyword and delete all?
« Reply #13 on: May 17, 2016, 11:41:02 pm »
Re: Kostya, I can propose two different scenarios (with mock screens)

I can too, but there needs to be code behind those screens... :)

@Davey126

Can you clarify your needs in simple terms even I can understand:

- You're proposing "search by From address", correct?

- And for it to be available as a swipe action?

- And you'll be using it in the Sent folder? Where the From is actually your address? Seems to be a mismatch here, maybe it's just me?
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

Davey126

  • Sr. Member
  • ****
  • Posts: 258
Re: Refine the search by keyword and delete all?
« Reply #14 on: May 18, 2016, 06:57:55 am »
Re: Kostya, I can propose two different scenarios (with mock screens)

I can too, but there needs to be code behind those screens... :)

@Davey126

Can you clarify your needs in simple terms even I can understand:

- You're proposing "search by From address", correct?

- And for it to be available as a swipe action?

- And you'll be using it in the Sent folder? Where the From is actually your address? Seems to be a mismatch here, maybe it's just me?
Primary use case is to uniquely identify items that I have sent for the purpose of reapplying the hidden 'sent' label in Gmail which can be inadvertently removed by non-Google mail clients including Aqua. Search would be executed from the 'all mail' folder. A 'move to sent' would then follow. Initially this would appear to move selected items from 'all mail' to 'sent' (yikes!) but the actual effect is a copy operation following a resync with the Google cloud. The effect may not be the same with other mail services.

A secondary use case is to identify all mail from a particular sender (eg: my better half).