converse.js icon indicating copy to clipboard operation
converse.js copied to clipboard

Add autocomplete of possible XMPP servers when registering a new account

Open melvo opened this issue 3 years ago • 13 comments

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.

Screenshot 2022-05-24 at 17 52 26

melvo avatar Nov 30 '21 12:11 melvo

Transparency: melvo and me are the authors of this project.

Echolon avatar Dec 18 '21 16:12 Echolon

I've split the part about adding contacts into a new ticket #2929 and assigned it to @PawBud

jcbrand avatar May 24 '22 15:05 jcbrand

Could you explain the issue more in-depth

radna0 avatar Jun 21 '22 07:06 radna0

@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.

jcbrand avatar Jun 21 '22 08:06 jcbrand

@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?

melvo avatar Sep 21 '22 14:09 melvo

@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 avatar Sep 21 '22 14:09 PawBud

@PawBud Thanks for your quick reply! Alright. Let me know when you need any info :)

melvo avatar Sep 21 '22 15:09 melvo

Can I work on This Issue

JatinSainiOO7 avatar Oct 03 '23 13:10 JatinSainiOO7

@JatinSainiOO7: Yes you're welcome to work on this issue.

jcbrand avatar Oct 04 '23 07:10 jcbrand

Thank you 👍

JatinSainiOO7 avatar Oct 04 '23 08:10 JatinSainiOO7

@jcbrand : Hello! how much time i have for work on this issue. Thankyou...

JatinSainiOO7 avatar Oct 04 '23 11:10 JatinSainiOO7

how much time i have for work on this issue.

That depends on you. There is no explicit cutoff date.

jcbrand avatar Oct 04 '23 13:10 jcbrand