67P / hyperchannel

Kosmos Chat for the Web
Mozilla Public License 2.0
20 stars 3 forks source link

Add basic onboarding process #225

Closed raucao closed 3 years ago

raucao commented 3 years ago

This adds a basic onboarding UI, which replaces the current "process". It only allows to connect an existing XMPP account for now. It will check that the connection works (and show the error if it doesn't), then save the space, join a couple of default channels, and finally redirect to the chat UI.

Unfortunately, you currently have to reload (CTRL-R) the app after everything is set up and the channel UI is shown, as the channel joins after the connect seem to fail. It looks to me like this is connected to sockethub/sockethub#494 somehow.

The new code also contains some TODOs for the upcoming space-to-account refactor, which is not directly related to this PR.