quik icon indicating copy to clipboard operation
quik copied to clipboard

✏️ [ FEAT REQ ] Notifications filter

Open adamhotep opened this issue 1 year ago • 3 comments

I would like to be able to filter notifications by content or sender. (This is a superset of #60.)

Specifically, I'd like to be able to key on things like these:

  • Unknown sender (#60)
  • Private number (#60)
  • Unknown sender AND toll-free number
  • Text includes "stop to quit" (case insensitive)
  • Text includes "stop to cancel" (case insensitive)
  • Toll-free number and text includes "STOP" (case sensitive)

(I'm okay manually defining toll-free numbers. A regex like ^18([0-9])\1[0-9]{7}$ would do it for the US. If it's not a regex, that'll end up being ten entries, so not the end of the world.)

adamhotep avatar Feb 13 '24 18:02 adamhotep

I would like to add my support for this. At the very least, a blanket option to allow a separate notification for contacts and non-contacts would be great. Allowing users to further segment groups like unknown, private, toll-free, etc would be handy.

Another related idea (just created: #160) is to be able to filter messages based on their contents. Perhaps there is some crossover for being able to set up separate notifications based on the message content? For example, if the message contains a OTP code, that gets a separate notification. If the message contains words that indicate that you want to ignore the message, that also gets a separate notification. Not sure if that's possible.

summersab avatar Sep 29 '24 19:09 summersab

This would most likely end up using the same system under the hood as #161 and #160

Sounds like we'd need 3 notification types, and being able to assign rules about which received message goes to which "notification type inbox".

octoshrimpy avatar Nov 02 '24 03:11 octoshrimpy

it's not exactly what you asked for, but pr https://github.com/octoshrimpy/quik/pull/234 allows you to silence (no audio distraction) new message notifications where sender and recipients are not in your contacts

gavine99 avatar Jan 29 '25 06:01 gavine99