ocsms
ocsms copied to clipboard
Add to contacts
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
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
- User is redirected to contacts app?
Your thoughts @nerzhul ?
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.
Maybe @skjnldsv can give us some input about how an integration could look like?
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!
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?
it could be interesting to have an API call to ContactManager service which provides the URL
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.