ocsms icon indicating copy to clipboard operation
ocsms copied to clipboard

Add to contacts

Open stefan-niedermann opened this issue 7 years ago • 6 comments

Given you are viewing a conversation in ocsms When the contact does not exists in the contacts app Then there should be an action to quickly add this contact to the contacts app

add

Open questions

  • What exactly happens when a user triggers this action?
    • User is redirected to contacts app?
      • Pros: User can directly start editing the new contact
      • Cons: User is thrown out of the "ocsms flow"
    • Contact is silently created in the background?
      • Pros: User is can read on messages in ocsms
      • Cons: The created contact has no name - it is only a phone number without any accosiation

Your thoughts @nerzhul ?

stefan-niedermann avatar Jan 03 '17 07:01 stefan-niedermann

Hmmm it's not very simple, i think redirecting to contact app could be good, but i don't know if contact app is made to show the form with some form fields written.

nerzhul avatar Jan 03 '17 07:01 nerzhul

Maybe @skjnldsv can give us some input about how an integration could look like?

stefan-niedermann avatar Jan 03 '17 07:01 stefan-niedermann

Right now you can't since we don't allow some url mechanism to create contacts. You could create a link to the contact if it exist though. But it could be a great idea!

skjnldsv avatar Jan 03 '17 08:01 skjnldsv

You could create a link to the contact if it exist though.

That's the problem because it does not exist in this case :) We'd like to create one. A URL-mechanism seems to be a good idea. Maybe one can create an issue in the contacts app repo and link it?

stefan-niedermann avatar Jan 03 '17 08:01 stefan-niedermann

it could be interesting to have an API call to ContactManager service which provides the URL

nerzhul avatar Jan 03 '17 09:01 nerzhul

My problem, and I think this is similar enough, is that I have all of the contacts added to my contacts but the SMS app doesn't pick up on the contacts and associate them with the conversation.

I think presenting a selector to select contacts (pulled from the contacts app) would be a good idea, leave creating contacts to the contacts app. Having a Create New Contact item that asks for just a name would be alright good enough in my opinion. Creating more detailed contacts should be done in the contacts app.

Diablofan avatar Jan 18 '17 23:01 Diablofan