Open rcubetrac opened 15 years ago
Milestone changed by @alecpl on 7 Sep 2009 16:31 UTC
=> later
Comment by @alecpl on 15 Sep 2009 09:14 UTC
Verified. We need also multicolumn index on user_id, email, del columns.
Milestone changed by @alecpl on 15 Sep 2009 09:14 UTC
later => 0.3.1
Comment by @thomascube on 25 Sep 2009 15:54 UTC
Well, of a user clicks the icon and address is already saved in the address book, an according messages appears. Due to performance reasons we should stick with that. Checking all addresses might slow down the message display.
Severity changed by @thomascube on 25 Sep 2009 15:54 UTC
normal => minor
Comment by @alecpl on 25 Sep 2009 16:01 UTC
This feature could be also extended to display link to addressbook info for known senders, but I agree with Thomas, for performance reasons we should make this optional.
Milestone changed by @alecpl on 25 Sep 2009 16:01 UTC
0.3.1 => later
Comment by @alecpl on 25 Sep 2009 16:02 UTC
...and this should be extended to check all addresses with one SQL query.
Comment by djib on 25 Sep 2009 16:09 UTC
I really like this feature because it allows me to quickly check if a friend is already in my address book. Does it really have that big an impact on performance?
Comment by @alecpl on 25 Sep 2009 16:18 UTC
It could have. If you have big addressbook, slow database or many addresses to check. Another solution is to sent checking ajax request after displaying a message.
Reported by djib on 7 Sep 2009 13:15 UTC as Trac ticket #1486097
I suggest removing the "Add contact" link/icon when a user is already in the address book.
I enclose a patch for revision 2929.
Migrated-From: http://trac.roundcube.net/ticket/1486097