Avoiding folks to link new personas



Hi guys,

I am working on ubuntu phone contact app, and we need a way to prevent
folks to auto link personas.
In the phone application the designers does not want that the contact
get merged automatically because the user can have added the same
e-mail by mistake or the personas are different but have the same
phone number.
And the auto merge can cause confusion for the user.

My idea is keep using folks, but turn off the autolink, this way I can
use folks to find the potential matches and link it if the user
explicitly request that.

The problem is that folks does not provide a way to do that today.

I have some ideas that I would like to share with you guys and if
possible I can implement it.

1) Create a property on persona store/backend/individual aggregator:
Create a bool property on the aggregator where you can set  if you
want the auto-link on or off.

2) Create a anti link rule:
After create the persona set a anti link rule that block the persona
to get linked with any other.
Eg: Persona.change_anti_links(['*'])

These are my ideas, I would like to know what do you think about that,
any other idea is welcome.

I really need this functionality, because workaround it doing anti
links after the persona get linked causes a lot of problem and complex
code.

Thanks
Renato


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]