This project is read-only.

Remove details about matched text


When you type in, for example, "Message is attached", the prompt shows:
Did you forget to add an attachment?
2 nos of match in body.
--> attached, attach, 
0 nos of match is subject.
This is fairly ugly, and is more detailed that most users will need. I'm sure it's great as a developer to see the details about what the plugin is doing, but that should be only enabled by a debug setting.
"2 nos of match" doesn't parse to me as correct English - I read "nos" as the plural of "No" (as in, opposite of "yes"). Additionally, it's misleading: I only typed "attached", so that is only one match, but it says there are two. (I of course understand why it happens, "attach" is a substring, but from a UX point of view it doesn't make sense).
I would suggest the body is instead:
It looks like you meant to attach a file, but there are no attachments. Would you like to send anyways?
(This would work well in conjunction with


gouravdas wrote Oct 20, 2011 at 3:48 PM

Thanks for your feedback. There are couple of key points I would like to point first..
  1. In pattern match mode, it tries to find word/words that matches the pattern. Hence if your word list contains words like attach, attached, attachment and if you type attached, you may get prompt saying 3 matches.
  2. Your suggestion of not showing this extra details or showing this extra detail in debug mode is outweighed by past suggestions of showing this.
So what I am going to do is
  1. Modify the wordings to make more sense
  2. Add option to hide the extra detail if users wants to rather than the other way round (show extra detail if user wants to).

wrote Feb 14, 2013 at 2:02 AM