Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discussion: Gateway Create Contact #1601

Closed
singpolyma opened this issue Dec 7, 2015 · 5 comments
Closed

Discussion: Gateway Create Contact #1601

singpolyma opened this issue Dec 7, 2015 · 5 comments

Comments

@singpolyma
Copy link

Related to #913 I'd like to implement UI for adding a contact through a gateway that is already on the user's roster. I just want to run my initial UI idea by you all before I start implementing anything. My proposal is that when a gateway is present in the roster of the account selected (using "Your account" dropdown in the "create contact" dialog) that the dialog change to this (if, say, it were an sms-type gateway):

g4

and then selecting the "SMS" tab reveals:

raster-404111

@iNPUTmice
Copy link
Owner

iNPUTmice commented Dec 8, 2015 via email

@singpolyma
Copy link
Author

I would use jabber:iq:gateway protocol to generate the JID, which will often do sanitization, etc, that the local UI could not do for itself.

(for example, with the sms gateway, removing non-digits and prefixing a 1 if needed)

@msva
Copy link

msva commented Dec 27, 2015

and what if there are tons of transports in user's roster? Create buttons for all of them? :)

@singpolyma
Copy link
Author

@msva is having such a large number common? What do you think should happen? :)

@iNPUTmice
Copy link
Owner

See my comment in the related PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants