converse.js
converse.js copied to clipboard
Add autocomplete of possible XMPP servers when registering a new account
Users want to have an easy onboarding (login / registration). An easy registration is feasible by suggesting XMPP providers for account registration. Once the onboarding is accomplished, users want to add new contacts easily. Suggestions for the XMPP provider's domain while typing the chat address can speed up that process.
The new project XMPP Providers tackles both tasks. It provides a curated list of providers. In contrast to similar projects, XMPP Providers categorizes providers so that client developers do not have to filter the list on their own. Additionally, it helps providers to improve their properties and integrate badges on their websites. That empowers the whole system of XMPP providers, users and client developers. The list also allows client developers to automatically address support to operators if that is an operator's issue!
There are already projects using XMPP Providers. UWPX shows how an implementation could look like. It would be great to see Converse joining them!
The task for this ticket is to update the input on the registration form to use converse-autocomplete to show a list of possible XMPP providers in categories A or B.
Transparency: melvo and me are the authors of this project.
I've split the part about adding contacts into a new ticket #2929 and assigned it to @PawBud
Could you explain the issue more in-depth
@radna0:
The input of the registration form, needs to be turned into a converse-autocomplete component.
https://github.com/conversejs/converse.js/blob/c14c2b3b59aae8e9972a753ad2729dd1d9e0079c/src/plugins/register/templates/registration_form.js#L30
Here's an example of how the converse-autocomplete component is used inside a template:
https://github.com/conversejs/converse.js/blob/c14c2b3b59aae8e9972a753ad2729dd1d9e0079c/src/plugins/muc-views/templates/add-muc.js#L38
And here is where that component is defined: https://github.com/conversejs/converse.js/blob/master/src/shared/autocomplete/component.js
Replacing the input with converse-autocomplete would be the start, the next step would then be to let the auto-complete list be populated with providers from XMPP Providers.
@PawBud @jcbrand Great to see that you already work on integrating XMPP Providers :) I saw that there is an open pull request for two months now. Thus, I thought to ask you if there are any questions regarding the integration or the project itself?
@PawBud @jcbrand Great to see that you already work on integrating XMPP Providers :) I saw that there is an open pull request for two months now. Thus, I thought to ask you if there are any questions regarding the integration or the project itself?
Hey @melvo, I am busy with my academics at the moment, so can't really give a final date on when I can solve this issue, but then if you wanna do it, then feel free to implement it :)
@PawBud Thanks for your quick reply! Alright. Let me know when you need any info :)
Can I work on This Issue
@JatinSainiOO7: Yes you're welcome to work on this issue.
Thank you 👍
@jcbrand : Hello! how much time i have for work on this issue. Thankyou...
how much time i have for work on this issue.
That depends on you. There is no explicit cutoff date.